diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 1d3fa1e70..45da6f909 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -21894,6 +21894,118 @@ } } }, + "/orgs/{org}/code-scanning/ai-scan": { + "get": { + "summary": "Get the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the AI Scan setting stored on an organization.\n\nThe response reports the value stored on the organization. Organization respects enterprise policy.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + }, + "patch": { + "summary": "Update the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates the AI Scan setting stored on an organization.\n\nThe organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-org-enablement-update" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-org-enablement-update" + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -51249,6 +51361,133 @@ } } }, + "/repos/{owner}/{repo}/code-scanning/ai-scan": { + "get": { + "summary": "Get AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + }, + "patch": { + "summary": "Update AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement-update" + }, + "examples": { + "enabled": { + "summary": "Enable AI Scan", + "value": { + "pr_scan": "enabled" + } + }, + "disabled": { + "summary": "Disable AI Scan", + "value": { + "pr_scan": "disabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_write" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + } + }, "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for a repository", @@ -130800,6 +131039,47 @@ "contact_link" ] }, + "code-scanning-ai-scan-org-settings": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "code-scanning-ai-scan-org-enablement-update": { + "title": "Code scanning AI Scan organization settings update", + "description": "The AI Scan organization setting to apply", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scna. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, "code-scanning-analysis-tool-name": { "type": "string", "description": "The name of the tool used to generate the code scanning analysis." @@ -146469,6 +146749,39 @@ } } }, + "code-scanning-ai-scan-enablement": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "code-scanning-ai-scan-enablement-update": { + "description": "AI Scan enablement update for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether to enable or disable AI Scan for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, "code-scanning-alert-items": { "type": "object", "properties": { @@ -322909,6 +323222,16 @@ } } }, + "code-scanning-ai-scan-org-settings": { + "value": { + "pr_scan": "enabled" + } + }, + "code-scanning-ai-scan-org-enablement-update": { + "value": { + "pr_scan": "enabled" + } + }, "code-scanning-organization-alert-items": { "value": [ { @@ -332863,6 +333186,11 @@ "run_url": "https://api.github.com/repos/octocat/hello-world/actions/runs/42" } }, + "code-scanning-ai-scan-enablement": { + "value": { + "pr_scan": "enabled" + } + }, "code-scanning-alert-items": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index af261df2c..02945309b 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -16241,6 +16241,96 @@ paths: enabledForGitHubApps: true category: campaigns subcategory: campaigns + "/orgs/{org}/code-scanning/ai-scan": + get: + summary: Get the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the AI Scan setting stored on an organization. + + The response reports the value stored on the organization. Organization respects enterprise policy. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan + patch: + summary: Update the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates the AI Scan setting stored on an organization. + + The organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-org-enablement-update" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-org-enablement-update" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -37713,6 +37803,98 @@ paths: enabledForGitHubApps: true category: code-quality subcategory: code-quality + "/repos/{owner}/{repo}/code-scanning/ai-scan": + get: + summary: Get AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + '403': + "$ref": "#/components/responses/code_scanning_forbidden_read" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning + patch: + summary: Update AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement-update" + examples: + enabled: + summary: Enable AI Scan + value: + pr_scan: enabled + disabled: + summary: Disable AI Scan + value: + pr_scan: disabled + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + '403': + "$ref": "#/components/responses/code_scanning_forbidden_write" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning "/repos/{owner}/{repo}/code-scanning/alerts": get: summary: List code scanning alerts for a repository @@ -95337,6 +95519,42 @@ components: - ends_at - state - contact_link + code-scanning-ai-scan-org-settings: + title: Code scanning AI Scan organization settings + description: The AI Scan organization setting + type: object + properties: + pr_scan: + description: 'Whether AI Scan on pull requests is enabled for the organization. + The organization setting respects enterprise policy, and repositories + inherit it: when disabled, repositories cannot enable AI Scan; when enabled, + repositories can still opt out.' + type: string + enum: + - enabled + - disabled + examples: + - enabled + required: + - pr_scan + code-scanning-ai-scan-org-enablement-update: + title: Code scanning AI Scan organization settings update + description: The AI Scan organization setting to apply + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the organization. Organization + respects enterprise policy. Disabled organizations prevent repositories + from enabling AI Scna. Enabled organizations enable AI Scan for their + repositories, but individual repositories can opt out. + type: string + enum: + - enabled + - disabled + examples: + - enabled + minProperties: 1 + additionalProperties: false code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. @@ -106895,6 +107113,30 @@ components: run_url: description: URL of the corresponding run. type: string + code-scanning-ai-scan-enablement: + description: AI Scan enablement for a repository. + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the repository. + type: string + enum: + - enabled + - disabled + required: + - pr_scan + code-scanning-ai-scan-enablement-update: + description: AI Scan enablement update for a repository. + type: object + properties: + pr_scan: + description: Whether to enable or disable AI Scan for the repository. + type: string + enum: + - enabled + - disabled + minProperties: 1 + additionalProperties: false code-scanning-alert-items: type: object properties: @@ -238416,6 +238658,12 @@ components: open_count: 10 closed_count: 3 in_progress_count: 3 + code-scanning-ai-scan-org-settings: + value: + pr_scan: enabled + code-scanning-ai-scan-org-enablement-update: + value: + pr_scan: enabled code-scanning-organization-alert-items: value: - number: 4 @@ -246927,6 +247175,9 @@ components: value: run_id: 42 run_url: https://api.github.com/repos/octocat/hello-world/actions/runs/42 + code-scanning-ai-scan-enablement: + value: + pr_scan: enabled code-scanning-alert-items: value: - number: 4 diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index d275e3b12..83f2a0a6d 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -21852,6 +21852,118 @@ } } }, + "/orgs/{org}/code-scanning/ai-scan": { + "get": { + "summary": "Get the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the AI Scan setting stored on an organization.\n\nThe response reports the value stored on the organization. Organization respects enterprise policy.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + }, + "patch": { + "summary": "Update the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates the AI Scan setting stored on an organization.\n\nThe organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-org-enablement-update" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-org-enablement-update" + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -51174,6 +51286,133 @@ } } }, + "/repos/{owner}/{repo}/code-scanning/ai-scan": { + "get": { + "summary": "Get AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + }, + "patch": { + "summary": "Update AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement-update" + }, + "examples": { + "enabled": { + "summary": "Enable AI Scan", + "value": { + "pr_scan": "enabled" + } + }, + "disabled": { + "summary": "Disable AI Scan", + "value": { + "pr_scan": "disabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_write" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + } + }, "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for a repository", @@ -130236,6 +130475,47 @@ "contact_link" ] }, + "code-scanning-ai-scan-org-settings": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "code-scanning-ai-scan-org-enablement-update": { + "title": "Code scanning AI Scan organization settings update", + "description": "The AI Scan organization setting to apply", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scna. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, "code-scanning-analysis-tool-name": { "type": "string", "description": "The name of the tool used to generate the code scanning analysis." @@ -145829,6 +146109,39 @@ } } }, + "code-scanning-ai-scan-enablement": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "code-scanning-ai-scan-enablement-update": { + "description": "AI Scan enablement update for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether to enable or disable AI Scan for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, "code-scanning-alert-items": { "type": "object", "properties": { @@ -322051,6 +322364,16 @@ } } }, + "code-scanning-ai-scan-org-settings": { + "value": { + "pr_scan": "enabled" + } + }, + "code-scanning-ai-scan-org-enablement-update": { + "value": { + "pr_scan": "enabled" + } + }, "code-scanning-organization-alert-items": { "value": [ { @@ -331996,6 +332319,11 @@ "run_url": "https://api.github.com/repos/octocat/hello-world/actions/runs/42" } }, + "code-scanning-ai-scan-enablement": { + "value": { + "pr_scan": "enabled" + } + }, "code-scanning-alert-items": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index e21de7caa..7dd9d2c28 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -16207,6 +16207,96 @@ paths: enabledForGitHubApps: true category: campaigns subcategory: campaigns + "/orgs/{org}/code-scanning/ai-scan": + get: + summary: Get the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the AI Scan setting stored on an organization. + + The response reports the value stored on the organization. Organization respects enterprise policy. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan + patch: + summary: Update the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates the AI Scan setting stored on an organization. + + The organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-org-enablement-update" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-org-enablement-update" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -37652,6 +37742,98 @@ paths: enabledForGitHubApps: true category: code-quality subcategory: code-quality + "/repos/{owner}/{repo}/code-scanning/ai-scan": + get: + summary: Get AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + '403': + "$ref": "#/components/responses/code_scanning_forbidden_read" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning + patch: + summary: Update AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement-update" + examples: + enabled: + summary: Enable AI Scan + value: + pr_scan: enabled + disabled: + summary: Disable AI Scan + value: + pr_scan: disabled + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + '403': + "$ref": "#/components/responses/code_scanning_forbidden_write" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning "/repos/{owner}/{repo}/code-scanning/alerts": get: summary: List code scanning alerts for a repository @@ -94918,6 +95100,42 @@ components: - ends_at - state - contact_link + code-scanning-ai-scan-org-settings: + title: Code scanning AI Scan organization settings + description: The AI Scan organization setting + type: object + properties: + pr_scan: + description: 'Whether AI Scan on pull requests is enabled for the organization. + The organization setting respects enterprise policy, and repositories + inherit it: when disabled, repositories cannot enable AI Scan; when enabled, + repositories can still opt out.' + type: string + enum: + - enabled + - disabled + examples: + - enabled + required: + - pr_scan + code-scanning-ai-scan-org-enablement-update: + title: Code scanning AI Scan organization settings update + description: The AI Scan organization setting to apply + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the organization. Organization + respects enterprise policy. Disabled organizations prevent repositories + from enabling AI Scna. Enabled organizations enable AI Scan for their + repositories, but individual repositories can opt out. + type: string + enum: + - enabled + - disabled + examples: + - enabled + minProperties: 1 + additionalProperties: false code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. @@ -106424,6 +106642,30 @@ components: run_url: description: URL of the corresponding run. type: string + code-scanning-ai-scan-enablement: + description: AI Scan enablement for a repository. + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the repository. + type: string + enum: + - enabled + - disabled + required: + - pr_scan + code-scanning-ai-scan-enablement-update: + description: AI Scan enablement update for a repository. + type: object + properties: + pr_scan: + description: Whether to enable or disable AI Scan for the repository. + type: string + enum: + - enabled + - disabled + minProperties: 1 + additionalProperties: false code-scanning-alert-items: type: object properties: @@ -237704,6 +237946,12 @@ components: open_count: 10 closed_count: 3 in_progress_count: 3 + code-scanning-ai-scan-org-settings: + value: + pr_scan: enabled + code-scanning-ai-scan-org-enablement-update: + value: + pr_scan: enabled code-scanning-organization-alert-items: value: - number: 4 @@ -246207,6 +246455,9 @@ components: value: run_id: 42 run_url: https://api.github.com/repos/octocat/hello-world/actions/runs/42 + code-scanning-ai-scan-enablement: + value: + pr_scan: enabled code-scanning-alert-items: value: - number: 4 diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 59b375f20..3d07e164e 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -21996,6 +21996,118 @@ } } }, + "/orgs/{org}/code-scanning/ai-scan": { + "get": { + "summary": "Get the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the AI Scan setting stored on an organization.\n\nThe response reports the value stored on the organization. Organization respects enterprise policy.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + }, + "patch": { + "summary": "Update the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates the AI Scan setting stored on an organization.\n\nThe organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-org-enablement-update" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-org-enablement-update" + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -51509,6 +51621,133 @@ } } }, + "/repos/{owner}/{repo}/code-scanning/ai-scan": { + "get": { + "summary": "Get AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_read" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + }, + "patch": { + "summary": "Update AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement-update" + }, + "examples": { + "enabled": { + "summary": "Enable AI Scan", + "value": { + "pr_scan": "enabled" + } + }, + "disabled": { + "summary": "Disable AI Scan", + "value": { + "pr_scan": "disabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + }, + "examples": { + "default": { + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/code_scanning_forbidden_write" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + } + }, "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for a repository", @@ -131552,6 +131791,47 @@ "contact_link" ] }, + "code-scanning-ai-scan-org-settings": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "code-scanning-ai-scan-org-enablement-update": { + "title": "Code scanning AI Scan organization settings update", + "description": "The AI Scan organization setting to apply", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scna. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, "code-scanning-analysis-tool-name": { "type": "string", "description": "The name of the tool used to generate the code scanning analysis." @@ -147480,6 +147760,39 @@ } } }, + "code-scanning-ai-scan-enablement": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "code-scanning-ai-scan-enablement-update": { + "description": "AI Scan enablement update for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether to enable or disable AI Scan for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, "code-scanning-alert-items": { "type": "object", "properties": { @@ -324875,6 +325188,16 @@ } } }, + "code-scanning-ai-scan-org-settings": { + "value": { + "pr_scan": "enabled" + } + }, + "code-scanning-ai-scan-org-enablement-update": { + "value": { + "pr_scan": "enabled" + } + }, "code-scanning-organization-alert-items": { "value": [ { @@ -334877,6 +335200,11 @@ "run_url": "https://api.github.com/repos/octocat/hello-world/actions/runs/42" } }, + "code-scanning-ai-scan-enablement": { + "value": { + "pr_scan": "enabled" + } + }, "code-scanning-alert-items": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 975341796..89bfc7405 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -16295,6 +16295,96 @@ paths: enabledForGitHubApps: true category: campaigns subcategory: campaigns + "/orgs/{org}/code-scanning/ai-scan": + get: + summary: Get the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the AI Scan setting stored on an organization. + + The response reports the value stored on the organization. Organization respects enterprise policy. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan + patch: + summary: Update the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates the AI Scan setting stored on an organization. + + The organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-org-enablement-update" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-org-enablement-update" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-org-settings" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-org-settings" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -37851,6 +37941,98 @@ paths: enabledForGitHubApps: true category: code-quality subcategory: code-quality + "/repos/{owner}/{repo}/code-scanning/ai-scan": + get: + summary: Get AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + '403': + "$ref": "#/components/responses/code_scanning_forbidden_read" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning + patch: + summary: Update AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement-update" + examples: + enabled: + summary: Enable AI Scan + value: + pr_scan: enabled + disabled: + summary: Disable AI Scan + value: + pr_scan: disabled + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/code-scanning-ai-scan-enablement" + examples: + default: + "$ref": "#/components/examples/code-scanning-ai-scan-enablement" + '403': + "$ref": "#/components/responses/code_scanning_forbidden_write" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning "/repos/{owner}/{repo}/code-scanning/alerts": get: summary: List code scanning alerts for a repository @@ -95827,6 +96009,42 @@ components: - ends_at - state - contact_link + code-scanning-ai-scan-org-settings: + title: Code scanning AI Scan organization settings + description: The AI Scan organization setting + type: object + properties: + pr_scan: + description: 'Whether AI Scan on pull requests is enabled for the organization. + The organization setting respects enterprise policy, and repositories + inherit it: when disabled, repositories cannot enable AI Scan; when enabled, + repositories can still opt out.' + type: string + enum: + - enabled + - disabled + examples: + - enabled + required: + - pr_scan + code-scanning-ai-scan-org-enablement-update: + title: Code scanning AI Scan organization settings update + description: The AI Scan organization setting to apply + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the organization. Organization + respects enterprise policy. Disabled organizations prevent repositories + from enabling AI Scna. Enabled organizations enable AI Scan for their + repositories, but individual repositories can opt out. + type: string + enum: + - enabled + - disabled + examples: + - enabled + minProperties: 1 + additionalProperties: false code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. @@ -107599,6 +107817,30 @@ components: run_url: description: URL of the corresponding run. type: string + code-scanning-ai-scan-enablement: + description: AI Scan enablement for a repository. + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the repository. + type: string + enum: + - enabled + - disabled + required: + - pr_scan + code-scanning-ai-scan-enablement-update: + description: AI Scan enablement update for a repository. + type: object + properties: + pr_scan: + description: Whether to enable or disable AI Scan for the repository. + type: string + enum: + - enabled + - disabled + minProperties: 1 + additionalProperties: false code-scanning-alert-items: type: object properties: @@ -239681,6 +239923,12 @@ components: open_count: 10 closed_count: 3 in_progress_count: 3 + code-scanning-ai-scan-org-settings: + value: + pr_scan: enabled + code-scanning-ai-scan-org-enablement-update: + value: + pr_scan: enabled code-scanning-organization-alert-items: value: - number: 4 @@ -248216,6 +248464,9 @@ components: value: run_id: 42 run_url: https://api.github.com/repos/octocat/hello-world/actions/runs/42 + code-scanning-ai-scan-enablement: + value: + pr_scan: enabled code-scanning-alert-items: value: - number: 4 diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 186f07c5b..02692f6b5 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -121760,6 +121760,353 @@ } } }, + "/orgs/{org}/code-scanning/ai-scan": { + "get": { + "summary": "Get the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the AI Scan setting stored on an organization.\n\nThe response reports the value stored on the organization. Organization respects enterprise policy.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + }, + "patch": { + "summary": "Update the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates the AI Scan setting stored on an organization.\n\nThe organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings update", + "description": "The AI Scan organization setting to apply", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scna. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -358306,6 +358653,366 @@ } } }, + "/repos/{owner}/{repo}/code-scanning/ai-scan": { + "get": { + "summary": "Get AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + }, + "patch": { + "summary": "Update AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement update for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether to enable or disable AI Scan for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "enabled": { + "summary": "Enable AI Scan", + "value": { + "pr_scan": "enabled" + } + }, + "disabled": { + "summary": "Disable AI Scan", + "value": { + "pr_scan": "disabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + } + }, "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for a repository", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 509dc53a0..b80820a22 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -914,7 +914,7 @@ paths: - subscriptions_url - type - url - type: &330 + type: &332 type: string description: The type of credit the user is receiving. enum: @@ -1080,7 +1080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &689 + - &693 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4337,7 +4337,7 @@ paths: schema: type: integer default: 30 - - &218 + - &220 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4346,7 +4346,7 @@ paths: required: false schema: type: string - - &219 + - &221 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4366,7 +4366,7 @@ paths: application/json: schema: type: array - items: &220 + items: &222 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4462,7 +4462,7 @@ paths: - installation_id - repository_id examples: - default: &221 + default: &223 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4597,7 +4597,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &224 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4732,7 +4732,7 @@ paths: - request - response examples: - default: &223 + default: &225 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -10357,7 +10357,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &191 type: array description: A list of default code security configurations items: @@ -10373,7 +10373,7 @@ paths: default configuration: *44 examples: - default: &190 + default: &192 value: - default_for_new_repos: public configuration: @@ -10835,7 +10835,7 @@ paths: default: value: default_for_new_repos: all - configuration: &188 + configuration: &190 value: id: 1325 target_type: organization @@ -10925,7 +10925,7 @@ paths: application/json: schema: type: array - items: &191 + items: &193 type: object description: Repositories associated with a code security configuration and attachment status @@ -11270,7 +11270,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &192 + repository: &194 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -11849,7 +11849,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *35 - - &200 + - &202 name: classification in: query description: |- @@ -11858,7 +11858,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &201 + - &203 name: state in: query description: |- @@ -11867,7 +11867,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &202 + - &204 name: severity in: query description: |- @@ -11876,7 +11876,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &203 + - &205 name: ecosystem in: query description: |- @@ -11885,14 +11885,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &204 + - &206 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &205 + - &207 name: epss_percentage in: query description: |- @@ -11904,7 +11904,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &487 + - &491 name: has in: query description: |- @@ -11918,7 +11918,7 @@ paths: type: string enum: - patch - - &206 + - &208 name: assignee in: query description: |- @@ -11927,7 +11927,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &207 + - &209 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -11937,7 +11937,7 @@ paths: enum: - development - runtime - - &208 + - &210 name: relationship in: query description: |- @@ -11947,7 +11947,7 @@ paths: > We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. schema: type: string - - &209 + - &211 name: sort in: query description: |- @@ -11973,11 +11973,11 @@ paths: application/json: schema: type: array - items: &210 + items: &212 type: object description: A Dependabot alert. properties: - number: &178 + number: &180 type: integer description: The security alert number. readOnly: true @@ -12044,7 +12044,7 @@ paths: - transitive - inconclusive - - security_advisory: &488 + security_advisory: &492 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12258,29 +12258,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *61 - url: &181 + url: &183 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &182 + html_url: &184 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &179 + created_at: &181 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &180 + updated_at: &182 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &184 + dismissed_at: &186 type: - string - 'null' @@ -12311,7 +12311,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &183 + fixed_at: &185 type: - string - 'null' @@ -12319,7 +12319,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &489 + auto_dismissed_at: &493 type: - string - 'null' @@ -12327,7 +12327,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &490 + dismissal_request: &494 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12390,7 +12390,7 @@ paths: - repository additionalProperties: false examples: - default: &211 + default: &213 value: - number: 2 state: dismissed @@ -12777,7 +12777,7 @@ paths: description: Response content: application/json: - schema: &212 + schema: &214 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -12803,7 +12803,7 @@ paths: - *62 additionalProperties: false examples: - default: &213 + default: &215 value: default_level: public accessible_repositories: @@ -14177,7 +14177,7 @@ paths: properties: action: type: string - discussion: &783 + discussion: &787 title: Discussion description: A Discussion in a repository. type: object @@ -14678,7 +14678,7 @@ paths: milestone: anyOf: - type: 'null' - - &280 + - &282 title: Milestone description: A collection of related issues and pull requests. @@ -14850,7 +14850,7 @@ paths: timeline_url: type: string format: uri - type: &244 + type: &246 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -14963,7 +14963,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &701 + sub_issues_summary: &705 title: Sub-issues Summary type: object properties: @@ -15047,7 +15047,7 @@ paths: pin: anyOf: - type: 'null' - - &566 + - &570 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15068,7 +15068,7 @@ paths: minimized: anyOf: - type: 'null' - - &567 + - &571 title: Minimized Issue Comment description: Details about why an issue comment was minimized. @@ -15093,7 +15093,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &702 + issue_dependencies_summary: &706 title: Issue Dependencies Summary type: object properties: @@ -15112,7 +15112,7 @@ paths: - total_blocking issue_field_values: type: array - items: &548 + items: &552 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15929,7 +15929,7 @@ paths: type: string release: allOf: - - &612 + - &616 title: Release description: A release. type: object @@ -16011,7 +16011,7 @@ paths: author: *4 assets: type: array - items: &613 + items: &617 title: Release Asset description: Data related to a release. type: object @@ -16614,7 +16614,7 @@ paths: url: type: string format: uri - user: &710 + user: &714 title: Public User description: Public User type: object @@ -18516,7 +18516,7 @@ paths: - closed - all default: open - - &247 + - &249 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18567,7 +18567,7 @@ paths: type: array items: *80 examples: - default: &248 + default: &250 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19993,14 +19993,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &338 + - &340 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &339 + - &341 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20062,7 +20062,7 @@ paths: '404': *6 '403': *27 '304': *32 - '301': &342 + '301': &344 description: Moved permanently content: application/json: @@ -20084,7 +20084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &586 + - &590 name: all description: If `true`, show notifications marked as read. in: query @@ -20092,7 +20092,7 @@ paths: schema: type: boolean default: false - - &587 + - &591 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20102,7 +20102,7 @@ paths: type: boolean default: false - *85 - - &588 + - &592 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -20484,7 +20484,7 @@ paths: type: boolean examples: - false - security_and_analysis: &295 + security_and_analysis: &297 type: - object - 'null' @@ -20695,7 +20695,7 @@ paths: - url - subscription_url examples: - default: &589 + default: &593 value: - id: '1' repository: @@ -22723,7 +22723,7 @@ paths: parameters: - *72 - *114 - - &761 + - &765 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -22835,7 +22835,7 @@ paths: - *114 - *115 - *116 - - &762 + - &766 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22843,7 +22843,7 @@ paths: schema: type: string - *119 - - &763 + - &767 name: sku description: The SKU to query for usage. in: query @@ -23830,7 +23830,7 @@ paths: type: integer repository_cache_usages: type: array - items: &349 + items: &351 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25218,7 +25218,7 @@ paths: - all - local_only - selected - selected_actions_url: &354 + selected_actions_url: &356 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -25301,7 +25301,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &360 type: object properties: days: @@ -25343,7 +25343,7 @@ paths: required: true content: application/json: - schema: &359 + schema: &361 type: object properties: days: @@ -25400,7 +25400,7 @@ paths: required: - approval_policy examples: - default: &360 + default: &362 value: approval_policy: first_time_contributors '404': *6 @@ -25459,7 +25459,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 type: object required: - run_workflows_from_fork_pull_requests @@ -25513,7 +25513,7 @@ paths: required: true content: application/json: - schema: &362 + schema: &364 type: object required: - run_workflows_from_fork_pull_requests @@ -26148,7 +26148,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &365 type: object properties: default_workflow_permissions: &146 @@ -26199,7 +26199,7 @@ paths: required: false content: application/json: - schema: &364 + schema: &366 type: object properties: default_workflow_permissions: *146 @@ -26692,7 +26692,7 @@ paths: type: array items: *153 examples: - default: &199 + default: &201 value: total_count: 1 repositories: @@ -27418,7 +27418,7 @@ paths: application/json: schema: type: array - items: &365 + items: &367 title: Runner Application description: Runner Application type: object @@ -27443,7 +27443,7 @@ paths: - download_url - filename examples: - default: &366 + default: &368 value: - os: osx architecture: x64 @@ -27529,7 +27529,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &367 + '201': &369 description: Response content: application/json: @@ -27644,7 +27644,7 @@ paths: - token - expires_at examples: - default: &368 + default: &370 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27683,7 +27683,7 @@ paths: application/json: schema: *157 examples: - default: &369 + default: &371 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27717,7 +27717,7 @@ paths: application/json: schema: *155 examples: - default: &370 + default: &372 value: id: 23 name: MBP @@ -27944,7 +27944,7 @@ paths: - *72 - *154 responses: - '200': &371 + '200': &373 description: Response content: application/json: @@ -28001,7 +28001,7 @@ paths: parameters: - *72 - *154 - - &372 + - &374 name: name description: The name of a self-hosted runner's custom label. in: path @@ -30973,12 +30973,12 @@ paths: required: - subject_digests examples: - default: &742 + default: &746 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &743 + withPredicateType: &747 value: subject_digests: - sha256:abc123 @@ -31037,7 +31037,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &744 + default: &748 value: attestations_subject_digests: - sha256:abc: @@ -31388,7 +31388,7 @@ paths: initiator: type: string examples: - default: &398 + default: &400 value: attestations: - repository_id: 1 @@ -31582,7 +31582,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &198 + items: &200 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -31671,7 +31671,7 @@ paths: parent: anyOf: - type: 'null' - - &259 + - &261 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -32257,6 +32257,124 @@ paths: enabledForGitHubApps: true category: campaigns subcategory: campaigns + "/orgs/{org}/code-scanning/ai-scan": + get: + summary: Get the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the AI Scan setting stored on an organization. + + The response reports the value stored on the organization. Organization respects enterprise policy. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization + parameters: + - *72 + responses: + '200': + description: Response + content: + application/json: + schema: &178 + title: Code scanning AI Scan organization settings + description: The AI Scan organization setting + type: object + properties: + pr_scan: + description: 'Whether AI Scan on pull requests is enabled for + the organization. The organization setting respects enterprise + policy, and repositories inherit it: when disabled, repositories + cannot enable AI Scan; when enabled, repositories can still + opt out.' + type: string + enum: + - enabled + - disabled + examples: + - enabled + required: + - pr_scan + examples: + default: &179 + value: + pr_scan: enabled + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan + patch: + summary: Update the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates the AI Scan setting stored on an organization. + + The organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization + parameters: + - *72 + requestBody: + required: true + content: + application/json: + schema: + title: Code scanning AI Scan organization settings update + description: The AI Scan organization setting to apply + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the organization. Organization + respects enterprise policy. Disabled organizations prevent repositories + from enabling AI Scna. Enabled organizations enable AI Scan for + their repositories, but individual repositories can opt out. + type: string + enum: + - enabled + - disabled + examples: + - enabled + minProperties: 1 + additionalProperties: false + examples: + default: + value: + pr_scan: enabled + responses: + '200': + description: Response + content: + application/json: + schema: *178 + examples: + default: *179 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -32274,17 +32392,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *72 - - &424 + - &428 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &185 + schema: &187 type: string description: The name of the tool used to generate the code scanning analysis. - - &425 + - &429 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -32292,7 +32410,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &186 + schema: &188 type: - string - 'null' @@ -32308,7 +32426,7 @@ paths: be returned. in: query required: false - schema: &427 + schema: &431 type: string description: State of a code scanning alert. enum: @@ -32331,7 +32449,7 @@ paths: be returned. in: query required: false - schema: &428 + schema: &432 type: string description: Severity of a code scanning alert. enum: @@ -32360,18 +32478,18 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 - instances_url: &429 + number: *180 + created_at: *181 + updated_at: *182 + url: *183 + html_url: *184 + instances_url: &433 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &187 + state: &189 type: - string - 'null' @@ -32381,13 +32499,13 @@ paths: - dismissed - fixed - - fixed_at: *183 + fixed_at: *185 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *184 - dismissed_reason: &430 + dismissed_at: *186 + dismissed_reason: &434 type: - string - 'null' @@ -32399,14 +32517,14 @@ paths: - used in tests - mitigated - - dismissed_comment: &431 + dismissed_comment: &435 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &432 + rule: &436 type: object properties: id: @@ -32467,43 +32585,43 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &433 + tool: &437 type: object properties: - name: *185 + name: *187 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *186 - most_recent_instance: &434 + guid: *188 + most_recent_instance: &438 type: object properties: - ref: &426 + ref: &430 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &445 + analysis_key: &449 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &446 + environment: &450 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &447 + category: &451 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *187 + state: *189 commit_sha: type: string message: @@ -32517,7 +32635,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &448 + location: &452 type: object description: Describe a region within a file for the alert. properties: @@ -32538,7 +32656,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &449 + items: &453 type: - string - 'null' @@ -33175,7 +33293,7 @@ paths: application/json: schema: *44 examples: - default: *188 + default: *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33203,9 +33321,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '304': *32 '403': *27 '404': *6 @@ -33294,7 +33412,7 @@ paths: application/json: schema: *44 examples: - default: *188 + default: *190 '304': *32 '403': *27 '404': *6 @@ -33739,7 +33857,7 @@ paths: default: value: default_for_new_repos: all - configuration: *188 + configuration: *190 '403': *27 '404': *6 x-github: @@ -33792,13 +33910,13 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *192 + repository: *194 '403': *27 '404': *6 x-github: @@ -33838,7 +33956,7 @@ paths: type: integer codespaces: type: array - items: &249 + items: &251 type: object title: Codespace description: A codespace. @@ -33873,7 +33991,7 @@ paths: machine: anyOf: - type: 'null' - - &461 + - &465 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34160,7 +34278,7 @@ paths: - pulls_url - recent_folders examples: - default: &250 + default: &252 value: total_count: 3 codespaces: @@ -34784,7 +34902,7 @@ paths: type: integer secrets: type: array - items: &193 + items: &195 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -34825,7 +34943,7 @@ paths: - updated_at - visibility examples: - default: &462 + default: &466 value: total_count: 2 secrets: @@ -34863,7 +34981,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &467 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34898,7 +35016,7 @@ paths: - key_id - key examples: - default: &464 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34928,9 +35046,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: &466 + default: &470 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -35264,7 +35382,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &194 + items: &196 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -35661,9 +35779,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: &195 + default: &197 summary: Example response for an organization copilot space value: id: 84 @@ -35768,9 +35886,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 '403': *27 '404': *6 x-github: @@ -35899,9 +36017,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 '403': *27 '404': *6 '422': *15 @@ -35984,7 +36102,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &196 + items: &198 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -36209,7 +36327,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: user: value: @@ -36339,7 +36457,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: user: value: @@ -36490,7 +36608,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &197 + items: &199 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -36634,7 +36752,7 @@ paths: description: Resource created content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -36650,7 +36768,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -36705,7 +36823,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -36774,7 +36892,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -37016,7 +37134,7 @@ paths: currently being billed. seats: type: array - items: &252 + items: &254 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -37034,7 +37152,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *198 + - *200 - *64 type: - 'null' @@ -37652,7 +37770,7 @@ paths: - total_count - repositories examples: - default: *199 + default: *201 '500': *50 '401': *23 '403': *27 @@ -38178,12 +38296,12 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *72 - - *200 - - *201 - *202 - *203 - *204 - *205 + - *206 + - *207 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -38213,7 +38331,7 @@ paths: enum: - patch - deployment - - *206 + - *208 - name: runtime_risk in: query description: |- @@ -38222,9 +38340,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *207 - - *208 - *209 + - *210 + - *211 - *57 - *42 - *43 @@ -38236,9 +38354,9 @@ paths: application/json: schema: type: array - items: *210 + items: *212 examples: - default: *211 + default: *213 '304': *32 '400': *14 '403': *27 @@ -38287,9 +38405,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 '403': *27 '404': *6 x-github: @@ -38453,7 +38571,7 @@ paths: type: integer secrets: type: array - items: &214 + items: &216 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38532,7 +38650,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &497 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38551,7 +38669,7 @@ paths: - key_id - key examples: - default: &494 + default: &498 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38581,7 +38699,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -38880,7 +38998,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 title: Package description: A software package type: object @@ -38951,7 +39069,7 @@ paths: - created_at - updated_at examples: - default: &262 + default: &264 value: - id: 197 name: hello_docker @@ -39121,7 +39239,7 @@ paths: application/json: schema: type: array - items: &238 + items: &240 title: Organization Invitation description: Organization Invitation type: object @@ -39175,7 +39293,7 @@ paths: - invitation_teams_url - node_id examples: - default: &239 + default: &241 value: - id: 1 login: monalisa @@ -39242,7 +39360,7 @@ paths: application/json: schema: type: array - items: &215 + items: &217 title: Org Hook description: Org Hook type: object @@ -39427,9 +39545,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: &216 + default: &218 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39477,7 +39595,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *72 - - &217 + - &219 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -39490,9 +39608,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *216 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -39520,7 +39638,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *72 - - *217 + - *219 requestBody: required: false content: @@ -39566,7 +39684,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: default: value: @@ -39608,7 +39726,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *72 - - *217 + - *219 responses: '204': description: Response @@ -39636,7 +39754,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *72 - - *217 + - *219 responses: '200': description: Response @@ -39667,7 +39785,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *72 - - *217 + - *219 requestBody: required: false content: @@ -39718,10 +39836,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *72 - - *217 - - *17 - - *218 - *219 + - *17 + - *220 + - *221 responses: '200': description: Response @@ -39729,9 +39847,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -39757,16 +39875,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *72 - - *217 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '400': *14 '422': *15 x-github: @@ -39792,7 +39910,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *72 - - *217 + - *219 - *16 responses: '202': *34 @@ -39822,7 +39940,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *72 - - *217 + - *219 responses: '204': description: Response @@ -39847,7 +39965,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *72 - - &228 + - &230 name: actor_type in: path description: The type of the actor @@ -39860,14 +39978,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &229 + - &231 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &224 + - &226 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -39875,7 +39993,7 @@ paths: required: true schema: type: string - - &225 + - &227 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39972,12 +40090,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *72 - - *224 - - *225 + - *226 + - *227 - *19 - *17 - *57 - - &234 + - &236 name: sort description: The property to sort the results by. in: query @@ -40058,14 +40176,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *72 - - *224 - - *225 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: &226 + schema: &228 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -40081,7 +40199,7 @@ paths: type: integer format: int64 examples: - default: &227 + default: &229 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -40104,23 +40222,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *72 - - &230 + - &232 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *224 - - *225 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *226 + schema: *228 examples: - default: *227 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -40140,18 +40258,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *72 - - *224 - - *225 - - *228 - - *229 + - *226 + - *227 + - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *226 + schema: *228 examples: - default: *227 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -40171,9 +40289,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *72 - - *224 - - *225 - - &231 + - *226 + - *227 + - &233 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40186,7 +40304,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &234 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40202,7 +40320,7 @@ paths: type: integer format: int64 examples: - default: &233 + default: &235 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40241,18 +40359,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *72 - - *230 - - *224 - - *225 - - *231 + - *232 + - *226 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *233 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -40272,19 +40390,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *72 - - *228 - - *229 - - *224 - - *225 + - *230 - *231 + - *226 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *233 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -40304,13 +40422,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *72 - - *230 - - *224 - - *225 + - *232 + - *226 + - *227 - *19 - *17 - *57 - - *234 + - *236 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40394,7 +40512,7 @@ paths: application/json: schema: *20 examples: - default: &531 + default: &535 value: id: 1 account: @@ -40560,12 +40678,12 @@ paths: application/json: schema: anyOf: - - &236 + - &238 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &235 + limit: &237 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40593,7 +40711,7 @@ paths: properties: {} additionalProperties: false examples: - default: &237 + default: &239 value: limit: collaborators_only origin: organization @@ -40622,13 +40740,13 @@ paths: required: true content: application/json: - schema: &532 + schema: &536 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *235 + limit: *237 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40653,9 +40771,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *237 + default: *239 '422': *15 x-github: githubCloudOnly: false @@ -40865,9 +40983,9 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *63 '404': *6 @@ -40944,7 +41062,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *240 examples: default: value: @@ -40999,7 +41117,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *72 - - &240 + - &242 name: invitation_id description: The unique identifier of the invitation. in: path @@ -41030,7 +41148,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *72 - - *240 + - *242 - *17 - *19 responses: @@ -41040,9 +41158,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: &260 + default: &262 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -41085,7 +41203,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -41348,9 +41466,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: &242 + default: &244 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -41406,7 +41524,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *72 - - &243 + - &245 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -41516,9 +41634,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: *242 + default: *244 '404': *6 '422': *7 x-github: @@ -41543,7 +41661,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *72 - - *243 + - *245 responses: '204': *54 '404': *6 @@ -41573,9 +41691,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: &536 + default: &540 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41661,9 +41779,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: &245 + default: &247 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41696,7 +41814,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *72 - - &246 + - &248 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41752,9 +41870,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '404': *6 '422': *7 x-github: @@ -41779,7 +41897,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *72 - - *246 + - *248 responses: '204': description: Response @@ -41842,7 +41960,7 @@ paths: - closed - all default: open - - *247 + - *249 - name: type description: Can be the name of an issue type. in: query @@ -41873,7 +41991,7 @@ paths: type: array items: *80 examples: - default: *248 + default: *250 headers: Link: *63 '404': *6 @@ -42032,9 +42150,9 @@ paths: type: integer codespaces: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 '304': *32 '500': *50 '401': *23 @@ -42061,7 +42179,7 @@ paths: parameters: - *72 - *68 - - &251 + - &253 name: codespace_name in: path required: true @@ -42096,15 +42214,15 @@ paths: parameters: - *72 - *68 - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: &460 + default: &464 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42284,7 +42402,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -42360,7 +42478,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &255 title: Org Membership description: Org Membership type: object @@ -42429,7 +42547,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &254 + response-if-user-has-an-active-admin-membership-with-organization: &256 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42530,9 +42648,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: - response-if-user-already-had-membership-with-organization: *254 + response-if-user-already-had-membership-with-organization: *256 '422': *15 '403': *27 x-github: @@ -42604,7 +42722,7 @@ paths: application/json: schema: type: array - items: &255 + items: &257 title: Migration description: A migration. type: object @@ -42942,7 +43060,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -43121,7 +43239,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *72 - - &256 + - &258 name: migration_id description: The unique identifier of the migration. in: path @@ -43149,7 +43267,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -43319,7 +43437,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *72 - - *256 + - *258 responses: '302': description: Response @@ -43341,7 +43459,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *72 - - *256 + - *258 responses: '204': description: Response @@ -43365,8 +43483,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *72 - - *256 - - &725 + - *258 + - &729 name: repo_name description: repo_name parameter in: path @@ -43394,7 +43512,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *72 - - *256 + - *258 - *17 - *19 responses: @@ -43406,7 +43524,7 @@ paths: type: array items: *153 examples: - default: &267 + default: &269 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43561,7 +43679,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &258 + items: &260 title: Organization Role description: Organization roles type: object @@ -43738,7 +43856,7 @@ paths: parameters: - *72 - *73 - - &257 + - &259 name: role_id description: The unique identifier of the role. in: path @@ -43775,7 +43893,7 @@ paths: parameters: - *72 - *73 - - *257 + - *259 responses: '204': description: Response @@ -43828,7 +43946,7 @@ paths: parameters: - *72 - *68 - - *257 + - *259 responses: '204': description: Response @@ -43860,7 +43978,7 @@ paths: parameters: - *72 - *68 - - *257 + - *259 responses: '204': description: Response @@ -43889,13 +44007,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *72 - - *257 + - *259 responses: '200': description: Response content: application/json: - schema: *258 + schema: *260 examples: default: value: @@ -43946,7 +44064,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *72 - - *257 + - *259 - *17 - *19 responses: @@ -44025,7 +44143,7 @@ paths: parent: anyOf: - type: 'null' - - *259 + - *261 type: description: The ownership type of the team type: string @@ -44058,7 +44176,7 @@ paths: - type - parent examples: - default: *260 + default: *262 headers: Link: *63 '404': @@ -44088,7 +44206,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *72 - - *257 + - *259 - *17 - *19 responses: @@ -44117,7 +44235,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *259 + items: *261 name: type: - string @@ -44427,7 +44545,7 @@ paths: - nuget - container - *72 - - &726 + - &730 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44463,12 +44581,12 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *262 + default: *264 '403': *27 '401': *23 - '400': &728 + '400': &732 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44490,7 +44608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &263 + - &265 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -44508,7 +44626,7 @@ paths: - docker - nuget - container - - &264 + - &266 name: package_name description: The name of the package. in: path @@ -44521,7 +44639,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -44573,8 +44691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 responses: '204': @@ -44607,8 +44725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 - name: token description: package token @@ -44641,8 +44759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 - *19 - *17 @@ -44663,7 +44781,7 @@ paths: application/json: schema: type: array - items: &265 + items: &267 title: Package Version description: A version of a software package type: object @@ -44798,10 +44916,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 - - &266 + - &268 name: package_version_id description: Unique identifier of the package version. in: path @@ -44813,7 +44931,7 @@ paths: description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -44849,10 +44967,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *263 - - *264 - - *72 + - *265 - *266 + - *72 + - *268 responses: '204': description: Response @@ -44884,10 +45002,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *263 - - *264 - - *72 + - *265 - *266 + - *72 + - *268 responses: '204': description: Response @@ -44917,7 +45035,7 @@ paths: - *72 - *17 - *19 - - &268 + - &270 name: sort description: The property by which to sort the results. in: query @@ -44928,7 +45046,7 @@ paths: - created_at default: created_at - *57 - - &269 + - &271 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -44940,7 +45058,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &270 + - &272 name: repository description: The name of the repository to use to filter the results. in: query @@ -44949,7 +45067,7 @@ paths: type: string examples: - Hello-World - - &271 + - &273 name: permission description: The permission to use to filter the results. in: query @@ -44958,7 +45076,7 @@ paths: type: string examples: - issues_read - - &272 + - &274 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -44968,7 +45086,7 @@ paths: schema: type: string format: date-time - - &273 + - &275 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -44978,7 +45096,7 @@ paths: schema: type: string format: date-time - - &274 + - &276 name: token_id description: The ID of the token in: query @@ -45297,7 +45415,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -45323,14 +45441,14 @@ paths: - *72 - *17 - *19 - - *268 - - *57 - - *269 - *270 + - *57 - *271 - *272 - *273 - *274 + - *275 + - *276 responses: '500': *50 '422': *15 @@ -45614,7 +45732,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -45656,7 +45774,7 @@ paths: type: integer configurations: type: array - items: &275 + items: &277 title: Organization private registry description: Private registry configuration for an organization type: object @@ -46173,7 +46291,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &276 + org-private-registry-with-selected-visibility: &278 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -46271,9 +46389,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '404': *6 x-github: githubCloudOnly: false @@ -46525,7 +46643,7 @@ paths: application/json: schema: type: array - items: &277 + items: &279 title: Projects v2 Project description: A projects v2 project type: object @@ -46599,7 +46717,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &811 + - &815 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46684,7 +46802,7 @@ paths: - deleted_at - deleted_by examples: - default: &278 + default: &280 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46787,7 +46905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &279 + - &281 name: project_number description: The project's number. in: path @@ -46800,9 +46918,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *279 examples: - default: *278 + default: *280 headers: Link: *63 '304': *32 @@ -46825,7 +46943,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *72 - - *279 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -46859,7 +46977,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -46873,7 +46991,7 @@ paths: content: oneOf: - *80 - - &435 + - &440 title: Pull Request Simple description: Pull Request Simple type: object @@ -46993,7 +47111,7 @@ paths: milestone: anyOf: - type: 'null' - - *280 + - *282 active_lock_reason: type: - string @@ -47042,7 +47160,7 @@ paths: items: *4 requested_teams: type: array - items: *198 + items: *200 head: type: object properties: @@ -47086,7 +47204,7 @@ paths: _links: type: object properties: - comments: &281 + comments: &283 title: Link description: Hypermedia Link type: object @@ -47095,13 +47213,13 @@ paths: type: string required: - href - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -47112,7 +47230,7 @@ paths: - review_comment - self author_association: *77 - auto_merge: &596 + auto_merge: &600 title: Auto merge description: The status of auto merging a pull request. type: @@ -47138,7 +47256,7 @@ paths: - merge_method - commit_title - commit_message - stack: &597 + stack: &601 title: Pull Request Stack description: The stack information associated with a pull request. @@ -47254,7 +47372,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &283 + content_type: &285 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -47298,7 +47416,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &285 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47372,7 +47490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *279 + - *281 - *72 - *17 - *42 @@ -47384,7 +47502,7 @@ paths: application/json: schema: type: array - items: &282 + items: &284 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47537,7 +47655,7 @@ paths: - updated_at - project_url examples: - default: &748 + default: &752 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47667,7 +47785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *279 + - *281 - *72 requestBody: required: true @@ -47714,7 +47832,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &749 + items: &753 type: object properties: name: @@ -47751,7 +47869,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &750 + iteration_configuration: &754 type: object description: The configuration for iteration fields. required: @@ -47808,7 +47926,7 @@ paths: value: name: Due date data_type: date - single_select_field: &751 + single_select_field: &755 summary: Create a single select field value: name: Priority @@ -47835,7 +47953,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &752 + iteration_field: &756 summary: Create an iteration field value: name: Sprint @@ -47855,9 +47973,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *282 + schema: *284 examples: - text_field: &753 + text_field: &757 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47866,7 +47984,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &754 + number_field: &758 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47875,7 +47993,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &755 + date_field: &759 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47884,7 +48002,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &756 + single_select_field: &760 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47918,7 +48036,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &757 + iteration_field: &761 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47963,8 +48081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *279 - - &758 + - *281 + - &762 name: field_id description: The unique identifier of the field. in: path @@ -47977,9 +48095,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: &759 + default: &763 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48035,7 +48153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *279 + - *281 - *72 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -48068,7 +48186,7 @@ paths: application/json: schema: type: array - items: &286 + items: &288 title: Projects v2 Item description: An item belonging to a project type: object @@ -48085,7 +48203,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *283 + content_type: *285 content: type: - object @@ -48135,7 +48253,7 @@ paths: - updated_at - archived_at examples: - default: &287 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -48833,7 +48951,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *72 - - *279 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -48903,22 +49021,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *32 '403': *27 '401': *23 @@ -48938,9 +49056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *279 + - *281 - *72 - - &288 + - &290 name: item_id description: The unique identifier of the project item. in: path @@ -48966,9 +49084,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -48989,9 +49107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *279 + - *281 - *72 - - *288 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49064,13 +49182,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -49090,9 +49208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *279 + - *281 - *72 - - *288 + - *290 responses: '204': description: Response @@ -49116,7 +49234,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *72 - - *279 + - *281 requestBody: required: true content: @@ -49231,7 +49349,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &739 + schema: &743 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -49335,7 +49453,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &289 + value: &291 value: id: 1 number: 1 @@ -49381,10 +49499,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *32 '403': *27 '401': *23 @@ -49412,9 +49530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *279 + - *281 - *72 - - &760 + - &764 name: view_number description: The number that identifies the project view. in: path @@ -49446,9 +49564,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -49481,7 +49599,7 @@ paths: application/json: schema: type: array - items: &290 + items: &292 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -49559,7 +49677,7 @@ paths: - property_name - value_type examples: - default: &291 + default: &293 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -49619,7 +49737,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *290 + items: *292 minItems: 1 maxItems: 100 required: @@ -49649,9 +49767,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 '403': *27 '404': *6 x-github: @@ -49673,7 +49791,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *72 - - &292 + - &294 name: custom_property_name description: The custom property name in: path @@ -49685,9 +49803,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: &293 + default: &295 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -49722,7 +49840,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *72 - - *292 + - *294 requestBody: required: true content: @@ -49804,9 +49922,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *293 + default: *295 '403': *27 '404': *6 x-github: @@ -49830,7 +49948,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *72 - - *292 + - *294 responses: '204': *54 '403': *27 @@ -49894,7 +50012,7 @@ paths: - octocat/Hello-World properties: type: array - items: &294 + items: &296 title: Custom Property Value description: Custom property name and associated value type: object @@ -49986,7 +50104,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - repository_names - properties @@ -50178,7 +50296,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -50381,7 +50499,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &343 title: Full Repository description: Full Repository type: object @@ -50859,7 +50977,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &479 + code_of_conduct: &483 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50889,7 +51007,7 @@ paths: - key - name - html_url - security_and_analysis: *295 + security_and_analysis: *297 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50973,7 +51091,7 @@ paths: - network_count - subscribers_count examples: - default: &343 + default: &345 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51494,7 +51612,7 @@ paths: - *72 - *17 - *19 - - &621 + - &625 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51513,7 +51631,7 @@ paths: application/json: schema: type: array - items: &322 + items: &324 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -51548,7 +51666,7 @@ paths: source: type: string description: The name of the source - enforcement: &298 + enforcement: &300 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -51561,7 +51679,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &299 + items: &301 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -51633,7 +51751,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &296 + - &298 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -51657,7 +51775,7 @@ paths: match. items: type: string - - &300 + - &302 title: Organization ruleset conditions type: object description: |- @@ -51671,7 +51789,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *296 + - *298 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -51705,7 +51823,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *296 + - *298 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -51727,7 +51845,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *296 + - *298 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -51740,7 +51858,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &297 + items: &299 title: Repository ruleset property targeting definition type: object @@ -51773,7 +51891,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *297 + items: *299 required: - repository_property type: @@ -51781,12 +51899,12 @@ paths: - object rules: type: array - items: &622 + items: &626 title: Repository Rule type: object description: A repository rule. oneOf: - - &301 + - &303 title: creation description: Only allow users with bypass permission to create matching refs. @@ -51798,7 +51916,7 @@ paths: type: string enum: - creation - - &302 + - &304 title: update description: Only allow users with bypass permission to update matching refs. @@ -51819,7 +51937,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &303 + - &305 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -51831,7 +51949,7 @@ paths: type: string enum: - deletion - - &304 + - &306 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -51843,7 +51961,7 @@ paths: type: string enum: - required_linear_history - - &619 + - &623 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51921,7 +52039,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &305 + - &307 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -51945,7 +52063,7 @@ paths: type: string required: - required_deployment_environments - - &306 + - &308 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -51957,7 +52075,7 @@ paths: type: string enum: - required_signatures - - &307 + - &309 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -52100,7 +52218,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &308 + - &310 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -52148,7 +52266,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &309 + - &311 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -52160,7 +52278,7 @@ paths: type: string enum: - non_fast_forward - - &310 + - &312 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -52197,7 +52315,7 @@ paths: required: - operator - pattern - - &311 + - &313 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -52234,7 +52352,7 @@ paths: required: - operator - pattern - - &312 + - &314 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -52271,7 +52389,7 @@ paths: required: - operator - pattern - - &313 + - &315 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -52308,7 +52426,7 @@ paths: required: - operator - pattern - - &314 + - &316 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -52345,7 +52463,7 @@ paths: required: - operator - pattern - - &319 + - &321 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -52395,7 +52513,7 @@ paths: - repository_id required: - workflows - - &320 + - &322 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -52456,7 +52574,7 @@ paths: - tool required: - code_scanning_tools - - &321 + - &323 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -52482,7 +52600,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &620 + - &624 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -52494,7 +52612,7 @@ paths: type: string enum: - license_compliance_scanning - - &315 + - &317 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -52519,7 +52637,7 @@ paths: type: string required: - restricted_file_paths - - &316 + - &318 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -52543,7 +52661,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &317 + - &319 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -52566,7 +52684,7 @@ paths: type: string required: - restricted_file_extensions - - &318 + - &320 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -52664,22 +52782,20 @@ paths: - push - repository default: branch - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *300 + items: *301 + conditions: *302 rules: type: array description: An array of rules within the ruleset. - items: &324 + items: &326 title: Repository Rule type: object description: A repository rule. oneOf: - - *301 - - *302 - *303 - *304 - *305 @@ -52699,6 +52815,8 @@ paths: - *319 - *320 - *321 + - *322 + - *323 required: - name - enforcement @@ -52736,9 +52854,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: &323 + default: &325 value: id: 21 name: super cool ruleset @@ -52794,7 +52912,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *72 - - &623 + - &627 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -52809,7 +52927,7 @@ paths: in: query schema: type: string - - &624 + - &628 name: time_period description: |- The time period to filter by. @@ -52825,14 +52943,14 @@ paths: - week - month default: day - - &625 + - &629 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &626 + - &630 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52845,7 +52963,7 @@ paths: - bypass - all default: all - - &627 + - &631 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -52868,7 +52986,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &632 title: Rule Suites description: Response type: array @@ -52924,7 +53042,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &629 + default: &633 value: - id: 21 actor_id: 12 @@ -52968,7 +53086,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *72 - - &630 + - &634 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52984,7 +53102,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &635 title: Rule Suite description: Response type: object @@ -53091,7 +53209,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &632 + default: &636 value: id: 21 actor_id: 12 @@ -53164,9 +53282,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 '404': *6 '500': *50 put: @@ -53210,16 +53328,16 @@ paths: - tag - push - repository - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *300 + items: *301 + conditions: *302 rules: description: An array of rules within the ruleset. type: array - items: *324 + items: *326 examples: default: value: @@ -53254,9 +53372,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 '404': *6 '422': *15 '500': *50 @@ -53314,7 +53432,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 title: Ruleset version type: object description: The historical version of a ruleset @@ -53338,7 +53456,7 @@ paths: type: string format: date-time examples: - default: &634 + default: &638 value: - version_id: 3 actor: @@ -53391,9 +53509,9 @@ paths: description: Response content: application/json: - schema: &635 + schema: &639 allOf: - - *325 + - *327 - type: object required: - state @@ -53463,7 +53581,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *72 - - &636 + - &640 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53474,7 +53592,7 @@ paths: enum: - open - resolved - - &637 + - &641 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53484,7 +53602,7 @@ paths: required: false schema: type: string - - &638 + - &642 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53495,7 +53613,7 @@ paths: required: false schema: type: string - - &639 + - &643 name: exclude_providers in: query description: |- @@ -53506,7 +53624,7 @@ paths: required: false schema: type: string - - &640 + - &644 name: providers in: query description: |- @@ -53517,7 +53635,7 @@ paths: required: false schema: type: string - - &641 + - &645 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53526,7 +53644,7 @@ paths: required: false schema: type: string - - &642 + - &646 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53545,7 +53663,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &643 + - &647 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -53560,7 +53678,7 @@ paths: - *57 - *19 - *17 - - &644 + - &648 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -53570,7 +53688,7 @@ paths: required: false schema: type: string - - &645 + - &649 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -53580,7 +53698,7 @@ paths: required: false schema: type: string - - &646 + - &650 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53589,7 +53707,7 @@ paths: required: false schema: type: string - - &647 + - &651 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53598,7 +53716,7 @@ paths: schema: type: boolean default: false - - &648 + - &652 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53607,7 +53725,7 @@ paths: schema: type: boolean default: false - - &649 + - &653 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53616,7 +53734,7 @@ paths: schema: type: boolean default: false - - &650 + - &654 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53627,7 +53745,7 @@ paths: required: false schema: type: boolean - - &651 + - &655 name: included_metadata in: query description: |- @@ -53638,7 +53756,7 @@ paths: required: false schema: type: string - - &652 + - &656 name: owner_email_hash in: query description: |- @@ -53660,27 +53778,27 @@ paths: items: type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &653 + state: &657 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &654 + resolution: &658 type: - string - 'null' @@ -53799,14 +53917,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &655 + - &659 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &657 + - &661 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53870,7 +53988,7 @@ paths: - blob_url - commit_sha - commit_url - - &658 + - &662 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -53931,7 +54049,7 @@ paths: - page_url - commit_sha - commit_url - - &659 + - &663 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53953,7 +54071,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &660 + - &664 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53975,7 +54093,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &661 + - &665 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53997,7 +54115,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &662 + - &666 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -54012,7 +54130,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &663 + - &667 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -54027,7 +54145,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &664 + - &668 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -54042,7 +54160,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &665 + - &669 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -54064,7 +54182,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &666 + - &670 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -54086,7 +54204,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &667 + - &671 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -54108,7 +54226,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &668 + - &672 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -54130,7 +54248,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &669 + - &673 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -54380,7 +54498,7 @@ paths: subcategory: custom-patterns parameters: - *72 - - &670 + - &674 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -54391,7 +54509,7 @@ paths: enum: - published - unpublished - - &671 + - &675 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -54402,7 +54520,7 @@ paths: enum: - enabled - disabled - - &672 + - &676 name: sort description: The property to sort the results by. in: query @@ -54424,7 +54542,7 @@ paths: application/json: schema: type: array - items: &326 + items: &328 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -54476,7 +54594,7 @@ paths: description: List of regexes that the secret must not match. items: type: string - custom_pattern_version: &327 + custom_pattern_version: &329 type: - string - 'null' @@ -54501,7 +54619,7 @@ paths: - state - push_protection_enabled examples: - default: &673 + default: &677 value: - id: 1 name: Example Custom Pattern @@ -54564,7 +54682,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &674 + items: &678 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -54601,7 +54719,7 @@ paths: items: type: string examples: - default: &675 + default: &679 value: patterns: - name: Example Custom Pattern @@ -54625,9 +54743,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *326 + items: *328 examples: - default: &676 + default: &680 value: created_patterns: - id: 1 @@ -54679,7 +54797,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &677 + items: &681 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -54733,7 +54851,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &678 + items: &682 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -54743,7 +54861,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *327 + custom_pattern_version: *329 post_delete_action: type: string description: |- @@ -54756,7 +54874,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &679 + default: &683 value: patterns: - pattern_id: 2 @@ -54767,7 +54885,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': &328 + '412': &330 description: Precondition Failed content: application/json: @@ -54802,7 +54920,7 @@ paths: required: true content: application/json: - schema: &680 + schema: &684 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -54841,9 +54959,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *327 + custom_pattern_version: *329 examples: - default: &681 + default: &685 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -54858,9 +54976,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *326 + schema: *328 examples: - default: &682 + default: &686 value: id: 1 name: Example Custom Pattern @@ -54880,7 +54998,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': *328 + '412': *330 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -54913,11 +55031,11 @@ paths: related to push protection. type: object properties: - pattern_config_version: *327 + pattern_config_version: *329 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &329 + items: &331 type: object properties: token_type: @@ -54986,7 +55104,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *329 + items: *331 examples: default: value: @@ -55043,7 +55161,7 @@ paths: schema: type: object properties: - pattern_config_version: *327 + pattern_config_version: *329 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -55069,7 +55187,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *327 + custom_pattern_version: *329 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -55167,7 +55285,7 @@ paths: application/json: schema: type: array - items: &686 + items: &690 description: A repository security advisory. type: object properties: @@ -55411,7 +55529,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 credits_detailed: type: - array @@ -55422,7 +55540,7 @@ paths: type: object properties: user: *4 - type: *330 + type: *332 state: type: string description: The state of the user's acceptance of the @@ -55448,7 +55566,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *198 + items: *200 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -55486,7 +55604,7 @@ paths: - private_fork additionalProperties: false examples: - default: &687 + default: &691 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55873,7 +55991,7 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: default: value: @@ -56228,7 +56346,7 @@ paths: type: integer network_configurations: type: array - items: &331 + items: &333 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -56381,9 +56499,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: &332 + default: &334 value: id: 123456789ABCDEF name: My network configuration @@ -56412,7 +56530,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *72 - - &333 + - &335 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -56424,9 +56542,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 headers: Link: *63 x-github: @@ -56448,7 +56566,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *72 - - *333 + - *335 requestBody: required: true content: @@ -56501,9 +56619,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56523,7 +56641,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *72 - - *333 + - *335 responses: '204': description: Response @@ -56645,9 +56763,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 headers: Link: *63 '403': *27 @@ -56745,7 +56863,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56819,7 +56937,7 @@ paths: parent: anyOf: - type: 'null' - - *259 + - *261 members_count: type: integer examples: @@ -57152,7 +57270,7 @@ paths: - repos_count - organization examples: - default: &335 + default: &337 value: id: 1 node_id: MDQ6VGVhbTE= @@ -57229,9 +57347,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -57322,16 +57440,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '201': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 '422': *15 '403': *27 @@ -57361,7 +57479,7 @@ paths: responses: '204': description: Response - '422': &336 + '422': &338 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -57395,12 +57513,12 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *63 - '422': *336 + '422': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57447,7 +57565,7 @@ paths: application/json: schema: type: array - items: &704 + items: &708 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -57590,7 +57708,7 @@ paths: - type - url examples: - default: &705 + default: &709 value: - login: octocat id: 1 @@ -57649,7 +57767,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &339 title: Team Membership description: Team Membership type: object @@ -57677,7 +57795,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &706 + response-if-user-is-a-team-maintainer: &710 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57740,9 +57858,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: &707 + response-if-users-membership-with-team-is-now-pending: &711 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57820,7 +57938,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -57851,14 +57969,14 @@ paths: parameters: - *72 - *73 - - *338 - - *339 + - *340 + - *341 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &708 + schema: &712 title: Team Repository description: A team's access to a repository. type: object @@ -58501,8 +58619,8 @@ paths: parameters: - *72 - *73 - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -58549,8 +58667,8 @@ paths: parameters: - *72 - *73 - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -58585,9 +58703,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - response-if-child-teams-exist: &709 + response-if-child-teams-exist: &713 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58740,7 +58858,7 @@ paths: resources: type: object properties: - core: &340 + core: &342 title: Rate Limit type: object properties: @@ -58757,21 +58875,21 @@ paths: - remaining - reset - used - graphql: *340 - search: *340 - code_search: *340 - source_import: *340 - integration_manifest: *340 - actions_runner_registration: *340 - scim: *340 - dependency_snapshots: *340 - dependency_sbom: *340 - code_scanning_autofix: *340 - copilot_usage_records: *340 + graphql: *342 + search: *342 + code_search: *342 + source_import: *342 + integration_manifest: *342 + actions_runner_registration: *342 + scim: *342 + dependency_snapshots: *342 + dependency_sbom: *342 + code_scanning_autofix: *342 + copilot_usage_records: *342 required: - core - search - rate: *340 + rate: *342 required: - rate - resources @@ -58871,14 +58989,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: default-response: summary: Default response @@ -59383,7 +59501,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *342 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59401,8 +59519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -59713,10 +59831,10 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 - '307': &344 + default: *345 + '307': &346 description: Temporary Redirect content: application/json: @@ -59745,8 +59863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -59768,7 +59886,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *344 + '307': *346 '404': *6 '409': *49 x-github: @@ -59792,11 +59910,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - - &376 + - &378 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59819,7 +59937,7 @@ paths: type: integer artifacts: type: array - items: &345 + items: &347 title: Artifact description: An artifact type: object @@ -59914,7 +60032,7 @@ paths: - expires_at - updated_at examples: - default: &377 + default: &379 value: total_count: 2 artifacts: @@ -59975,9 +60093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *338 - - *339 - - &346 + - *340 + - *341 + - &348 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59989,7 +60107,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: default: value: @@ -60027,9 +60145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *338 - - *339 - - *346 + - *340 + - *341 + - *348 responses: '204': description: Response @@ -60053,9 +60171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *338 - - *339 - - *346 + - *340 + - *341 + - *348 - name: archive_format in: path required: true @@ -60065,7 +60183,7 @@ paths: '302': description: Response headers: - Location: &496 + Location: &500 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string @@ -60090,14 +60208,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &347 + schema: &349 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -60131,13 +60249,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *347 + schema: *349 examples: selected_actions: *37 responses: @@ -60166,14 +60284,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &348 + schema: &350 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -60207,13 +60325,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *348 + schema: *350 examples: selected_actions: *39 responses: @@ -60244,14 +60362,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: default: value: @@ -60277,11 +60395,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - - &350 + - &352 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -60315,7 +60433,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 title: Repository actions caches description: Repository actions caches type: object @@ -60365,7 +60483,7 @@ paths: - total_count - actions_caches examples: - default: &352 + default: &354 value: total_count: 1 actions_caches: @@ -60397,23 +60515,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *338 - - *339 + - *340 + - *341 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *350 + - *352 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60433,8 +60551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *338 - - *339 + - *340 + - *341 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60463,8 +60581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *43 responses: @@ -60547,8 +60665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -60704,9 +60822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *338 - - *339 - - &353 + - *340 + - *341 + - &355 name: job_id description: The unique identifier of the job. in: path @@ -60719,7 +60837,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &382 title: Job description: Information of a job execution in a workflow run type: object @@ -61068,9 +61186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *338 - - *339 - - *353 + - *340 + - *341 + - *355 responses: '302': description: Response @@ -61098,9 +61216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *338 - - *339 - - *353 + - *340 + - *341 + - *355 requestBody: required: false content: @@ -61151,8 +61269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Status response @@ -61211,8 +61329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -61280,8 +61398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -61299,7 +61417,7 @@ paths: type: integer secrets: type: array - items: &382 + items: &384 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -61320,7 +61438,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &385 value: total_count: 2 secrets: @@ -61353,8 +61471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -61372,7 +61490,7 @@ paths: type: integer variables: type: array - items: &384 + items: &386 title: Actions Variable type: object properties: @@ -61406,7 +61524,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &387 value: total_count: 2 variables: @@ -61439,8 +61557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -61449,11 +61567,11 @@ paths: schema: type: object properties: - enabled: &355 + enabled: &357 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *354 + selected_actions_url: *356 sha_pinning_required: *139 required: - enabled @@ -61482,8 +61600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -61494,7 +61612,7 @@ paths: schema: type: object properties: - enabled: *355 + enabled: *357 allowed_actions: *138 sha_pinning_required: *139 required: @@ -61526,14 +61644,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &356 + schema: &358 type: object properties: access_level: @@ -61550,7 +61668,7 @@ paths: required: - access_level examples: - default: &357 + default: &359 value: access_level: organization x-github: @@ -61574,15 +61692,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 responses: '204': description: Response @@ -61606,14 +61724,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: default: value: @@ -61637,8 +61755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Empty response for successful settings update @@ -61648,7 +61766,7 @@ paths: required: true content: application/json: - schema: *359 + schema: *361 examples: default: summary: Set retention days @@ -61672,8 +61790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -61681,7 +61799,7 @@ paths: application/json: schema: *140 examples: - default: *360 + default: *362 '404': *6 x-github: enabledForGitHubApps: true @@ -61700,8 +61818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -61735,14 +61853,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *361 + schema: *363 examples: default: *141 '403': *27 @@ -61764,13 +61882,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *362 + schema: *364 examples: default: *141 responses: @@ -61796,8 +61914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -61824,8 +61942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -61857,14 +61975,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: default: *148 x-github: @@ -61887,8 +62005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Success response @@ -61899,7 +62017,7 @@ paths: required: true content: application/json: - schema: *364 + schema: *366 examples: default: *148 x-github: @@ -61928,8 +62046,8 @@ paths: in: query schema: type: string - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -61974,8 +62092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: version description: The runner version to look up. in: path @@ -62042,8 +62160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -62051,9 +62169,9 @@ paths: application/json: schema: type: array - items: *365 + items: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62075,8 +62193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -62119,7 +62237,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *367 + '201': *369 '404': *6 '422': *7 '409': *49 @@ -62150,8 +62268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -62159,7 +62277,7 @@ paths: application/json: schema: *157 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62187,8 +62305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -62196,7 +62314,7 @@ paths: application/json: schema: *157 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62218,8 +62336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: '200': @@ -62228,7 +62346,7 @@ paths: application/json: schema: *155 examples: - default: *370 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62249,8 +62367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: '204': @@ -62277,8 +62395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: '200': *159 @@ -62303,8 +62421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 requestBody: required: true @@ -62353,8 +62471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 requestBody: required: true @@ -62404,11 +62522,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: - '200': *371 + '200': *373 '404': *6 x-github: githubCloudOnly: false @@ -62435,10 +62553,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 - - *372 + - *374 responses: '200': *159 '404': *6 @@ -62466,9 +62584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *338 - - *339 - - &388 + - *340 + - *341 + - &390 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -62476,7 +62594,7 @@ paths: required: false schema: type: string - - &389 + - &391 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62484,7 +62602,7 @@ paths: required: false schema: type: string - - &390 + - &392 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62493,7 +62611,7 @@ paths: required: false schema: type: string - - &391 + - &393 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -62520,7 +62638,7 @@ paths: - pending - *17 - *19 - - &392 + - &394 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -62529,7 +62647,7 @@ paths: schema: type: string format: date-time - - &373 + - &375 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62538,14 +62656,14 @@ paths: schema: type: boolean default: false - - &393 + - &395 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &394 + - &396 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62568,7 +62686,7 @@ paths: type: integer workflow_runs: type: array - items: &374 + items: &376 title: Workflow Run description: An invocation of a workflow type: object @@ -62748,7 +62866,7 @@ paths: head_commit: anyOf: - type: 'null' - - &418 + - &420 title: Simple Commit description: A commit. type: object @@ -62863,7 +62981,7 @@ paths: - workflow_url - pull_requests examples: - default: &395 + default: &397 value: total_count: 1 workflow_runs: @@ -63099,24 +63217,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *338 - - *339 - - &375 + - *340 + - *341 + - &377 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *373 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &378 + default: &380 value: id: 30433642 name: Build @@ -63357,9 +63475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '204': description: Response @@ -63382,9 +63500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '200': description: Response @@ -63512,9 +63630,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '201': description: Response @@ -63547,12 +63665,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 - *17 - *19 - - *376 + - *378 - *57 responses: '200': @@ -63569,9 +63687,9 @@ paths: type: integer artifacts: type: array - items: *345 + items: *347 examples: - default: *377 + default: *379 headers: Link: *63 x-github: @@ -63595,25 +63713,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *338 - - *339 - - *375 - - &379 + - *340 + - *341 + - *377 + - &381 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *373 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *378 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63636,10 +63754,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *338 - - *339 - - *375 - - *379 + - *340 + - *341 + - *377 + - *381 - *17 - *19 responses: @@ -63657,9 +63775,9 @@ paths: type: integer jobs: type: array - items: *380 + items: *382 examples: - default: &381 + default: &383 value: total_count: 1 jobs: @@ -63772,10 +63890,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *338 - - *339 - - *375 - - *379 + - *340 + - *341 + - *377 + - *381 responses: '302': description: Response @@ -63803,9 +63921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '202': description: Response @@ -63851,9 +63969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 - *17 - *42 - *43 @@ -64030,9 +64148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: true content: @@ -64099,9 +64217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '202': description: Response @@ -64134,9 +64252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -64166,9 +64284,9 @@ paths: type: integer jobs: type: array - items: *380 + items: *382 examples: - default: *381 + default: *383 headers: Link: *63 x-github: @@ -64193,9 +64311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '302': description: Response @@ -64222,9 +64340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '204': description: Response @@ -64251,9 +64369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '200': description: Response @@ -64322,7 +64440,7 @@ paths: items: type: object properties: - type: &503 + type: &507 type: string description: The type of reviewer. enum: @@ -64333,7 +64451,7 @@ paths: reviewer: anyOf: - *4 - - *198 + - *200 required: - environment - wait_timer @@ -64408,9 +64526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: true content: @@ -64460,7 +64578,7 @@ paths: application/json: schema: type: array - items: &498 + items: &502 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -64572,7 +64690,7 @@ paths: - created_at - updated_at examples: - default: &499 + default: &503 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -64628,9 +64746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: false content: @@ -64675,9 +64793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: false content: @@ -64731,9 +64849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '200': description: Response @@ -64870,8 +64988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -64889,9 +65007,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -64916,8 +65034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -64947,17 +65065,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: - default: &396 + default: &398 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64983,8 +65101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -65042,8 +65160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -65069,8 +65187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -65088,9 +65206,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -65113,8 +65231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -65166,17 +65284,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &397 + default: &399 value: name: USERNAME value: octocat @@ -65202,8 +65320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 requestBody: required: true @@ -65246,8 +65364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '204': @@ -65273,8 +65391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -65292,7 +65410,7 @@ paths: type: integer workflows: type: array - items: &386 + items: &388 title: Workflow description: A GitHub Actions workflow type: object @@ -65410,9 +65528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *338 - - *339 - - &387 + - *340 + - *341 + - &389 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -65427,7 +65545,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -65460,9 +65578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '204': description: Response @@ -65487,9 +65605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -65576,9 +65694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '204': description: Response @@ -65605,19 +65723,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *338 - - *339 - - *387 - - *388 + - *340 + - *341 - *389 - *390 - *391 - - *17 - - *19 - *392 - - *373 - *393 + - *17 + - *19 - *394 + - *375 + - *395 + - *396 responses: '200': description: Response @@ -65633,9 +65751,9 @@ paths: type: integer workflow_runs: type: array - items: *374 + items: *376 examples: - default: *395 + default: *397 headers: Link: *63 x-github: @@ -65667,9 +65785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '200': description: Response @@ -65730,8 +65848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *338 - - *339 + - *340 + - *341 - *57 - *17 - *42 @@ -65904,8 +66022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -65923,9 +66041,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -65949,8 +66067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -65968,9 +66086,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -65995,8 +66113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -66014,9 +66132,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -66041,8 +66159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -66072,17 +66190,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: - default: *396 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66104,8 +66222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -66163,8 +66281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -66190,8 +66308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -66209,9 +66327,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -66234,8 +66352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -66287,17 +66405,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *397 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66318,8 +66436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 requestBody: required: true @@ -66362,8 +66480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '204': @@ -66385,8 +66503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -66423,8 +66541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *338 - - *339 + - *340 + - *341 - name: assignee in: path required: true @@ -66460,8 +66578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -66571,8 +66689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *42 - *43 @@ -66629,7 +66747,7 @@ paths: initiator: type: string examples: - default: *398 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66649,8 +66767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -66658,7 +66776,7 @@ paths: application/json: schema: type: array - items: &399 + items: &401 title: Autolink reference description: An autolink reference. type: object @@ -66717,8 +66835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -66757,9 +66875,9 @@ paths: description: response content: application/json: - schema: *399 + schema: *401 examples: - default: &400 + default: &402 value: id: 1 key_prefix: TICKET- @@ -66790,9 +66908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *338 - - *339 - - &401 + - *340 + - *341 + - &403 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66804,9 +66922,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -66826,9 +66944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *338 - - *339 - - *401 + - *340 + - *341 + - *403 responses: '204': description: Response @@ -66852,8 +66970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response if Dependabot is enabled @@ -66903,8 +67021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -66925,8 +67043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -66946,8 +67064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *338 - - *339 + - *340 + - *341 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66985,7 +67103,7 @@ paths: - url protected: type: boolean - protection: &403 + protection: &405 title: Branch Protection description: Branch Protection type: object @@ -67028,7 +67146,7 @@ paths: required: - contexts - checks - enforce_admins: &406 + enforce_admins: &408 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67045,7 +67163,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &408 + required_pull_request_reviews: &410 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67067,7 +67185,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *198 + items: *200 apps: description: The list of apps with review dismissal access. @@ -67099,7 +67217,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *198 + items: *200 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67129,7 +67247,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &405 + restrictions: &407 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67192,7 +67310,7 @@ paths: type: string teams: type: array - items: *198 + items: *200 apps: type: array items: @@ -67422,9 +67540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *338 - - *339 - - &404 + - *340 + - *341 + - &406 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -67438,14 +67556,14 @@ paths: description: Response content: application/json: - schema: &414 + schema: &416 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &471 + commit: &475 title: Commit description: Commit type: object @@ -67484,7 +67602,7 @@ paths: author: anyOf: - type: 'null' - - &402 + - &404 title: Git User description: Metaproperties for Git author/committer information. @@ -67506,7 +67624,7 @@ paths: committer: anyOf: - type: 'null' - - *402 + - *404 message: type: string examples: @@ -67530,7 +67648,7 @@ paths: required: - sha - url - verification: &521 + verification: &525 title: Verification type: object properties: @@ -67610,7 +67728,7 @@ paths: type: integer files: type: array - items: &481 + items: &485 title: Diff Entry description: Diff Entry type: object @@ -67706,7 +67824,7 @@ paths: - self protected: type: boolean - protection: *403 + protection: *405 protection_url: type: string format: uri @@ -67815,7 +67933,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *342 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -67837,15 +67955,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: default: value: @@ -68039,9 +68157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -68301,7 +68419,7 @@ paths: url: type: string format: uri - required_status_checks: &411 + required_status_checks: &413 title: Status Check Policy description: Status Check Policy type: object @@ -68382,7 +68500,7 @@ paths: items: *4 teams: type: array - items: *198 + items: *200 apps: type: array items: *5 @@ -68400,7 +68518,7 @@ paths: items: *4 teams: type: array - items: *198 + items: *200 apps: type: array items: *5 @@ -68460,7 +68578,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *405 + restrictions: *407 required_conversation_resolution: type: object properties: @@ -68572,9 +68690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -68599,17 +68717,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: &407 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68631,17 +68749,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68660,9 +68778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -68687,17 +68805,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: &409 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68793,9 +68911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -68893,9 +69011,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: *409 + default: *411 '422': *15 x-github: githubCloudOnly: false @@ -68916,9 +69034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -68945,17 +69063,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: &410 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68978,17 +69096,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *410 + default: *412 '404': *6 x-github: githubCloudOnly: false @@ -69008,9 +69126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -69035,17 +69153,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: &412 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69071,9 +69189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69125,9 +69243,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 '404': *6 '422': *15 x-github: @@ -69149,9 +69267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -69175,9 +69293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -69211,9 +69329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69280,9 +69398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69346,9 +69464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: content: application/json: @@ -69414,15 +69532,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: default: value: @@ -69513,9 +69631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -69538,9 +69656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -69550,7 +69668,7 @@ paths: type: array items: *5 examples: - default: &413 + default: &415 value: - id: 1 slug: octoapp @@ -69607,9 +69725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69643,7 +69761,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69664,9 +69782,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69700,7 +69818,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69721,9 +69839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69757,7 +69875,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69779,9 +69897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -69789,9 +69907,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -69811,9 +69929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69849,9 +69967,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69872,9 +69990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69910,9 +70028,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69933,9 +70051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: content: application/json: @@ -69970,9 +70088,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69994,9 +70112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -70030,9 +70148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70090,9 +70208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70150,9 +70268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70212,9 +70330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70236,7 +70354,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: default: value: @@ -70352,8 +70470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -70632,7 +70750,7 @@ paths: description: Response content: application/json: - schema: &415 + schema: &417 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70768,7 +70886,7 @@ paths: check. type: array items: *83 - deployment: &772 + deployment: &776 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71055,9 +71173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *338 - - *339 - - &416 + - *340 + - *341 + - &418 name: check_run_id description: The unique identifier of the check run. in: path @@ -71070,9 +71188,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: &417 + default: &419 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71172,9 +71290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *338 - - *339 - - *416 + - *340 + - *341 + - *418 requestBody: required: true content: @@ -71414,9 +71532,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *417 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71436,9 +71554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *338 - - *339 - - *416 + - *340 + - *341 + - *418 - *17 - *19 responses: @@ -71548,9 +71666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *338 - - *339 - - *416 + - *340 + - *341 + - *418 responses: '201': description: Response @@ -71594,8 +71712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -71617,7 +71735,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &419 + schema: &421 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71715,7 +71833,7 @@ paths: - string - 'null' format: date-time - head_commit: *418 + head_commit: *420 latest_check_runs_count: type: integer check_runs_url: @@ -71743,7 +71861,7 @@ paths: - check_runs_url - pull_requests examples: - default: &420 + default: &422 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72034,9 +72152,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72055,8 +72173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -72365,9 +72483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *338 - - *339 - - &421 + - *340 + - *341 + - &423 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72379,9 +72497,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72404,17 +72522,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *338 - - *339 - - *421 - - &476 + - *340 + - *341 + - *423 + - &480 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &477 + - &481 name: status description: Returns check runs with the specified `status`. in: query @@ -72453,9 +72571,9 @@ paths: type: integer check_runs: type: array - items: *415 + items: *417 examples: - default: &478 + default: &482 value: total_count: 1 check_runs: @@ -72557,9 +72675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *338 - - *339 - - *421 + - *340 + - *341 + - *423 responses: '201': description: Response @@ -72588,8 +72706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *57 - *42 @@ -72611,7 +72729,7 @@ paths: application/json: schema: type: array - items: &422 + items: &424 description: Code quality finding type: object properties: @@ -72741,7 +72859,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &423 + '403': &425 description: Response if the user is not authorized to access Code quality for this repository. content: @@ -72768,8 +72886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *338 - - *339 + - *340 + - *341 - name: finding_number in: path description: The number that identifies a finding. @@ -72781,7 +72899,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -72810,7 +72928,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *423 + '403': *425 '404': *6 '503': *112 x-github: @@ -72832,8 +72950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -72915,7 +73033,7 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *423 + '403': *425 '404': *6 '503': *112 x-github: @@ -72936,8 +73054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -73057,6 +73175,122 @@ paths: enabledForGitHubApps: true category: code-quality subcategory: code-quality + "/repos/{owner}/{repo}/code-scanning/ai-scan": + get: + summary: Get AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository + parameters: + - *340 + - *341 + responses: + '200': + description: Response + content: + application/json: + schema: &426 + description: AI Scan enablement for a repository. + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the repository. + type: string + enum: + - enabled + - disabled + required: + - pr_scan + examples: + default: &427 + value: + pr_scan: enabled + '403': &439 + description: Response if GitHub Advanced Security is not enabled for this + repository + content: + application/json: + schema: *3 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning + patch: + summary: Update AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository + parameters: + - *340 + - *341 + requestBody: + required: true + content: + application/json: + schema: + description: AI Scan enablement update for a repository. + type: object + properties: + pr_scan: + description: Whether to enable or disable AI Scan for the repository. + type: string + enum: + - enabled + - disabled + minProperties: 1 + additionalProperties: false + examples: + enabled: + summary: Enable AI Scan + value: + pr_scan: enabled + disabled: + summary: Disable AI Scan + value: + pr_scan: disabled + responses: + '200': + description: Response + content: + application/json: + schema: *426 + examples: + default: *427 + '403': &443 + description: Response if the repository is archived or if GitHub Advanced + Security is not enabled for this repository + content: + application/json: + schema: *3 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning "/repos/{owner}/{repo}/code-scanning/alerts": get: summary: List code scanning alerts for a repository @@ -73075,21 +73309,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *338 - - *339 - - *424 - - *425 + - *340 + - *341 + - *428 + - *429 - *19 - *17 - - &443 + - &447 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *426 - - &444 + schema: *430 + - &448 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73114,13 +73348,13 @@ paths: be returned. in: query required: false - schema: *427 + schema: *431 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *428 + schema: *432 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -73139,24 +73373,24 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 - instances_url: *429 - state: *187 - fixed_at: *183 + number: *180 + created_at: *181 + updated_at: *182 + url: *183 + html_url: *184 + instances_url: *433 + state: *189 + fixed_at: *185 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *184 - dismissed_reason: *430 - dismissed_comment: *431 - rule: *432 - tool: *433 - most_recent_instance: *434 + dismissed_at: *186 + dismissed_reason: *434 + dismissed_comment: *435 + rule: *436 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: anyOf: - type: 'null' @@ -73279,12 +73513,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *32 - '403': &436 - description: Response if GitHub Advanced Security is not enabled for this - repository - content: - application/json: - schema: *3 + '403': *439 '404': *6 '503': *112 x-github: @@ -73306,9 +73535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *338 - - *339 - - &437 + - *340 + - *341 + - &441 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73316,30 +73545,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *178 + schema: *180 responses: '200': description: Response content: application/json: - schema: &438 + schema: &442 type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 - instances_url: *429 - state: *187 - fixed_at: *183 + number: *180 + created_at: *181 + updated_at: *182 + url: *183 + html_url: *184 + instances_url: *433 + state: *189 + fixed_at: *185 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *184 - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_at: *186 + dismissed_reason: *434 + dismissed_comment: *435 rule: type: object properties: @@ -73401,8 +73630,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *433 - most_recent_instance: *434 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: anyOf: - type: 'null' @@ -73413,7 +73642,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *435 + items: *440 required: - number - created_at @@ -73502,7 +73731,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *32 - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -73522,9 +73751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 requestBody: required: true content: @@ -73539,8 +73768,8 @@ paths: enum: - open - dismissed - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *434 + dismissed_comment: *435 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73568,7 +73797,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: default: value: @@ -73644,12 +73873,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &442 - description: Response if the repository is archived or if GitHub Advanced - Security is not enabled for this repository - content: - application/json: - schema: *3 + '403': *443 '404': *6 '503': *112 x-github: @@ -73671,15 +73895,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 responses: '200': description: Response content: application/json: - schema: &439 + schema: &444 type: object properties: status: @@ -73706,13 +73930,13 @@ paths: - description - started_at examples: - default: &440 + default: &445 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &441 + '400': &446 description: Bad Request content: application/json: @@ -73723,7 +73947,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *436 + '403': *439 '404': *6 '500': *50 x-github: @@ -73748,29 +73972,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 responses: '200': description: OK content: application/json: - schema: *439 + schema: *444 examples: - default: *440 + default: *445 '202': description: Accepted content: application/json: - schema: *439 + schema: *444 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *441 + '400': *446 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73802,9 +74026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 requestBody: required: false content: @@ -73850,8 +74074,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *441 - '403': *442 + '400': *446 + '403': *443 '404': *6 '422': description: Unprocessable Entity @@ -73875,13 +74099,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 - *19 - *17 - - *443 - - *444 + - *447 + - *448 responses: '200': description: Response @@ -73892,10 +74116,10 @@ paths: items: type: object properties: - ref: *426 - analysis_key: *445 - environment: *446 - category: *447 + ref: *430 + analysis_key: *449 + environment: *450 + category: *451 state: type: - string @@ -73912,7 +74136,7 @@ paths: properties: text: type: string - location: *448 + location: *452 html_url: type: string classifications: @@ -73920,7 +74144,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *449 + items: *453 examples: default: value: @@ -73957,7 +74181,7 @@ paths: end_column: 50 classifications: - source - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -73991,25 +74215,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *338 - - *339 - - *424 - - *425 + - *340 + - *341 + - *428 + - *429 - *19 - *17 - - *444 + - *448 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *426 + schema: *430 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &450 + schema: &454 type: string description: An identifier for the upload. examples: @@ -74031,23 +74255,23 @@ paths: application/json: schema: type: array - items: &451 + items: &455 type: object properties: - ref: *426 - commit_sha: &459 + ref: *430 + commit_sha: &463 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *445 + analysis_key: *449 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *447 + category: *451 error: type: string examples: @@ -74072,8 +74296,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *450 - tool: *433 + sarif_id: *454 + tool: *437 deletable: type: boolean warning: @@ -74135,7 +74359,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -74171,8 +74395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74185,7 +74409,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *455 examples: response: summary: application/json response @@ -74239,7 +74463,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *436 + '403': *439 '404': *6 '422': description: Response if analysis could not be processed @@ -74326,8 +74550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74383,7 +74607,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *442 + '403': *443 '404': *6 '503': *112 x-github: @@ -74405,8 +74629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -74414,7 +74638,7 @@ paths: application/json: schema: type: array - items: &452 + items: &456 title: CodeQL Database description: A CodeQL database. type: object @@ -74526,7 +74750,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -74555,8 +74779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -74568,7 +74792,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *456 examples: default: value: @@ -74600,9 +74824,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &485 + '302': &489 description: Found - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -74624,8 +74848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *338 - - *339 + - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -74635,7 +74859,7 @@ paths: responses: '204': description: Response - '403': *442 + '403': *443 '404': *6 '503': *112 x-github: @@ -74663,8 +74887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -74673,7 +74897,7 @@ paths: type: object additionalProperties: false properties: - language: &453 + language: &457 type: string description: The language targeted by the CodeQL query enum: @@ -74753,7 +74977,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &457 + schema: &461 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74763,7 +74987,7 @@ paths: description: The ID of the variant analysis. controller_repo: *62 actor: *4 - query_language: *453 + query_language: *457 query_pack_url: type: string description: The download url for the query pack. @@ -74811,7 +75035,7 @@ paths: items: type: object properties: - repository: &454 + repository: &458 title: Repository Identifier description: Repository Identifier type: object @@ -74853,7 +75077,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &458 + analysis_status: &462 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74885,7 +75109,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &455 + access_mismatch_repos: &459 type: object properties: repository_count: @@ -74900,7 +75124,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *454 + items: *458 required: - repository_count - repositories @@ -74923,8 +75147,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *455 - over_limit_repos: *455 + no_codeql_db_repos: *459 + over_limit_repos: *459 required: - access_mismatch_repos - not_found_repos @@ -74940,7 +75164,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &456 + value: &460 summary: Default response value: id: 1 @@ -75086,10 +75310,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *456 + value: *460 repository_lists: summary: Response for a successful variant analysis submission - value: *456 + value: *460 '404': *6 '422': description: Unable to process variant analysis submission @@ -75117,8 +75341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *338 - - *339 + - *340 + - *341 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75130,9 +75354,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *461 examples: - default: *456 + default: *460 '404': *6 '503': *112 x-github: @@ -75155,7 +75379,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *338 + - *340 - name: repo in: path description: The name of the controller repository. @@ -75190,7 +75414,7 @@ paths: type: object properties: repository: *62 - analysis_status: *458 + analysis_status: *462 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75315,8 +75539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -75409,7 +75633,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -75430,8 +75654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -75525,7 +75749,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *442 + '403': *443 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75596,8 +75820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -75605,7 +75829,7 @@ paths: schema: type: object properties: - commit_sha: *459 + commit_sha: *463 ref: type: string description: |- @@ -75665,7 +75889,7 @@ paths: schema: type: object properties: - id: *450 + id: *454 url: type: string description: The REST API URL for checking the status of the upload. @@ -75679,7 +75903,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *442 + '403': *443 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75702,8 +75926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *338 - - *339 + - *340 + - *341 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75751,7 +75975,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *436 + '403': *439 '404': description: Not Found if the sarif id does not match any upload '503': *112 @@ -75776,8 +76000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -75858,8 +76082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -75987,8 +76211,8 @@ paths: parameters: - *17 - *19 - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -76004,7 +76228,7 @@ paths: type: integer codespaces: type: array - items: *249 + items: *251 examples: default: value: @@ -76302,8 +76526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -76367,17 +76591,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '400': *14 '401': *23 '403': *27 @@ -76406,8 +76630,8 @@ paths: parameters: - *17 - *19 - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -76471,8 +76695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76509,9 +76733,9 @@ paths: type: integer machines: type: array - items: *461 + items: *465 examples: - default: &715 + default: &719 value: total_count: 2 machines: @@ -76551,8 +76775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76639,8 +76863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -76709,8 +76933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -76728,7 +76952,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &469 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76749,7 +76973,7 @@ paths: - created_at - updated_at examples: - default: *462 + default: *466 headers: Link: *63 x-github: @@ -76772,16 +76996,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *463 + schema: *467 examples: - default: *464 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76801,17 +77025,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: *466 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76831,8 +77055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -76885,8 +77109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -76915,8 +77139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *338 - - *339 + - *340 + - *341 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76954,7 +77178,7 @@ paths: application/json: schema: type: array - items: &467 + items: &471 title: Collaborator description: Collaborator type: object @@ -77147,8 +77371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *338 - - *339 + - *340 + - *341 - *68 responses: '204': @@ -77195,8 +77419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *338 - - *339 + - *340 + - *341 - *68 requestBody: required: false @@ -77223,7 +77447,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &535 + schema: &539 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77451,8 +77675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *338 - - *339 + - *340 + - *341 - *68 responses: '204': @@ -77484,8 +77708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *338 - - *339 + - *340 + - *341 - *68 responses: '200': @@ -77506,7 +77730,7 @@ paths: user: anyOf: - type: 'null' - - *467 + - *471 required: - permission - role_name @@ -77560,8 +77784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -77571,7 +77795,7 @@ paths: application/json: schema: type: array - items: &468 + items: &472 title: Commit Comment description: Commit Comment type: object @@ -77629,7 +77853,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &477 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77688,17 +77912,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': description: Response content: application/json: - schema: *468 + schema: *472 examples: - default: &474 + default: &478 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77755,8 +77979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -77779,7 +78003,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *472 examples: default: value: @@ -77830,8 +78054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -77853,8 +78077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77881,7 +78105,7 @@ paths: application/json: schema: type: array - items: &469 + items: &473 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77925,7 +78149,7 @@ paths: - content - created_at examples: - default: &538 + default: &542 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77970,8 +78194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -78004,9 +78228,9 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: &470 + default: &474 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -78035,9 +78259,9 @@ paths: description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -78059,10 +78283,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *338 - - *339 + - *340 + - *341 - *94 - - &539 + - &543 name: reaction_id description: The unique identifier of the reaction. in: path @@ -78117,8 +78341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *338 - - *339 + - *340 + - *341 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78174,9 +78398,9 @@ paths: application/json: schema: type: array - items: *471 + items: *475 examples: - default: &604 + default: &608 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78270,9 +78494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *338 - - *339 - - &472 + - *340 + - *341 + - &476 name: commit_sha description: The SHA of the commit. in: path @@ -78344,9 +78568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 - *17 - *19 responses: @@ -78356,9 +78580,9 @@ paths: application/json: schema: type: array - items: *468 + items: *472 examples: - default: *473 + default: *477 headers: Link: *63 x-github: @@ -78388,9 +78612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 requestBody: required: true content: @@ -78425,9 +78649,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *472 examples: - default: *474 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78455,9 +78679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 - *17 - *19 responses: @@ -78467,9 +78691,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: &595 + default: &599 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79006,11 +79230,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *338 - - *339 + - *340 + - *341 - *19 - *17 - - &475 + - &479 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -79025,9 +79249,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *475 examples: - default: &583 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79115,7 +79339,7 @@ paths: schema: type: string examples: - default: &482 + default: &486 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -79128,7 +79352,7 @@ paths: schema: type: string examples: - default: &483 + default: &487 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -79181,11 +79405,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *338 - - *339 - - *475 - - *476 - - *477 + - *340 + - *341 + - *479 + - *480 + - *481 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79219,9 +79443,9 @@ paths: type: integer check_runs: type: array - items: *415 + items: *417 examples: - default: *478 + default: *482 headers: Link: *63 x-github: @@ -79246,9 +79470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *338 - - *339 - - *475 + - *340 + - *341 + - *479 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79256,7 +79480,7 @@ paths: schema: type: integer example: 1 - - *476 + - *480 - *17 - *19 responses: @@ -79274,7 +79498,7 @@ paths: type: integer check_suites: type: array - items: *419 + items: *421 examples: default: value: @@ -79474,9 +79698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *338 - - *339 - - *475 + - *340 + - *341 + - *479 - *17 - *19 responses: @@ -79678,9 +79902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *338 - - *339 - - *475 + - *340 + - *341 + - *479 - *17 - *19 responses: @@ -79690,7 +79914,7 @@ paths: application/json: schema: type: array - items: &693 + items: &697 title: Status description: The status of a commit. type: object @@ -79771,7 +79995,7 @@ paths: site_admin: false headers: Link: *63 - '301': *342 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79799,8 +80023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -79833,11 +80057,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *479 + - *483 code_of_conduct_file: anyOf: - type: 'null' - - &480 + - &484 title: Community Health File type: object properties: @@ -79857,19 +80081,19 @@ paths: contributing: anyOf: - type: 'null' - - *480 + - *484 readme: anyOf: - type: 'null' - - *480 + - *484 issue_template: anyOf: - type: 'null' - - *480 + - *484 pull_request_template: anyOf: - type: 'null' - - *480 + - *484 required: - code_of_conduct - code_of_conduct_file @@ -79998,8 +80222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *338 - - *339 + - *340 + - *341 - *19 - *17 - name: basehead @@ -80047,8 +80271,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *471 - merge_base_commit: *471 + base_commit: *475 + merge_base_commit: *475 status: type: string enum: @@ -80072,10 +80296,10 @@ paths: - 6 commits: type: array - items: *471 + items: *475 files: type: array - items: *481 + items: *485 required: - url - html_url @@ -80321,12 +80545,12 @@ paths: schema: type: string examples: - default: *482 + default: *486 application/vnd.github.patch: schema: type: string examples: - default: *483 + default: *487 '404': *6 '500': *50 '503': *112 @@ -80371,8 +80595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *338 - - *339 + - *340 + - *341 - name: path description: path parameter in: path @@ -80542,7 +80766,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &484 + response-if-content-is-a-file-github-object: &488 summary: Response if content is a file value: type: file @@ -80679,7 +80903,7 @@ paths: - size - type - url - - &610 + - &614 title: Content File description: Content File type: object @@ -80897,7 +81121,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *484 + response-if-content-is-a-file: *488 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80966,7 +81190,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *485 + '302': *489 '304': *32 x-github: githubCloudOnly: false @@ -80989,8 +81213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *338 - - *339 + - *340 + - *341 - name: path description: path parameter in: path @@ -81085,7 +81309,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &490 title: File Commit description: File Commit type: object @@ -81241,7 +81465,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: example-for-creating-a-file: value: @@ -81295,7 +81519,7 @@ paths: schema: oneOf: - *3 - - &516 + - &520 description: Repository rule violation was detected type: object properties: @@ -81316,7 +81540,7 @@ paths: items: type: object properties: - placeholder_id: &683 + placeholder_id: &687 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81348,8 +81572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *338 - - *339 + - *340 + - *341 - name: path description: path parameter in: path @@ -81410,7 +81634,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: default: value: @@ -81465,8 +81689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *338 - - *339 + - *340 + - *341 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81596,8 +81820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -81749,25 +81973,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *338 - - *339 - - *200 - - *201 + - *340 + - *341 - *202 - *203 - *204 + - *205 + - *206 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *205 - - *487 - - *206 - *207 + - *491 - *208 - *209 + - *210 + - *211 - *57 - *42 - *43 @@ -81779,11 +82003,11 @@ paths: application/json: schema: type: array - items: &491 + items: &495 type: object description: A Dependabot alert. properties: - number: *178 + number: *180 state: type: string description: The state of the Dependabot alert. @@ -81830,13 +82054,13 @@ paths: - transitive - inconclusive - - security_advisory: *488 + security_advisory: *492 security_vulnerability: *61 - url: *181 - html_url: *182 - created_at: *179 - updated_at: *180 - dismissed_at: *184 + url: *183 + html_url: *184 + created_at: *181 + updated_at: *182 + dismissed_at: *186 dismissed_by: anyOf: - type: 'null' @@ -81860,9 +82084,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *183 - auto_dismissed_at: *489 - dismissal_request: *490 + fixed_at: *185 + auto_dismissed_at: *493 + dismissal_request: *494 assignees: type: array description: The users assigned to this alert. @@ -82119,9 +82343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *338 - - *339 - - &492 + - *340 + - *341 + - &496 name: alert_number in: path description: |- @@ -82130,13 +82354,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *178 + schema: *180 responses: '200': description: Response content: application/json: - schema: *491 + schema: *495 examples: default: value: @@ -82269,9 +82493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *338 - - *339 - - *492 + - *340 + - *341 + - *496 requestBody: required: true content: @@ -82344,7 +82568,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: default: value: @@ -82475,8 +82699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -82494,7 +82718,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &499 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82548,16 +82772,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *493 + schema: *497 examples: - default: *494 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82577,15 +82801,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *495 + schema: *499 examples: default: value: @@ -82611,8 +82835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -82665,8 +82889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -82689,8 +82913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *338 - - *339 + - *340 + - *341 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -82870,8 +83094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -83133,8 +83357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: sbom_uuid in: path required: true @@ -83145,7 +83369,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *496 + Location: *500 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -83166,8 +83390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -83205,8 +83429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -83289,7 +83513,7 @@ paths: - version - url additionalProperties: false - metadata: &497 + metadata: &501 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83328,7 +83552,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *497 + metadata: *501 resolved: type: object description: A collection of resolved package dependencies. @@ -83342,7 +83566,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *497 + metadata: *501 relationship: type: string description: A notation of whether a dependency is requested @@ -83475,8 +83699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *338 - - *339 + - *340 + - *341 - name: sha description: The SHA recorded at creation time. in: query @@ -83517,9 +83741,9 @@ paths: application/json: schema: type: array - items: *498 + items: *502 examples: - default: *499 + default: *503 headers: Link: *63 x-github: @@ -83585,8 +83809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -83668,7 +83892,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: simple-example: summary: Simple example @@ -83741,9 +83965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *338 - - *339 - - &500 + - *340 + - *341 + - &504 name: deployment_id description: deployment_id parameter in: path @@ -83755,7 +83979,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: default: value: @@ -83820,9 +84044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 responses: '204': description: Response @@ -83844,9 +84068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 - *17 - *19 responses: @@ -83856,7 +84080,7 @@ paths: application/json: schema: type: array - items: &501 + items: &505 title: Deployment Status description: The status of a deployment. type: object @@ -84020,9 +84244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 requestBody: required: true content: @@ -84097,9 +84321,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: &502 + default: &506 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84155,9 +84379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 - name: status_id in: path required: true @@ -84168,9 +84392,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: *502 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -84195,8 +84419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -84253,8 +84477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -84272,7 +84496,7 @@ paths: - 5 environments: type: array - items: &504 + items: &508 title: Environment description: Details of a deployment environment type: object @@ -84334,7 +84558,7 @@ paths: type: string examples: - wait_timer - wait_timer: &506 + wait_timer: &510 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -84376,11 +84600,11 @@ paths: items: type: object properties: - type: *503 + type: *507 reviewer: anyOf: - *4 - - *198 + - *200 required: - id - node_id @@ -84403,7 +84627,7 @@ paths: - id - node_id - type - deployment_branch_policy: &507 + deployment_branch_policy: &511 type: - object - 'null' @@ -84520,9 +84744,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *338 - - *339 - - &505 + - *340 + - *341 + - &509 name: environment_name in: path required: true @@ -84535,9 +84759,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: &508 + default: &512 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84621,9 +84845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 requestBody: required: false content: @@ -84633,7 +84857,7 @@ paths: - object - 'null' properties: - wait_timer: *506 + wait_timer: *510 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84652,14 +84876,14 @@ paths: items: type: object properties: - type: *503 + type: *507 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *507 + deployment_branch_policy: *511 additionalProperties: false examples: default: @@ -84679,9 +84903,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: *508 + default: *512 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84705,9 +84929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 responses: '204': description: Default response @@ -84732,9 +84956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *17 - *19 responses: @@ -84753,7 +84977,7 @@ paths: - 2 branch_policies: type: array - items: &509 + items: &513 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84814,9 +85038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 requestBody: required: true content: @@ -84864,9 +85088,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - example-wildcard: &510 + example-wildcard: &514 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84908,10 +85132,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 - - &511 + - *340 + - *341 + - *509 + - &515 name: branch_policy_id in: path required: true @@ -84923,9 +85147,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84944,10 +85168,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 - - *511 + - *340 + - *341 + - *509 + - *515 requestBody: required: true content: @@ -84976,9 +85200,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84997,10 +85221,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 - - *511 + - *340 + - *341 + - *509 + - *515 responses: '204': description: Response @@ -85025,9 +85249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *505 - - *339 - - *338 + - *509 + - *341 + - *340 responses: '200': description: List of deployment protection rules @@ -85044,7 +85268,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &512 + items: &516 title: Deployment protection rule description: Deployment protection rule type: object @@ -85066,7 +85290,7 @@ paths: for the environment. examples: - true - app: &513 + app: &517 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85169,9 +85393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *505 - - *339 - - *338 + - *509 + - *341 + - *340 requestBody: content: application/json: @@ -85192,9 +85416,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *512 + schema: *516 examples: - default: &514 + default: &518 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85229,9 +85453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *505 - - *339 - - *338 + - *509 + - *341 + - *340 - *19 - *17 responses: @@ -85251,7 +85475,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *513 + items: *517 examples: default: value: @@ -85286,10 +85510,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *338 - - *339 - - *505 - - &515 + - *340 + - *341 + - *509 + - &519 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85301,9 +85525,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *516 examples: - default: *514 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85324,10 +85548,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *505 - - *339 - - *338 - - *515 + - *509 + - *341 + - *340 + - *519 responses: '204': description: Response @@ -85353,9 +85577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *17 - *19 responses: @@ -85373,9 +85597,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -85400,9 +85624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 responses: '200': description: Response @@ -85432,18 +85656,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *161 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: - default: *396 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85465,9 +85689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *161 requestBody: required: true @@ -85525,9 +85749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *161 responses: '204': @@ -85553,9 +85777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *170 - *19 responses: @@ -85573,9 +85797,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -85598,9 +85822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 requestBody: required: true content: @@ -85652,18 +85876,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *164 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *397 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85684,10 +85908,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 - - *505 + - *509 requestBody: required: true content: @@ -85729,10 +85953,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 - - *505 + - *509 responses: '204': description: Response @@ -85754,8 +85978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -85823,8 +86047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *338 - - *339 + - *340 + - *341 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85983,8 +86207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -86017,9 +86241,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 '400': *14 '422': *15 '403': *27 @@ -86040,8 +86264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -86101,7 +86325,7 @@ paths: schema: oneOf: - *122 - - *516 + - *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86126,8 +86350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *338 - - *339 + - *340 + - *341 - name: file_sha in: path required: true @@ -86227,8 +86451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -86337,7 +86561,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &521 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86564,15 +86788,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 responses: '200': description: Response content: application/json: - schema: *517 + schema: *521 examples: default: value: @@ -86628,9 +86852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *338 - - *339 - - &518 + - *340 + - *341 + - &522 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -86647,7 +86871,7 @@ paths: application/json: schema: type: array - items: &519 + items: &523 title: Git Reference description: Git references within a repository type: object @@ -86723,17 +86947,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *338 - - *339 - - *518 + - *340 + - *341 + - *522 responses: '200': description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: &520 + default: &524 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86762,8 +86986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -86792,9 +87016,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86820,9 +87044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *338 - - *339 - - *518 + - *340 + - *341 + - *522 requestBody: required: true content: @@ -86851,9 +87075,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '422': *15 '409': *49 x-github: @@ -86871,9 +87095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *338 - - *339 - - *518 + - *340 + - *341 + - *522 responses: '204': description: Response @@ -86928,8 +87152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -86996,7 +87220,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &526 title: Git Tag description: Metadata for a Git tag type: object @@ -87052,7 +87276,7 @@ paths: - sha - type - url - verification: *521 + verification: *525 required: - sha - url @@ -87062,7 +87286,7 @@ paths: - tag - message examples: - default: &523 + default: &527 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87135,8 +87359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *338 - - *339 + - *340 + - *341 - name: tag_sha in: path required: true @@ -87147,9 +87371,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: *523 + default: *527 '404': *6 '409': *49 x-github: @@ -87173,8 +87397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -87248,7 +87472,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &528 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87350,8 +87574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *338 - - *339 + - *340 + - *341 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87374,7 +87598,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *528 examples: default-response: summary: Default response @@ -87432,8 +87656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -87477,8 +87701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -87488,7 +87712,7 @@ paths: application/json: schema: type: array - items: &525 + items: &529 title: Webhook description: Webhooks for repositories. type: object @@ -87551,7 +87775,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &803 + last_response: &807 title: Hook Response type: object properties: @@ -87628,8 +87852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -87682,9 +87906,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *529 examples: - default: &526 + default: &530 value: type: Repository id: 12345678 @@ -87732,17 +87956,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '200': description: Response content: application/json: - schema: *525 + schema: *529 examples: - default: *526 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -87762,9 +87986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 requestBody: required: true content: @@ -87809,9 +88033,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *529 examples: - default: *526 + default: *530 '422': *15 '404': *6 x-github: @@ -87832,9 +88056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '204': description: Response @@ -87858,9 +88082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '200': description: Response @@ -87887,9 +88111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 requestBody: required: false content: @@ -87933,12 +88157,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *338 - - *339 - - *217 - - *17 - - *218 + - *340 + - *341 - *219 + - *17 + - *220 + - *221 responses: '200': description: Response @@ -87946,9 +88170,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -87967,18 +88191,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '400': *14 '422': *15 x-github: @@ -87997,9 +88221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 - *16 responses: '202': *34 @@ -88022,9 +88246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '204': description: Response @@ -88049,9 +88273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '204': description: Response @@ -88074,8 +88298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response if immutable releases are enabled @@ -88123,8 +88347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '409': *49 @@ -88144,8 +88368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '409': *49 @@ -88202,14 +88426,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &527 + schema: &531 title: Import description: A repository import from an external source. type: object @@ -88316,7 +88540,7 @@ paths: - html_url - authors_url examples: - default: &530 + default: &534 value: vcs: subversion use_lfs: true @@ -88332,7 +88556,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &528 + '503': &532 description: Unavailable due to service under maintenance. content: application/json: @@ -88361,8 +88585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -88410,7 +88634,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *531 examples: default: value: @@ -88435,7 +88659,7 @@ paths: type: string '422': *15 '404': *6 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88463,8 +88687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -88516,7 +88740,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *531 examples: example-1: summary: Example 1 @@ -88564,7 +88788,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88587,12 +88811,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88618,9 +88842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *338 - - *339 - - &737 + - *340 + - *341 + - &741 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88634,7 +88858,7 @@ paths: application/json: schema: type: array - items: &529 + items: &533 title: Porter Author description: Porter Author type: object @@ -88688,7 +88912,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88713,8 +88937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *338 - - *339 + - *340 + - *341 - name: author_id in: path required: true @@ -88744,7 +88968,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *533 examples: default: value: @@ -88757,7 +88981,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88781,8 +89005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -88823,7 +89047,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88851,8 +89075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -88879,11 +89103,11 @@ paths: description: Response content: application/json: - schema: *527 + schema: *531 examples: - default: *530 + default: *534 '422': *15 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88906,8 +89130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -88915,8 +89139,8 @@ paths: application/json: schema: *20 examples: - default: *531 - '301': *342 + default: *535 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -88936,8 +89160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -88945,12 +89169,12 @@ paths: application/json: schema: anyOf: - - *236 + - *238 - type: object properties: {} additionalProperties: false examples: - default: &533 + default: &537 value: limit: collaborators_only origin: repository @@ -88975,13 +89199,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *532 + schema: *536 examples: default: summary: Example request body @@ -88993,9 +89217,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *533 + default: *537 '409': description: Response x-github: @@ -89017,8 +89241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -89045,8 +89269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -89100,13 +89324,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: &534 + schema: &538 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -89156,13 +89380,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *534 + schema: *538 examples: default: summary: Example request body @@ -89195,8 +89419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -89249,8 +89473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -89326,8 +89550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -89337,9 +89561,9 @@ paths: application/json: schema: type: array - items: *535 + items: *539 examples: - default: &730 + default: &734 value: - id: 1 repository: @@ -89470,9 +89694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *338 - - *339 - - *240 + - *340 + - *341 + - *242 requestBody: required: false content: @@ -89501,7 +89725,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *539 examples: default: value: @@ -89632,9 +89856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *338 - - *339 - - *240 + - *340 + - *341 + - *242 responses: '204': description: Response @@ -89657,8 +89881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -89666,9 +89890,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: *536 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -89697,8 +89921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *338 - - *339 + - *340 + - *341 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -89760,7 +89984,7 @@ paths: required: false schema: type: string - - *247 + - *249 - name: sort description: What to sort results by. in: query @@ -89785,7 +90009,7 @@ paths: type: array items: *80 examples: - default: &546 + default: &550 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89934,7 +90158,7 @@ paths: state_reason: completed headers: Link: *63 - '301': *342 + '301': *344 '422': *15 '404': *6 x-github: @@ -89963,8 +90187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -90087,7 +90311,7 @@ paths: application/json: schema: *80 examples: - default: &543 + default: &547 value: id: 1 node_id: MDU6SXNzdWUx @@ -90272,8 +90496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *102 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -90296,7 +90520,7 @@ paths: type: array items: *81 examples: - default: &545 + default: &549 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90355,8 +90579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': @@ -90365,7 +90589,7 @@ paths: application/json: schema: *81 examples: - default: &537 + default: &541 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90421,8 +90645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -90447,7 +90671,7 @@ paths: application/json: schema: *81 examples: - default: *537 + default: *541 '422': *15 x-github: githubCloudOnly: false @@ -90465,8 +90689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -90495,8 +90719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': @@ -90576,8 +90800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -90603,8 +90827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -90631,9 +90855,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -90654,8 +90878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -90688,16 +90912,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -90719,10 +90943,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *338 - - *339 + - *340 + - *341 - *94 - - *539 + - *543 responses: '204': description: Response @@ -90742,8 +90966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -90753,7 +90977,7 @@ paths: application/json: schema: type: array - items: &542 + items: &546 title: Issue Event description: Issue Event type: object @@ -90833,7 +91057,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *198 + requested_team: *200 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90900,7 +91124,7 @@ paths: required: - from - to - issue_type: &540 + issue_type: &544 title: Issue Type description: The type of issue. type: @@ -90931,11 +91155,11 @@ paths: required: - id - name - prev_issue_type: *540 + prev_issue_type: *544 sub_issue: anyOf: - type: 'null' - - &541 + - &545 title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency @@ -90993,19 +91217,19 @@ paths: parent_issue: anyOf: - type: 'null' - - *541 + - *545 blocked_by: anyOf: - type: 'null' - - *541 + - *545 blocking: anyOf: - type: 'null' - - *541 + - *545 intent: anyOf: - type: 'null' - - &547 + - &551 title: Issue Event Intent description: The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` @@ -91227,8 +91451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *338 - - *339 + - *340 + - *341 - name: event_id in: path required: true @@ -91239,7 +91463,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *546 examples: default: value: @@ -91466,9 +91690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *338 - - *339 - - &544 + - *340 + - *341 + - &548 name: issue_number description: The number that identifies the issue. in: path @@ -91484,7 +91708,7 @@ paths: examples: default: summary: Issue - value: *543 + value: *547 pinned_comment: summary: Issue with pinned comment value: @@ -91683,7 +91907,7 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *342 + '301': *344 '404': *6 '410': *30 '304': *32 @@ -91710,9 +91934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -92083,11 +92307,11 @@ paths: - already_applied - issue_already_closed examples: - default: *543 + default: *547 '422': *15 '503': *112 '403': *27 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -92107,9 +92331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -92159,7 +92383,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92175,9 +92399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: content: application/json: @@ -92204,7 +92428,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92226,9 +92450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: assignee in: path required: true @@ -92268,9 +92492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *85 - *17 - *19 @@ -92283,7 +92507,7 @@ paths: type: array items: *81 examples: - default: *545 + default: *549 headers: Link: *63 '404': *6 @@ -92316,9 +92540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -92342,7 +92566,7 @@ paths: application/json: schema: *81 examples: - default: *537 + default: *541 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -92377,9 +92601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -92391,10 +92615,10 @@ paths: type: array items: *80 examples: - default: *546 + default: *550 headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -92424,9 +92648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -92450,13 +92674,13 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *342 + '301': *344 '403': *27 '410': *30 '422': *15 @@ -92489,9 +92713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -92505,8 +92729,8 @@ paths: application/json: schema: *80 examples: - default: *543 - '301': *342 + default: *547 + '301': *344 '400': *14 '401': *23 '403': *27 @@ -92537,9 +92761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -92551,10 +92775,10 @@ paths: type: array items: *80 examples: - default: *546 + default: *550 headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -92573,9 +92797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -92589,7 +92813,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &553 + - &557 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92630,7 +92854,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - label - id @@ -92642,7 +92866,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &558 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92683,7 +92907,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - label - id @@ -92724,7 +92948,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - id - node_id @@ -92778,7 +93002,7 @@ paths: - performed_via_github_app - assignee - assigner - - &555 + - &559 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92824,7 +93048,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &560 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92870,7 +93094,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &561 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92919,7 +93143,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &562 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92948,7 +93172,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *198 + requested_team: *200 requested_reviewer: *4 required: - review_requester @@ -92961,7 +93185,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &563 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -92990,7 +93214,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *198 + requested_team: *200 requested_reviewer: *4 required: - review_requester @@ -93003,7 +93227,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &564 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -93059,7 +93283,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &565 title: Locked Issue Event description: Locked Issue Event type: object @@ -93104,7 +93328,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &566 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -93165,7 +93389,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &567 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -93226,7 +93450,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &568 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -93287,7 +93511,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &569 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -93345,7 +93569,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &572 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -93373,11 +93597,11 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *540 + issue_type: *544 intent: anyOf: - type: 'null' - - *547 + - *551 required: - issue_type - id @@ -93389,7 +93613,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &573 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -93417,11 +93641,11 @@ paths: anyOf: - type: 'null' - *5 - prev_issue_type: *540 + prev_issue_type: *544 intent: anyOf: - type: 'null' - - *547 + - *551 required: - prev_issue_type - id @@ -93433,7 +93657,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &574 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -93461,12 +93685,12 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *540 - prev_issue_type: *540 + issue_type: *544 + prev_issue_type: *544 intent: anyOf: - type: 'null' - - *547 + - *551 required: - issue_type - prev_issue_type @@ -93479,7 +93703,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &575 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -93510,7 +93734,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *541 + - *545 required: - sub_issue - id @@ -93522,7 +93746,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &576 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -93553,7 +93777,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *541 + - *545 required: - sub_issue - id @@ -93565,7 +93789,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &577 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -93596,7 +93820,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *541 + - *545 required: - parent_issue - id @@ -93608,7 +93832,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &578 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -93639,7 +93863,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *541 + - *545 required: - parent_issue - id @@ -93651,7 +93875,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &579 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -93682,7 +93906,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *541 + - *545 required: - blocked_by - id @@ -93694,7 +93918,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &580 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -93725,7 +93949,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *541 + - *545 required: - blocked_by - id @@ -93737,7 +93961,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &581 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -93768,7 +93992,7 @@ paths: blocking: anyOf: - type: 'null' - - *541 + - *545 required: - blocking - id @@ -93780,7 +94004,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &582 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -93811,7 +94035,7 @@ paths: blocking: anyOf: - type: 'null' - - *541 + - *545 required: - blocking - id @@ -93875,9 +94099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -93887,9 +94111,9 @@ paths: application/json: schema: type: array - items: *548 + items: *552 examples: - default: &549 + default: &553 value: - issue_field_id: 1 issue_field_name: DRI @@ -93929,7 +94153,7 @@ paths: color: green headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -93960,9 +94184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94034,9 +94258,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *548 + items: *552 examples: - default: *549 + default: *553 '400': *14 '403': *27 '404': *6 @@ -94072,9 +94296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94141,9 +94365,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *548 + items: *552 examples: - default: *549 + default: *553 '400': *14 '403': *27 '404': *6 @@ -94174,10 +94398,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *338 - - *339 - - *544 - - *243 + - *340 + - *341 + - *548 + - *245 responses: '204': description: Issue field value deleted successfully @@ -94202,9 +94426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -94216,7 +94440,7 @@ paths: type: array items: *79 examples: - default: &550 + default: &554 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94234,7 +94458,7 @@ paths: default: false headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -94252,9 +94476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -94334,8 +94558,8 @@ paths: type: array items: *79 examples: - default: *550 - '301': *342 + default: *554 + '301': *344 '404': *6 '410': *30 '422': *15 @@ -94354,9 +94578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -94418,8 +94642,8 @@ paths: type: array items: *79 examples: - default: *550 - '301': *342 + default: *554 + '301': *344 '404': *6 '410': *30 '422': *15 @@ -94438,13 +94662,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 responses: '204': description: Response - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -94465,9 +94689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: name in: path required: true @@ -94491,7 +94715,7 @@ paths: description: Something isn't working color: f29513 default: true - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -94513,9 +94737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -94562,9 +94786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 responses: '204': description: Response @@ -94594,9 +94818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 responses: '200': description: Response @@ -94604,8 +94828,8 @@ paths: application/json: schema: *80 examples: - default: *543 - '301': *342 + default: *547 + '301': *344 '404': *6 '410': *30 x-github: @@ -94624,9 +94848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -94652,9 +94876,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -94676,9 +94900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94710,16 +94934,16 @@ paths: description: Response content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Response content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -94741,10 +94965,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *338 - - *339 - - *544 - - *539 + - *340 + - *341 + - *548 + - *543 responses: '204': description: Response @@ -94773,9 +94997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94799,7 +95023,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -94833,9 +95057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -94847,7 +95071,7 @@ paths: type: array items: *80 examples: - default: *546 + default: *550 headers: Link: *63 '404': *6 @@ -94879,9 +95103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94910,7 +95134,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -94937,9 +95161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94972,7 +95196,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 '403': *27 '404': *6 '422': *7 @@ -95001,9 +95225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-issue-suggestions parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: state in: query required: false @@ -95040,7 +95264,7 @@ paths: application/json: schema: type: array - items: &551 + items: &555 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -95204,9 +95428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#approve-an-issue-suggestion parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: suggestion_id in: path required: true @@ -95218,9 +95442,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: &552 + default: &556 value: id: 12 issue_id: 4567 @@ -95258,9 +95482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: suggestion_id in: path required: true @@ -95272,9 +95496,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *552 + default: *556 '403': *27 '404': *6 '422': *15 @@ -95294,9 +95518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 - name: exclude @@ -95317,10 +95541,6 @@ paths: description: Timeline Event type: object anyOf: - - *553 - - *554 - - *555 - - *556 - *557 - *558 - *559 @@ -95330,6 +95550,10 @@ paths: - *563 - *564 - *565 + - *566 + - *567 + - *568 + - *569 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -95386,11 +95610,11 @@ paths: pin: anyOf: - type: 'null' - - *566 + - *570 minimized: anyOf: - type: 'null' - - *567 + - *571 required: - event - actor @@ -95666,7 +95890,7 @@ paths: type: string comments: type: array - items: &598 + items: &602 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -95907,7 +96131,7 @@ paths: type: string comments: type: array - items: *468 + items: *472 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95939,7 +96163,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - id - node_id @@ -96024,7 +96248,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - id - node_id @@ -96035,10 +96259,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *568 - - *569 - - *570 - - *571 - *572 - *573 - *574 @@ -96046,6 +96266,10 @@ paths: - *576 - *577 - *578 + - *579 + - *580 + - *581 + - *582 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -96293,8 +96517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -96304,7 +96528,7 @@ paths: application/json: schema: type: array - items: &579 + items: &583 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -96372,8 +96596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -96409,9 +96633,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: &580 + default: &584 value: id: 1 key: ssh-rsa AAA... @@ -96445,9 +96669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *338 - - *339 - - &581 + - *340 + - *341 + - &585 name: key_id description: The unique identifier of the key. in: path @@ -96459,9 +96683,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: *580 + default: *584 '404': *6 x-github: githubCloudOnly: false @@ -96479,9 +96703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *338 - - *339 - - *581 + - *340 + - *341 + - *585 responses: '204': description: Response @@ -96501,8 +96725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -96514,7 +96738,7 @@ paths: type: array items: *79 examples: - default: *550 + default: *554 headers: Link: *63 '404': *6 @@ -96535,8 +96759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -96574,7 +96798,7 @@ paths: application/json: schema: *79 examples: - default: &582 + default: &586 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96606,8 +96830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *338 - - *339 + - *340 + - *341 - name: name in: path required: true @@ -96620,7 +96844,7 @@ paths: application/json: schema: *79 examples: - default: *582 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -96637,8 +96861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *338 - - *339 + - *340 + - *341 - name: name in: path required: true @@ -96708,8 +96932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *338 - - *339 + - *340 + - *341 - name: name in: path required: true @@ -96735,8 +96959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -96775,9 +96999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *338 - - *339 - - *443 + - *340 + - *341 + - *447 responses: '200': description: Response @@ -96924,8 +97148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -96990,8 +97214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97025,9 +97249,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *471 + schema: *475 examples: - default: *583 + default: *587 '204': description: Response when already merged '404': @@ -97052,8 +97276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *338 - - *339 + - *340 + - *341 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -97094,7 +97318,7 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: default: value: @@ -97150,8 +97374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97191,9 +97415,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: &584 + default: &588 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -97252,9 +97476,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *338 - - *339 - - &585 + - *340 + - *341 + - &589 name: milestone_number description: The number that identifies the milestone. in: path @@ -97266,9 +97490,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *584 + default: *588 '404': *6 x-github: githubCloudOnly: false @@ -97285,9 +97509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *338 - - *339 - - *585 + - *340 + - *341 + - *589 requestBody: required: false content: @@ -97325,9 +97549,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *584 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97343,9 +97567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *338 - - *339 - - *585 + - *340 + - *341 + - *589 responses: '204': description: Response @@ -97366,9 +97590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *338 - - *339 - - *585 + - *340 + - *341 + - *589 - *17 - *19 responses: @@ -97380,7 +97604,7 @@ paths: type: array items: *79 examples: - default: *550 + default: *554 headers: Link: *63 x-github: @@ -97399,12 +97623,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *338 - - *339 - - *586 - - *587 + - *340 + - *341 + - *590 + - *591 - *85 - - *588 + - *592 - *17 - *19 responses: @@ -97416,7 +97640,7 @@ paths: type: array items: *105 examples: - default: *589 + default: *593 headers: Link: *63 x-github: @@ -97440,8 +97664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -97499,14 +97723,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &590 + schema: &594 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -97650,7 +97874,7 @@ paths: - custom_404 - public examples: - default: &591 + default: &595 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -97691,8 +97915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97747,9 +97971,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *594 examples: - default: *591 + default: *595 '422': *15 '409': *49 x-github: @@ -97772,8 +97996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97873,8 +98097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -97900,8 +98124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -97911,7 +98135,7 @@ paths: application/json: schema: type: array - items: &592 + items: &596 title: Page Build description: Page Build type: object @@ -98003,8 +98227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -98051,16 +98275,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *592 + schema: *596 examples: - default: &593 + default: &597 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -98108,8 +98332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *338 - - *339 + - *340 + - *341 - name: build_id in: path required: true @@ -98120,9 +98344,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *596 examples: - default: *593 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98142,8 +98366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -98251,9 +98475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *338 - - *339 - - &594 + - *340 + - *341 + - &598 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -98311,9 +98535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *338 - - *339 - - *594 + - *340 + - *341 + - *598 responses: '204': *54 '404': *6 @@ -98340,8 +98564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -98636,8 +98860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Private vulnerability reporting status @@ -98674,8 +98898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '422': *14 @@ -98696,8 +98920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '422': *14 @@ -98719,8 +98943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -98728,7 +98952,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -98759,8 +98983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -98772,7 +98996,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - properties examples: @@ -98822,8 +99046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *338 - - *339 + - *340 + - *341 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -98883,9 +99107,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *595 + default: *599 headers: Link: *63 '304': *32 @@ -98917,8 +99141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -98985,7 +99209,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &604 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -99114,7 +99338,7 @@ paths: milestone: anyOf: - type: 'null' - - *280 + - *282 active_lock_reason: type: - string @@ -99163,7 +99387,7 @@ paths: items: *4 requested_teams: type: array - items: *259 + items: *261 head: type: object properties: @@ -99201,14 +99425,14 @@ paths: _links: type: object properties: - comments: *281 - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + comments: *283 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -99219,8 +99443,8 @@ paths: - review_comment - self author_association: *77 - auto_merge: *596 - stack: *597 + auto_merge: *600 + stack: *601 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -99322,7 +99546,7 @@ paths: - merged_by - review_comments examples: - default: &601 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -99849,8 +100073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: sort in: query required: false @@ -99879,9 +100103,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: &603 + default: &607 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99958,17 +100182,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: &599 + default: &603 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100043,8 +100267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -100067,9 +100291,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: *599 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100085,8 +100309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -100108,8 +100332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -100136,9 +100360,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -100159,8 +100383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -100193,16 +100417,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -100224,10 +100448,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *338 - - *339 + - *340 + - *341 - *94 - - *539 + - *543 responses: '204': description: Response @@ -100270,9 +100494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *338 - - *339 - - &602 + - *340 + - *341 + - &606 name: pull_number description: The number that identifies the pull request. in: path @@ -100285,9 +100509,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 '304': *32 '404': *6 '406': @@ -100322,9 +100546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -100366,9 +100590,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 '422': *15 '403': *27 x-github: @@ -100390,9 +100614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: true content: @@ -100453,17 +100677,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '401': *23 '403': *27 '404': *6 @@ -100493,9 +100717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *102 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -100516,9 +100740,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: *603 + default: *607 headers: Link: *63 x-github: @@ -100551,9 +100775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: true content: @@ -100659,7 +100883,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: example-for-a-multi-line-comment: value: @@ -100747,9 +100971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *94 requestBody: required: true @@ -100772,7 +100996,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: default: value: @@ -100858,9 +101082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *17 - *19 responses: @@ -100870,9 +101094,9 @@ paths: application/json: schema: type: array - items: *471 + items: *475 examples: - default: *604 + default: *608 headers: Link: *63 x-github: @@ -100902,9 +101126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *17 - *19 responses: @@ -100914,7 +101138,7 @@ paths: application/json: schema: type: array - items: *481 + items: *485 examples: default: value: @@ -100952,9 +101176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 responses: '204': description: Response if pull request has been merged @@ -100977,9 +101201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -101102,9 +101326,9 @@ paths: category: pulls subcategory: pulls parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -101157,7 +101381,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &605 + schema: &609 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -101242,7 +101466,7 @@ paths: merge queue content: application/json: - schema: *605 + schema: *609 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -101262,7 +101486,7 @@ paths: this pull request content: application/json: - schema: *605 + schema: *609 examples: response-if-a-merge-request-already-exists: value: @@ -101278,7 +101502,7 @@ paths: it is closed content: application/json: - schema: *605 + schema: *609 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -101310,9 +101534,9 @@ paths: category: pulls subcategory: pulls parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -101325,7 +101549,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *605 + schema: *609 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -101373,9 +101597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 responses: '200': description: Response @@ -101391,7 +101615,7 @@ paths: items: *4 teams: type: array - items: *198 + items: *200 required: - users - teams @@ -101450,9 +101674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -101489,7 +101713,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: default: value: @@ -102025,9 +102249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: true content: @@ -102061,7 +102285,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: default: value: @@ -102566,9 +102790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *17 - *19 responses: @@ -102578,7 +102802,7 @@ paths: application/json: schema: type: array - items: &606 + items: &610 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102734,9 +102958,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -102826,9 +103050,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: &608 + default: &612 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102891,10 +103115,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - &607 + - *340 + - *341 + - *606 + - &611 name: review_id description: The unique identifier of the review. in: path @@ -102906,9 +103130,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: &609 + default: &613 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102967,10 +103191,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 requestBody: required: true content: @@ -102993,7 +103217,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: default: value: @@ -103055,18 +103279,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 responses: '200': description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: *608 + default: *612 '422': *7 '404': *6 x-github: @@ -103093,10 +103317,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 - *17 - *19 responses: @@ -103194,9 +103418,9 @@ paths: _links: type: object properties: - self: *281 - html: *281 - pull_request: *281 + self: *283 + html: *283 + pull_request: *283 required: - self - html @@ -103354,10 +103578,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 requestBody: required: true content: @@ -103386,7 +103610,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: default: value: @@ -103449,10 +103673,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 requestBody: required: true content: @@ -103487,9 +103711,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: *609 + default: *613 '404': *6 '422': *7 '403': *27 @@ -103511,9 +103735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -103577,8 +103801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -103591,9 +103815,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: &611 + default: &615 value: type: file encoding: base64 @@ -103635,8 +103859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *338 - - *339 + - *340 + - *341 - name: dir description: The alternate path to look for a README file in: path @@ -103656,9 +103880,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: *611 + default: *615 '404': *6 '422': *15 x-github: @@ -103680,8 +103904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -103691,7 +103915,7 @@ paths: application/json: schema: type: array - items: *612 + items: *616 examples: default: value: @@ -103790,8 +104014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -103867,9 +104091,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: &616 + default: &620 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103974,9 +104198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *338 - - *339 - - &614 + - *340 + - *341 + - &618 name: asset_id description: The unique identifier of the asset. in: path @@ -103988,9 +104212,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: &615 + default: &619 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -104025,7 +104249,7 @@ paths: type: User site_admin: false '404': *6 - '302': *485 + '302': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104041,9 +104265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *338 - - *339 - - *614 + - *340 + - *341 + - *618 requestBody: required: false content: @@ -104072,9 +104296,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: *615 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104090,9 +104314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *338 - - *339 - - *614 + - *340 + - *341 + - *618 responses: '204': description: Response @@ -104117,8 +104341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -104204,16 +104428,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -104231,8 +104455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *338 - - *339 + - *340 + - *341 - name: tag description: tag parameter in: path @@ -104245,9 +104469,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -104269,9 +104493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *338 - - *339 - - &617 + - *340 + - *341 + - &621 name: release_id description: The unique identifier of the release. in: path @@ -104285,9 +104509,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '401': description: Unauthorized x-github: @@ -104311,9 +104535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 requestBody: required: false content: @@ -104377,9 +104601,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '404': description: Not Found if the discussion category name is invalid content: @@ -104400,9 +104624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 responses: '204': description: Response @@ -104423,9 +104647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 - *17 - *19 responses: @@ -104435,7 +104659,7 @@ paths: application/json: schema: type: array - items: *613 + items: *617 examples: default: value: @@ -104516,9 +104740,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 - name: name in: query required: true @@ -104544,7 +104768,7 @@ paths: description: Response for successful upload content: application/json: - schema: *613 + schema: *617 examples: response-for-successful-upload: value: @@ -104599,9 +104823,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -104625,9 +104849,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -104648,9 +104872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 requestBody: required: true content: @@ -104680,16 +104904,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -104711,10 +104935,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *338 - - *339 - - *617 - - *539 + - *340 + - *341 + - *621 + - *543 responses: '204': description: Response @@ -104738,9 +104962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 - *17 - *19 responses: @@ -104756,8 +104980,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *301 - - &618 + - *303 + - &622 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104776,72 +105000,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *302 - - *618 - - allOf: - - *303 - - *618 - allOf: - *304 - - *618 - - allOf: - - *619 - - *618 + - *622 - allOf: - *305 - - *618 + - *622 - allOf: - *306 - - *618 + - *622 + - allOf: + - *623 + - *622 - allOf: - *307 - - *618 + - *622 - allOf: - *308 - - *618 + - *622 - allOf: - *309 - - *618 + - *622 - allOf: - *310 - - *618 + - *622 - allOf: - *311 - - *618 + - *622 - allOf: - *312 - - *618 + - *622 - allOf: - *313 - - *618 + - *622 - allOf: - *314 - - *618 + - *622 - allOf: - - *319 - - *618 + - *315 + - *622 - allOf: - - *320 - - *618 + - *316 + - *622 - allOf: - *321 - - *618 + - *622 - allOf: - - *620 - - *618 + - *322 + - *622 - allOf: - - *315 - - *618 + - *323 + - *622 - allOf: - - *316 - - *618 + - *624 + - *622 - allOf: - *317 - - *618 + - *622 - allOf: - *318 - - *618 + - *622 + - allOf: + - *319 + - *622 + - allOf: + - *320 + - *622 examples: default: value: @@ -104880,8 +105104,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - name: includes_parents @@ -104892,7 +105116,7 @@ paths: schema: type: boolean default: true - - *621 + - *625 responses: '200': description: Response @@ -104900,7 +105124,7 @@ paths: application/json: schema: type: array - items: *322 + items: *324 examples: default: value: @@ -104947,8 +105171,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 requestBody: description: Request body required: true @@ -104968,16 +105192,16 @@ paths: - tag - push default: branch - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *296 + items: *301 + conditions: *298 rules: type: array description: An array of rules within the ruleset. - items: *622 + items: *626 required: - name - enforcement @@ -105008,9 +105232,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: &633 + default: &637 value: id: 42 name: super cool ruleset @@ -105058,13 +105282,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *338 - - *339 - - *623 - - *624 - - *625 - - *626 + - *340 + - *341 - *627 + - *628 + - *629 + - *630 + - *631 - *17 - *19 responses: @@ -105072,9 +105296,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *632 examples: - default: *629 + default: *633 '404': *6 '500': *50 x-github: @@ -105095,17 +105319,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *338 - - *339 - - *630 + - *340 + - *341 + - *634 responses: '200': description: Response content: application/json: - schema: *631 + schema: *635 examples: - default: *632 + default: *636 '404': *6 '500': *50 x-github: @@ -105133,8 +105357,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105154,9 +105378,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *633 + default: *637 '404': *6 '500': *50 put: @@ -105174,8 +105398,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105200,16 +105424,16 @@ paths: - branch - tag - push - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *296 + items: *301 + conditions: *298 rules: description: An array of rules within the ruleset. type: array - items: *622 + items: *626 examples: default: value: @@ -105237,9 +105461,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *633 + default: *637 '404': *6 '422': *15 '500': *50 @@ -105258,8 +105482,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105282,8 +105506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - name: ruleset_id @@ -105299,9 +105523,9 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: - default: *634 + default: *638 '404': *6 '500': *50 x-github: @@ -105320,8 +105544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105339,7 +105563,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *639 examples: default: value: @@ -105394,28 +105618,28 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *338 - - *339 - - *636 - - *637 - - *638 - - *639 + - *340 + - *341 - *640 - *641 - *642 - *643 - - *57 - - *19 - - *17 - *644 - *645 - *646 - *647 + - *57 + - *19 + - *17 - *648 - *649 - *650 - *651 - *652 + - *653 + - *654 + - *655 + - *656 responses: '200': description: Response @@ -105426,21 +105650,21 @@ paths: items: type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolved_at: type: - string @@ -105546,7 +105770,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *655 + - *659 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -105705,32 +105929,32 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *338 - - *339 - - *437 - - *649 + - *340 + - *341 + - *441 + - *653 responses: '200': description: Response content: application/json: - schema: &656 + schema: &660 type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolved_at: type: - string @@ -105836,7 +106060,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *655 + - *659 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -105859,7 +106083,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &822 + metadata: &826 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -105932,9 +106156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 requestBody: required: true content: @@ -105942,8 +106166,8 @@ paths: schema: type: object properties: - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105991,7 +106215,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *660 examples: default: value: @@ -106093,9 +106317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 - *19 - *17 responses: @@ -106106,7 +106330,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &824 + items: &828 type: object properties: type: @@ -106133,10 +106357,6 @@ paths: - commit details: oneOf: - - *657 - - *658 - - *659 - - *660 - *661 - *662 - *663 @@ -106146,6 +106366,10 @@ paths: - *667 - *668 - *669 + - *670 + - *671 + - *672 + - *673 examples: default: value: @@ -106234,11 +106458,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 - - *670 - - *671 - - *672 + - *340 + - *341 + - *674 + - *675 + - *676 - *57 - *42 - *43 @@ -106249,9 +106473,9 @@ paths: application/json: schema: type: array - items: *326 + items: *328 examples: - default: *673 + default: *677 headers: Link: *63 '403': *27 @@ -106274,8 +106498,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -106288,9 +106512,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *674 + items: *678 examples: - default: *675 + default: *679 responses: '201': description: All patterns created successfully. @@ -106302,9 +106526,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *326 + items: *328 examples: - default: *676 + default: *680 '400': *14 '403': *27 '404': *6 @@ -106328,7 +106552,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *677 + items: *681 delete: summary: Bulk delete repository custom patterns description: |- @@ -106347,8 +106571,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -106362,7 +106586,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *678 + items: *682 post_delete_action: type: string description: |- @@ -106375,14 +106599,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *679 + default: *683 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *328 + '412': *330 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -106402,8 +106626,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 + - *340 + - *341 - name: pattern_id in: path required: true @@ -106414,21 +106638,21 @@ paths: required: true content: application/json: - schema: *680 + schema: *684 examples: - default: *681 + default: *685 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *326 + schema: *328 examples: - default: *682 + default: *686 '400': *14 '403': *27 '404': *6 - '412': *328 + '412': *330 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -106446,8 +106670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -106455,14 +106679,14 @@ paths: schema: type: object properties: - reason: &684 + reason: &688 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *683 + placeholder_id: *687 required: - reason - placeholder_id @@ -106479,7 +106703,7 @@ paths: schema: type: object properties: - reason: *684 + reason: *688 expire_at: type: - string @@ -106526,8 +106750,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106542,7 +106766,7 @@ paths: properties: incremental_scans: type: array - items: &685 + items: &689 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106575,15 +106799,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *685 + items: *689 backfill_scans: type: array - items: *685 + items: *689 custom_pattern_backfill_scans: type: array items: allOf: - - *685 + - *689 - type: object properties: pattern_name: @@ -106596,7 +106820,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *685 + items: *689 examples: default: value: @@ -106661,8 +106885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *338 - - *339 + - *340 + - *341 - *57 - name: sort description: The property to sort the results by. @@ -106706,9 +106930,9 @@ paths: application/json: schema: type: array - items: *686 + items: *690 examples: - default: *687 + default: *691 '400': *14 '404': *6 x-github: @@ -106731,8 +106955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -106812,7 +107036,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -106902,9 +107126,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: &690 + default: &694 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -107122,7 +107346,7 @@ paths: description: Validation failed. content: application/json: - schema: &688 + schema: &692 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -107195,8 +107419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -107309,7 +107533,7 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: default: value: @@ -107435,7 +107659,7 @@ paths: description: Validation failed. content: application/json: - schema: *688 + schema: *692 examples: missing_section: value: @@ -107482,17 +107706,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 responses: '200': description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: *690 + default: *694 '403': *27 '404': *6 x-github: @@ -107516,9 +107740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 requestBody: required: true content: @@ -107598,7 +107822,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -107689,10 +107913,10 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: *690 - add_credit: *690 + default: *694 + add_credit: *694 '403': *27 '404': *6 '422': @@ -107730,9 +107954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 responses: '202': *34 '400': *14 @@ -107759,17 +107983,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 responses: '202': description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 '400': *14 '422': *15 '403': *27 @@ -107790,8 +108014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#list-pull-request-stacks parameters: - - *338 - - *339 + - *340 + - *341 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -107924,8 +108148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -107992,7 +108216,7 @@ paths: format: date-time pull_requests: type: array - items: &691 + items: &695 title: Pull Request Stack Pull Request type: object allOf: @@ -108219,8 +108443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -108269,7 +108493,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *695 examples: default: value: @@ -108389,8 +108613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -108462,7 +108686,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *695 examples: default: value: @@ -108669,8 +108893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -108719,7 +108943,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *695 examples: default: value: @@ -108825,8 +109049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -108920,8 +109144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#get-stargazer-count parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -108963,8 +109187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#get-repository-star-history parameters: - - *338 - - *339 + - *340 + - *341 - name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -109060,8 +109284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -109070,7 +109294,7 @@ paths: application/json: schema: type: array - items: &692 + items: &696 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -109103,8 +109327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -109182,8 +109406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -109277,8 +109501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -109432,8 +109656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -109443,7 +109667,7 @@ paths: application/json: schema: type: array - items: *692 + items: *696 examples: default: value: @@ -109476,8 +109700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *338 - - *339 + - *340 + - *341 - name: sha in: path required: true @@ -109533,7 +109757,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *697 examples: default: value: @@ -109587,8 +109811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -109620,14 +109844,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &694 + schema: &698 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -109700,8 +109924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -109727,7 +109951,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *698 examples: default: value: @@ -109754,8 +109978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -109775,8 +109999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -109858,8 +110082,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *338 - - *339 + - *340 + - *341 - name: ref in: path required: true @@ -109895,8 +110119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -109906,9 +110130,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 headers: Link: *63 '404': *6 @@ -109928,8 +110152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *338 - - *339 + - *340 + - *341 - *19 - *17 responses: @@ -109937,7 +110161,7 @@ paths: description: Response content: application/json: - schema: &695 + schema: &699 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -109949,7 +110173,7 @@ paths: required: - names examples: - default: &696 + default: &700 value: names: - octocat @@ -109972,8 +110196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -110004,9 +110228,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *699 examples: - default: *696 + default: *700 '404': *6 '422': *7 x-github: @@ -110027,9 +110251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *338 - - *339 - - &697 + - *340 + - *341 + - &701 name: per description: The time frame to display results for. in: query @@ -110060,7 +110284,7 @@ paths: - 128 clones: type: array - items: &698 + items: &702 title: Traffic type: object properties: @@ -110147,8 +110371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -110242,8 +110466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -110306,9 +110530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *338 - - *339 - - *697 + - *340 + - *341 + - *701 responses: '200': description: Response @@ -110329,7 +110553,7 @@ paths: - 3782 views: type: array - items: *698 + items: *702 required: - uniques - count @@ -110406,8 +110630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -110681,8 +110905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -110705,8 +110929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -110728,8 +110952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -110755,8 +110979,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *338 - - *339 + - *340 + - *341 - name: ref in: path required: true @@ -110848,9 +111072,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -111099,7 +111323,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &699 + text_matches: &703 title: Search Result Text Matches type: array items: @@ -111262,7 +111486,7 @@ paths: enum: - author-date - committer-date - - &700 + - &704 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -111331,7 +111555,7 @@ paths: committer: anyOf: - type: 'null' - - *402 + - *404 comment_count: type: integer message: @@ -111350,7 +111574,7 @@ paths: url: type: string format: uri - verification: *521 + verification: *525 required: - author - committer @@ -111365,7 +111589,7 @@ paths: committer: anyOf: - type: 'null' - - *402 + - *404 parents: type: array items: @@ -111382,7 +111606,7 @@ paths: type: number node_id: type: string - text_matches: *699 + text_matches: *703 required: - sha - node_id @@ -111574,7 +111798,7 @@ paths: - interactions - created - updated - - *700 + - *704 - *17 - *19 - name: advanced_search @@ -111688,11 +111912,11 @@ paths: type: - string - 'null' - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: type: string state_reason: @@ -111706,7 +111930,7 @@ paths: milestone: anyOf: - type: 'null' - - *280 + - *282 comments: type: integer created_at: @@ -111720,7 +111944,7 @@ paths: - string - 'null' format: date-time - text_matches: *699 + text_matches: *703 pull_request: type: object properties: @@ -111769,7 +111993,7 @@ paths: timeline_url: type: string format: uri - type: *244 + type: *246 performed_via_github_app: anyOf: - type: 'null' @@ -111996,7 +112220,7 @@ paths: enum: - created - updated - - *700 + - *704 - *17 - *19 responses: @@ -112041,7 +112265,7 @@ paths: - 'null' score: type: number - text_matches: *699 + text_matches: *703 required: - id - node_id @@ -112126,7 +112350,7 @@ paths: - forks - help-wanted-issues - updated - - *700 + - *704 - *17 - *19 responses: @@ -112372,7 +112596,7 @@ paths: - admin - pull - push - text_matches: *699 + text_matches: *703 temp_clone_token: type: string allow_merge_commit: @@ -112680,7 +112904,7 @@ paths: - string - 'null' format: uri - text_matches: *699 + text_matches: *703 related: type: - array @@ -112873,7 +113097,7 @@ paths: - followers - repositories - joined - - *700 + - *704 - *17 - *19 responses: @@ -112983,7 +113207,7 @@ paths: type: - boolean - 'null' - text_matches: *699 + text_matches: *703 blog: type: - string @@ -113065,7 +113289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &703 + - &707 name: team_id description: The unique identifier of the team. in: path @@ -113077,9 +113301,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -113106,7 +113330,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *703 + - *707 requestBody: required: true content: @@ -113176,16 +113400,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '201': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 '422': *15 '403': *27 @@ -113213,7 +113437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *703 + - *707 responses: '204': description: Response @@ -113242,7 +113466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *703 + - *707 - *17 - *19 responses: @@ -113252,9 +113476,9 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *63 x-github: @@ -113282,7 +113506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *703 + - *707 - name: role description: Filters members returned by their role in the team. in: query @@ -113303,9 +113527,9 @@ paths: application/json: schema: type: array - items: *704 + items: *708 examples: - default: *705 + default: *709 headers: Link: *63 '404': *6 @@ -113333,7 +113557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -113370,7 +113594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -113410,7 +113634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -113447,16 +113671,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *703 + - *707 - *68 responses: '200': description: Response content: application/json: - schema: *337 + schema: *339 examples: - response-if-user-is-a-team-maintainer: *706 + response-if-user-is-a-team-maintainer: *710 '404': *6 x-github: githubCloudOnly: false @@ -113489,7 +113713,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *703 + - *707 - *68 requestBody: required: false @@ -113515,9 +113739,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: *707 + response-if-users-membership-with-team-is-now-pending: *711 '403': description: Forbidden if team synchronization is set up '422': @@ -113551,7 +113775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -113579,7 +113803,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *703 + - *707 - *17 - *19 responses: @@ -113591,7 +113815,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 '404': *6 @@ -113621,15 +113845,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *703 - - *338 - - *339 + - *707 + - *340 + - *341 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *708 + schema: *712 examples: alternative-response-with-extra-repository-information: value: @@ -113780,9 +114004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *703 - - *338 - - *339 + - *707 + - *340 + - *341 requestBody: required: false content: @@ -113832,9 +114056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *703 - - *338 - - *339 + - *707 + - *340 + - *341 responses: '204': description: Response @@ -113859,7 +114083,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *703 + - *707 - *17 - *19 responses: @@ -113869,9 +114093,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - response-if-child-teams-exist: *709 + response-if-child-teams-exist: *713 headers: Link: *63 '404': *6 @@ -113906,7 +114130,7 @@ paths: application/json: schema: oneOf: - - &711 + - &715 title: Private User description: Private User type: object @@ -114156,7 +114380,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *710 + - *714 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -114316,7 +114540,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *715 examples: default: value: @@ -114519,9 +114743,9 @@ paths: type: integer codespaces: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 '304': *32 '500': *50 '401': *23 @@ -114660,17 +114884,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '401': *23 '403': *27 '404': *6 @@ -114714,7 +114938,7 @@ paths: type: integer secrets: type: array - items: &712 + items: &716 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114756,7 +114980,7 @@ paths: - visibility - selected_repositories_url examples: - default: *462 + default: *466 headers: Link: *63 x-github: @@ -114834,7 +115058,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *716 examples: default: value: @@ -114980,7 +115204,7 @@ paths: type: array items: *153 examples: - default: *199 + default: *201 '401': *23 '403': *27 '404': *6 @@ -115124,15 +115348,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '304': *32 '500': *50 '401': *23 @@ -115158,7 +115382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 requestBody: required: false content: @@ -115188,9 +115412,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '401': *23 '403': *27 '404': *6 @@ -115212,7 +115436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '202': *34 '304': *32 @@ -115241,13 +115465,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '202': description: Response content: application/json: - schema: &713 + schema: &717 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -115300,7 +115524,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &714 + default: &718 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -115332,7 +115556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *251 + - *253 - name: export_id in: path required: true @@ -115345,9 +115569,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *714 + default: *718 '404': *6 x-github: githubCloudOnly: false @@ -115368,7 +115592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *251 + - *253 responses: '200': description: Response @@ -115384,9 +115608,9 @@ paths: type: integer machines: type: array - items: *461 + items: *465 examples: - default: *715 + default: *719 '304': *32 '500': *50 '401': *23 @@ -115415,7 +115639,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *251 + - *253 requestBody: required: true content: @@ -115471,11 +115695,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *341 + repository: *343 machine: anyOf: - type: 'null' - - *461 + - *465 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -116272,15 +116496,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '304': *32 '500': *50 '400': *14 @@ -116312,15 +116536,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '500': *50 '401': *23 '403': *27 @@ -116350,9 +116574,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: &727 + default: &731 value: - id: 197 name: hello_docker @@ -116453,7 +116677,7 @@ paths: application/json: schema: type: array - items: &716 + items: &720 title: Email description: Email type: object @@ -116523,9 +116747,9 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: - default: &729 + default: &733 value: - email: octocat@github.com verified: true @@ -116602,7 +116826,7 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: default: value: @@ -116860,7 +117084,7 @@ paths: application/json: schema: type: array - items: &717 + items: &721 title: GPG Key description: A unique encryption key type: object @@ -117005,7 +117229,7 @@ paths: - subkeys - revoked examples: - default: &746 + default: &750 value: - id: 3 name: Octocat's GPG Key @@ -117090,9 +117314,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *721 examples: - default: &718 + default: &722 value: id: 3 name: Octocat's GPG Key @@ -117149,7 +117373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &719 + - &723 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -117161,9 +117385,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *721 examples: - default: *718 + default: *722 '404': *6 '304': *32 '403': *27 @@ -117186,7 +117410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *719 + - *723 responses: '204': description: Response @@ -117474,12 +117698,12 @@ paths: application/json: schema: anyOf: - - *236 + - *238 - type: object properties: {} additionalProperties: false examples: - default: *237 + default: *239 '204': description: Response when there are no restrictions x-github: @@ -117503,7 +117727,7 @@ paths: required: true content: application/json: - schema: *532 + schema: *536 examples: default: value: @@ -117514,7 +117738,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -117595,7 +117819,7 @@ paths: - closed - all default: open - - *247 + - *249 - name: sort description: What to sort results by. in: query @@ -117620,7 +117844,7 @@ paths: type: array items: *80 examples: - default: *248 + default: *250 headers: Link: *63 '404': *6 @@ -117653,7 +117877,7 @@ paths: application/json: schema: type: array - items: &720 + items: &724 title: Key description: Key type: object @@ -117756,9 +117980,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *724 examples: - default: &721 + default: &725 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117791,15 +118015,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *581 + - *585 responses: '200': description: Response content: application/json: - schema: *720 + schema: *724 examples: - default: *721 + default: *725 '404': *6 '304': *32 '403': *27 @@ -117822,7 +118046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *581 + - *585 responses: '204': description: Response @@ -117855,7 +118079,7 @@ paths: application/json: schema: type: array - items: &722 + items: &726 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117934,7 +118158,7 @@ paths: - account - plan examples: - default: &723 + default: &727 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -117996,9 +118220,9 @@ paths: application/json: schema: type: array - items: *722 + items: *726 examples: - default: *723 + default: *727 headers: Link: *63 '304': *32 @@ -118038,7 +118262,7 @@ paths: application/json: schema: type: array - items: *253 + items: *255 examples: default: value: @@ -118152,7 +118376,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -118239,9 +118463,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *253 + schema: *255 examples: - default: &724 + default: &728 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -118288,9 +118512,9 @@ paths: processed asynchronously. content: application/json: - schema: *253 + schema: *255 examples: - default: *724 + default: *728 '403': *27 '404': *6 '422': *15 @@ -118319,7 +118543,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: value: @@ -118581,7 +118805,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -118761,7 +118985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *256 + - *258 - name: exclude in: query required: false @@ -118774,7 +118998,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -118968,7 +119192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *256 + - *258 responses: '302': description: Response @@ -118994,7 +119218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *256 + - *258 responses: '204': description: Response @@ -119023,8 +119247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *256 - - *725 + - *258 + - *729 responses: '204': description: Response @@ -119048,7 +119272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *256 + - *258 - *17 - *19 responses: @@ -119060,7 +119284,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 '404': *6 @@ -119139,7 +119363,7 @@ paths: - docker - nuget - container - - *726 + - *730 - *19 - *17 responses: @@ -119149,10 +119373,10 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *727 - '400': *728 + default: *731 + '400': *732 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119172,16 +119396,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &747 + default: &751 value: id: 40201 name: octo-name @@ -119294,8 +119518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 responses: '204': description: Response @@ -119325,8 +119549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 - name: token description: package token schema: @@ -119358,8 +119582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 - *19 - *17 - name: state @@ -119379,7 +119603,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -119428,15 +119652,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -119472,9 +119696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '204': description: Response @@ -119504,9 +119728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '204': description: Response @@ -119543,9 +119767,9 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: - default: *729 + default: *733 headers: Link: *63 '304': *32 @@ -119658,7 +119882,7 @@ paths: type: array items: *76 examples: - default: &736 + default: &740 summary: Default response value: - id: 1296269 @@ -119976,9 +120200,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120016,9 +120240,9 @@ paths: application/json: schema: type: array - items: *535 + items: *539 examples: - default: *730 + default: *734 headers: Link: *63 '304': *32 @@ -120041,7 +120265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *240 + - *242 responses: '204': description: Response @@ -120064,7 +120288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *240 + - *242 responses: '204': description: Response @@ -120097,7 +120321,7 @@ paths: application/json: schema: type: array - items: &731 + items: &735 title: Social account description: Social media account type: object @@ -120114,7 +120338,7 @@ paths: - provider - url examples: - default: &732 + default: &736 value: - provider: twitter url: https://twitter.com/github @@ -120177,9 +120401,9 @@ paths: application/json: schema: type: array - items: *731 + items: *735 examples: - default: *732 + default: *736 '422': *15 '304': *32 '404': *6 @@ -120267,7 +120491,7 @@ paths: application/json: schema: type: array - items: &733 + items: &737 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -120287,7 +120511,7 @@ paths: - title - created_at examples: - default: &764 + default: &768 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120352,9 +120576,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *737 examples: - default: &734 + default: &738 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120384,7 +120608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &735 + - &739 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -120396,9 +120620,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *737 examples: - default: *734 + default: *738 '404': *6 '304': *32 '403': *27 @@ -120421,7 +120645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *735 + - *739 responses: '204': description: Response @@ -120450,7 +120674,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &765 + - &769 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -120475,11 +120699,11 @@ paths: type: array items: *76 examples: - default-response: *736 + default-response: *740 application/vnd.github.v3.star+json: schema: type: array - items: &766 + items: &770 title: Starred Repository description: Starred Repository type: object @@ -120635,8 +120859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response if this repository is starred by you @@ -120664,8 +120888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -120689,8 +120913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -120725,7 +120949,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 '304': *32 @@ -120762,7 +120986,7 @@ paths: application/json: schema: type: array - items: *334 + items: *336 examples: default: value: @@ -120848,10 +121072,10 @@ paths: application/json: schema: oneOf: - - *711 - - *710 + - *715 + - *714 examples: - default-response: &740 + default-response: &744 summary: Default response value: login: octocat @@ -120886,7 +121110,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &741 + response-with-git-hub-plan-information: &745 summary: Response with GitHub plan information value: login: octocat @@ -120943,14 +121167,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &738 + - &742 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *279 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -120984,9 +121208,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - draft_issue: *285 + draft_issue: *287 '304': *32 '403': *27 '401': *23 @@ -121009,7 +121233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *737 + - *741 - *17 responses: '200': @@ -121044,8 +121268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *738 - - *279 + - *742 + - *281 requestBody: required: true content: @@ -121160,17 +121384,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *739 + schema: *743 examples: table_view: summary: Response for creating a table view - value: *289 + value: *291 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *32 '403': *27 '401': *23 @@ -121216,11 +121440,11 @@ paths: application/json: schema: oneOf: - - *711 - - *710 + - *715 + - *714 examples: - default-response: *740 - response-with-git-hub-plan-information: *741 + default-response: *744 + response-with-git-hub-plan-information: *745 '404': *6 x-github: githubCloudOnly: false @@ -121270,8 +121494,8 @@ paths: required: - subject_digests examples: - default: *742 - withPredicateType: *743 + default: *746 + withPredicateType: *747 responses: '200': description: Response @@ -121325,7 +121549,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *744 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121530,7 +121754,7 @@ paths: initiator: type: string examples: - default: *398 + default: *400 '201': description: Response content: @@ -121597,7 +121821,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *194 + items: *196 examples: default: summary: Example response for listing user copilot spaces @@ -121812,9 +122036,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: &745 + default: &749 summary: Example response for a user copilot space value: id: 42 @@ -121913,9 +122137,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *745 + default: *749 '403': *27 '404': *6 x-github: @@ -122039,9 +122263,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *745 + default: *749 '403': *27 '404': *6 '422': *15 @@ -122118,7 +122342,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *196 + items: *198 examples: default: value: @@ -122261,7 +122485,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: default: value: @@ -122372,7 +122596,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: default: value: @@ -122502,7 +122726,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *197 + items: *199 examples: default: value: @@ -122594,7 +122818,7 @@ paths: description: Resource created content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -122610,7 +122834,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -122663,7 +122887,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -122730,7 +122954,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -122807,9 +123031,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *727 + default: *731 '403': *27 '401': *23 x-github: @@ -123199,9 +123423,9 @@ paths: application/json: schema: type: array - items: *717 + items: *721 examples: - default: *746 + default: *750 headers: Link: *63 x-github: @@ -123305,7 +123529,7 @@ paths: application/json: schema: *20 examples: - default: *531 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123430,7 +123654,7 @@ paths: - docker - nuget - container - - *726 + - *730 - *68 - *19 - *17 @@ -123441,12 +123665,12 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *727 + default: *731 '403': *27 '401': *23 - '400': *728 + '400': *732 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123466,17 +123690,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *747 + default: *751 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123497,8 +123721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 responses: '204': @@ -123531,8 +123755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 - name: token description: package token @@ -123565,8 +123789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 responses: '200': @@ -123575,7 +123799,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -123633,16 +123857,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 - *68 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -123677,10 +123901,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *263 - - *264 - - *68 + - *265 - *266 + - *68 + - *268 responses: '204': description: Response @@ -123712,10 +123936,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *263 - - *264 - - *68 + - *265 - *266 + - *68 + - *268 responses: '204': description: Response @@ -123756,9 +123980,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: Link: *63 '304': *32 @@ -123780,16 +124004,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *279 + - *281 - *68 responses: '200': description: Response content: application/json: - schema: *277 + schema: *279 examples: - default: *278 + default: *280 headers: Link: *63 '304': *32 @@ -123811,7 +124035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *279 + - *281 - *68 - *17 - *42 @@ -123823,9 +124047,9 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: - default: *748 + default: *752 headers: Link: *63 '304': *32 @@ -123847,7 +124071,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *68 - - *279 + - *281 requestBody: required: true content: @@ -123885,7 +124109,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *749 + items: *753 required: - name - data_type @@ -123901,7 +124125,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *750 + iteration_configuration: *754 required: - name - data_type @@ -123923,20 +124147,20 @@ paths: value: name: Due date data_type: date - single_select_field: *751 - iteration_field: *752 + single_select_field: *755 + iteration_field: *756 responses: '201': description: Response content: application/json: - schema: *282 + schema: *284 examples: - text_field: *753 - number_field: *754 - date_field: *755 - single_select_field: *756 - iteration_field: *757 + text_field: *757 + number_field: *758 + date_field: *759 + single_select_field: *760 + iteration_field: *761 '304': *32 '403': *27 '401': *23 @@ -123957,17 +124181,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *279 - - *758 + - *281 + - *762 - *68 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: *759 + default: *763 headers: Link: *63 '304': *32 @@ -123990,7 +124214,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *279 + - *281 - *68 - *42 - *43 @@ -124023,9 +124247,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -124047,7 +124271,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *68 - - *279 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -124117,22 +124341,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *32 '403': *27 '401': *23 @@ -124152,9 +124376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *279 + - *281 - *68 - - *288 + - *290 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -124174,9 +124398,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -124197,9 +124421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *279 + - *281 - *68 - - *288 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -124272,13 +124496,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -124298,9 +124522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *279 + - *281 - *68 - - *288 + - *290 responses: '204': description: Response @@ -124322,9 +124546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *279 + - *281 - *68 - - *760 + - *764 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -124350,9 +124574,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -124573,7 +124797,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -124863,7 +125087,7 @@ paths: parameters: - *68 - *114 - - *761 + - *765 - *116 responses: '200': @@ -124962,9 +125186,9 @@ paths: - *114 - *115 - *116 - - *762 + - *766 - *119 - - *763 + - *767 responses: '200': description: Response when getting a billing usage summary @@ -125098,9 +125322,9 @@ paths: application/json: schema: type: array - items: *731 + items: *735 examples: - default: *732 + default: *736 headers: Link: *63 x-github: @@ -125130,9 +125354,9 @@ paths: application/json: schema: type: array - items: *733 + items: *737 examples: - default: *764 + default: *768 headers: Link: *63 x-github: @@ -125159,7 +125383,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *68 - - *765 + - *769 - *57 - *17 - *19 @@ -125171,11 +125395,11 @@ paths: schema: anyOf: - type: array - items: *766 + items: *770 - type: array items: *76 examples: - default-response: *736 + default-response: *740 headers: Link: *63 x-github: @@ -125206,7 +125430,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -125335,7 +125559,7 @@ webhooks: type: string enum: - disabled - enterprise: &767 + enterprise: &771 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -125404,7 +125628,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &768 + installation: &772 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -125425,7 +125649,7 @@ webhooks: required: - id - node_id - organization: &769 + organization: &773 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -125498,7 +125722,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &770 + repository: &774 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -126424,10 +126648,10 @@ webhooks: type: string enum: - enabled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -126503,11 +126727,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: &771 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + rule: &775 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -126730,11 +126954,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + rule: *775 sender: *4 required: - action @@ -126922,11 +127146,11 @@ webhooks: - everyone required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + rule: *775 sender: *4 required: - action @@ -127010,7 +127234,7 @@ webhooks: type: string enum: - completed - check_run: &773 + check_run: &777 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127120,7 +127344,7 @@ webhooks: - examples: - neutral - deployment: *772 + deployment: *776 details_url: type: string examples: @@ -127218,10 +127442,10 @@ webhooks: - output - app - pull_requests - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 sender: *4 required: - check_run @@ -127612,11 +127836,11 @@ webhooks: type: string enum: - created - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *777 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 sender: *4 required: - check_run @@ -128010,11 +128234,11 @@ webhooks: type: string enum: - requested_action - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *777 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 requested_action: description: The action requested by the user. type: object @@ -128417,11 +128641,11 @@ webhooks: type: string enum: - rerequested - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *777 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 sender: *4 required: - check_run @@ -129406,10 +129630,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -130123,10 +130347,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -130834,10 +131058,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -131006,7 +131230,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131159,20 +131383,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &774 + commit_oid: &778 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *767 - installation: *768 - organization: *769 - ref: &775 + enterprise: *771 + installation: *772 + organization: *773 + ref: &779 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *770 + repository: *774 sender: *4 required: - action @@ -131339,7 +131563,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131581,12 +131805,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -131684,7 +131908,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -131869,12 +132093,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -132043,7 +132267,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132221,12 +132445,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -132327,7 +132551,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -132516,9 +132740,9 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -132526,7 +132750,7 @@ webhooks: type: - string - 'null' - repository: *770 + repository: *774 sender: *4 required: - action @@ -132625,7 +132849,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -132772,12 +132996,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -132946,7 +133170,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133099,10 +133323,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -133362,10 +133586,10 @@ webhooks: - updated_at - author_association - body - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -133446,18 +133670,18 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *769 - pusher_type: &776 + organization: *773 + pusher_type: &780 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &777 + ref: &781 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -133467,7 +133691,7 @@ webhooks: enum: - tag - branch - repository: *770 + repository: *774 sender: *4 required: - ref @@ -133549,10 +133773,10 @@ webhooks: type: string enum: - created - definition: *290 - enterprise: *767 - installation: *768 - organization: *769 + definition: *292 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -133637,9 +133861,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -133716,10 +133940,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *290 - enterprise: *767 - installation: *768 - organization: *769 + definition: *292 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -133796,10 +134020,10 @@ webhooks: type: string enum: - updated - definition: *290 - enterprise: *767 - installation: *768 - organization: *769 + definition: *292 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -133876,19 +134100,19 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - repository: *770 - organization: *769 + enterprise: *771 + installation: *772 + repository: *774 + organization: *773 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *294 + items: *296 old_property_values: type: array description: The old custom property values for the repository. - items: *294 + items: *296 required: - action - repository @@ -133964,18 +134188,18 @@ webhooks: title: delete event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - pusher_type: *776 - ref: *777 + enterprise: *771 + installation: *772 + organization: *773 + pusher_type: *780 + ref: *781 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *770 + repository: *774 sender: *4 required: - ref @@ -134055,11 +134279,11 @@ webhooks: type: string enum: - assignees_changed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134139,11 +134363,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134224,11 +134448,11 @@ webhooks: type: string enum: - auto_reopened - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134309,11 +134533,11 @@ webhooks: type: string enum: - created - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134392,11 +134616,11 @@ webhooks: type: string enum: - dismissed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134475,11 +134699,11 @@ webhooks: type: string enum: - fixed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134559,11 +134783,11 @@ webhooks: type: string enum: - reintroduced - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134642,11 +134866,11 @@ webhooks: type: string enum: - reopened - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134723,9 +134947,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - key: &778 + enterprise: *771 + installation: *772 + key: &782 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134763,8 +134987,8 @@ webhooks: - verified - created_at - read_only - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -134841,11 +135065,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - key: *778 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + key: *782 + organization: *773 + repository: *774 sender: *4 required: - action @@ -135412,12 +135636,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: &782 + workflow: &786 title: Workflow type: - object @@ -136168,13 +136392,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *498 + - *502 pull_requests: type: array - items: *600 - repository: *770 - organization: *769 - installation: *768 + items: *604 + repository: *774 + organization: *773 + installation: *772 sender: *4 responses: '200': @@ -136245,7 +136469,7 @@ webhooks: type: string enum: - approved - approver: &779 + approver: &783 type: object properties: avatar_url: @@ -136288,11 +136512,11 @@ webhooks: type: string comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: &780 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + reviewers: &784 type: array items: type: object @@ -136373,7 +136597,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &781 + workflow_job_run: &785 type: object properties: conclusion: @@ -137119,18 +137343,18 @@ webhooks: type: string enum: - rejected - approver: *779 + approver: *783 comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: *780 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + reviewers: *784 sender: *4 since: type: string - workflow_job_run: *781 + workflow_job_run: *785 workflow_job_runs: type: array items: @@ -137847,13 +138071,13 @@ webhooks: type: string enum: - requested - enterprise: *767 + enterprise: *771 environment: type: string - installation: *768 - organization: *769 - repository: *770 - requestor: &787 + installation: *772 + organization: *773 + repository: *774 + requestor: &791 title: User type: - object @@ -139786,12 +140010,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Deployment Workflow Run type: @@ -140482,7 +140706,7 @@ webhooks: type: string enum: - answered - answer: &785 + answer: &789 type: object properties: author_association: @@ -140642,11 +140866,11 @@ webhooks: - created_at - updated_at - body - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -140773,11 +140997,11 @@ webhooks: - from required: - category - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -140860,11 +141084,11 @@ webhooks: type: string enum: - closed - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -140946,7 +141170,7 @@ webhooks: type: string enum: - created - comment: &784 + comment: &788 type: object properties: author_association: @@ -141106,11 +141330,11 @@ webhooks: - updated_at - body - reactions - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141193,12 +141417,12 @@ webhooks: type: string enum: - deleted - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *788 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141293,12 +141517,12 @@ webhooks: - from required: - body - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *788 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141382,11 +141606,11 @@ webhooks: type: string enum: - created - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141468,11 +141692,11 @@ webhooks: type: string enum: - deleted - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141572,11 +141796,11 @@ webhooks: type: string required: - from - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141658,10 +141882,10 @@ webhooks: type: string enum: - labeled - discussion: *783 - enterprise: *767 - installation: *768 - label: &786 + discussion: *787 + enterprise: *771 + installation: *772 + label: &790 title: Label type: object properties: @@ -141694,8 +141918,8 @@ webhooks: - color - default - description - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141778,11 +142002,11 @@ webhooks: type: string enum: - locked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141864,11 +142088,11 @@ webhooks: type: string enum: - pinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141950,11 +142174,11 @@ webhooks: type: string enum: - reopened - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142039,16 +142263,16 @@ webhooks: changes: type: object properties: - new_discussion: *783 - new_repository: *770 + new_discussion: *787 + new_repository: *774 required: - new_discussion - new_repository - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142131,10 +142355,10 @@ webhooks: type: string enum: - unanswered - discussion: *783 - old_answer: *785 - organization: *769 - repository: *770 + discussion: *787 + old_answer: *789 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142216,12 +142440,12 @@ webhooks: type: string enum: - unlabeled - discussion: *783 - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142304,11 +142528,11 @@ webhooks: type: string enum: - unlocked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142390,11 +142614,11 @@ webhooks: type: string enum: - unpinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142467,7 +142691,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *767 + enterprise: *771 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -143145,9 +143369,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - forkee @@ -143293,9 +143517,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pages: description: The pages that were updated. type: array @@ -143333,7 +143557,7 @@ webhooks: - action - sha - html_url - repository: *770 + repository: *774 sender: *4 required: - pages @@ -143409,10 +143633,10 @@ webhooks: type: string enum: - created - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: &788 + organization: *773 + repositories: &792 description: An array of repository objects that the installation can access. type: array @@ -143438,8 +143662,8 @@ webhooks: - name - full_name - private - repository: *770 - requester: *787 + repository: *774 + requester: *791 sender: *4 required: - action @@ -143514,11 +143738,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -143595,11 +143819,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -143676,10 +143900,10 @@ webhooks: type: string enum: - added - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories_added: &789 + organization: *773 + repositories_added: &793 description: An array of repository objects, which were added to the installation. type: array @@ -143726,15 +143950,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *770 - repository_selection: &790 + repository: *774 + repository_selection: &794 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *787 + requester: *791 sender: *4 required: - action @@ -143813,10 +144037,10 @@ webhooks: type: string enum: - removed - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories_added: *789 + organization: *773 + repositories_added: *793 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -143844,9 +144068,9 @@ webhooks: - name - full_name - private - repository: *770 - repository_selection: *790 - requester: *787 + repository: *774 + repository_selection: *794 + requester: *791 sender: *4 required: - action @@ -143925,11 +144149,11 @@ webhooks: type: string enum: - suspend - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -144111,10 +144335,10 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 target_type: type: string @@ -144193,11 +144417,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -144363,11 +144587,11 @@ webhooks: pin: anyOf: - type: 'null' - - *566 + - *570 minimized: anyOf: - type: 'null' - - *567 + - *571 user: title: User type: @@ -144453,8 +144677,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -145266,8 +145490,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145284,7 +145508,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -145628,8 +145852,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -145709,7 +145933,7 @@ webhooks: type: string enum: - deleted - comment: &791 + comment: &795 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -145866,11 +146090,11 @@ webhooks: pin: anyOf: - type: 'null' - - *566 + - *570 minimized: anyOf: - type: 'null' - - *567 + - *571 required: - url - html_url @@ -145884,8 +146108,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146693,8 +146917,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146711,7 +146935,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -147057,8 +147281,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -147138,7 +147362,7 @@ webhooks: type: string enum: - edited - changes: &815 + changes: &819 description: The changes to the comment. type: object properties: @@ -147150,9 +147374,9 @@ webhooks: type: string required: - from - comment: *791 - enterprise: *767 - installation: *768 + comment: *795 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -147963,8 +148187,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147981,7 +148205,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -148325,8 +148549,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -148407,9 +148631,9 @@ webhooks: type: string enum: - pinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *795 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -149222,8 +149446,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149240,7 +149464,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -149586,8 +149810,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -149667,9 +149891,9 @@ webhooks: type: string enum: - unpinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *795 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -150482,8 +150706,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150500,7 +150724,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -150846,8 +151070,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -150936,9 +151160,9 @@ webhooks: type: number blocking_issue: *80 blocking_issue_repo: *76 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -151027,9 +151251,9 @@ webhooks: type: number blocking_issue: *80 blocking_issue_repo: *76 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -151117,9 +151341,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -151208,9 +151432,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -151290,10 +151514,10 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - issue: &792 + assignee: *791 + enterprise: *771 + installation: *772 + issue: &796 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -152104,11 +152328,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152125,7 +152349,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -152228,8 +152452,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -152309,8 +152533,8 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -153126,11 +153350,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153147,7 +153371,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -153393,8 +153617,8 @@ webhooks: required: - state - closed_at - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -153473,8 +153697,8 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154281,11 +154505,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154302,7 +154526,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -154404,8 +154628,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -154484,8 +154708,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155315,11 +155539,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155336,7 +155560,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -155417,7 +155641,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &797 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155560,8 +155784,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -155660,8 +155884,8 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156472,11 +156696,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156490,7 +156714,7 @@ webhooks: timeline_url: type: string format: uri - type: *244 + type: *246 title: description: Title of the issue type: string @@ -156596,9 +156820,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -156678,9 +156902,9 @@ webhooks: type: string enum: - field_added - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *771 + installation: *772 + issue: *796 issue_field: type: object description: The issue field whose value was set or updated on the @@ -156846,8 +157070,8 @@ webhooks: - id required: - from - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -156927,9 +157151,9 @@ webhooks: type: string enum: - field_removed - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *771 + installation: *772 + issue: *796 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -157016,8 +157240,8 @@ webhooks: - 'null' required: - id - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -157097,8 +157321,8 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157908,11 +158132,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157926,7 +158150,7 @@ webhooks: timeline_url: type: string format: uri - type: *244 + type: *246 title: description: Title of the issue type: string @@ -158032,9 +158256,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -158114,8 +158338,8 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158950,11 +159174,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158968,7 +159192,7 @@ webhooks: timeline_url: type: string format: uri - type: *244 + type: *246 title: description: Title of the issue type: string @@ -159051,8 +159275,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -159131,8 +159355,8 @@ webhooks: type: string enum: - milestoned - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159961,11 +160185,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159982,7 +160206,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -160062,9 +160286,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *769 - repository: *770 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -160951,11 +161175,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161055,7 +161279,7 @@ webhooks: required: - login - id - type: *244 + type: *246 required: - id - number @@ -161547,8 +161771,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -162355,11 +162579,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162376,7 +162600,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -162482,8 +162706,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -162563,9 +162787,9 @@ webhooks: type: string enum: - pinned - enterprise: *767 - installation: *768 - issue: &794 + enterprise: *771 + installation: *772 + issue: &798 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -163370,11 +163594,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163391,7 +163615,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -163493,8 +163717,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -163573,8 +163797,8 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -164407,11 +164631,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164508,9 +164732,9 @@ webhooks: format: uri user_view_type: type: string - type: *244 - organization: *769 - repository: *770 + type: *246 + organization: *773 + repository: *774 sender: *4 required: - action @@ -165398,11 +165622,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165419,7 +165643,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -166012,11 +166236,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *798 + organization: *773 + repository: *774 sender: *4 required: - action @@ -166096,12 +166320,12 @@ webhooks: type: string enum: - typed - enterprise: *767 - installation: *768 - issue: *792 - type: *244 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + type: *246 + organization: *773 + repository: *774 sender: *4 required: - action @@ -166182,7 +166406,7 @@ webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &822 title: User type: - object @@ -166254,11 +166478,11 @@ webhooks: required: - login - id - enterprise: *767 - installation: *768 - issue: *792 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + organization: *773 + repository: *774 sender: *4 required: - action @@ -166337,12 +166561,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - issue: *792 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -166422,8 +166646,8 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -167256,11 +167480,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167277,7 +167501,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -167357,8 +167581,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167438,11 +167662,11 @@ webhooks: type: string enum: - unpinned - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *798 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167521,12 +167745,12 @@ webhooks: type: string enum: - untyped - enterprise: *767 - installation: *768 - issue: *792 - type: *244 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + type: *246 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167606,11 +167830,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167688,11 +167912,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167802,11 +168026,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167888,9 +168112,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: &795 + enterprise: *771 + installation: *772 + marketplace_purchase: &799 title: Marketplace Purchase type: object required: @@ -167978,8 +168202,8 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: &796 + organization: *773 + previous_marketplace_purchase: &800 title: Marketplace Purchase type: object properties: @@ -168063,7 +168287,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *774 sender: *4 required: - action @@ -168143,10 +168367,10 @@ webhooks: - changed effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *771 + installation: *772 + marketplace_purchase: *799 + organization: *773 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -168234,7 +168458,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *774 sender: *4 required: - action @@ -168316,10 +168540,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *771 + installation: *772 + marketplace_purchase: *799 + organization: *773 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -168405,7 +168629,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *774 sender: *4 required: - action @@ -168486,8 +168710,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 marketplace_purchase: title: Marketplace Purchase type: object @@ -168573,9 +168797,9 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + organization: *773 + previous_marketplace_purchase: *800 + repository: *774 sender: *4 required: - action @@ -168655,12 +168879,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + enterprise: *771 + installation: *772 + marketplace_purchase: *799 + organization: *773 + previous_marketplace_purchase: *800 + repository: *774 sender: *4 required: - action @@ -168762,11 +168986,11 @@ webhooks: type: string required: - to - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168868,11 +169092,11 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168951,11 +169175,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169033,11 +169257,11 @@ webhooks: type: string enum: - added - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 scope: description: The scope of the membership. Currently, can only be `team`. @@ -169115,7 +169339,7 @@ webhooks: required: - login - id - team: &797 + team: &801 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -169345,11 +169569,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 scope: description: The scope of the membership. Currently, can only be `team`. @@ -169428,7 +169652,7 @@ webhooks: required: - login - id - team: *797 + team: *801 required: - action - scope @@ -169510,8 +169734,8 @@ webhooks: type: string enum: - checks_requested - installation: *768 - merge_group: &798 + installation: *772 + merge_group: &802 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -169530,15 +169754,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *418 + head_commit: *420 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169624,10 +169848,10 @@ webhooks: - merged - invalidated - dequeued - installation: *768 - merge_group: *798 - organization: *769 - repository: *770 + installation: *772 + merge_group: *802 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169700,7 +169924,7 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *771 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -169809,12 +170033,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *768 - organization: *769 + installation: *772 + organization: *773 repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -169894,11 +170118,11 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169977,9 +170201,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - milestone: &799 + enterprise: *771 + installation: *772 + milestone: &803 title: Milestone description: A collection of related issues and pull requests. type: object @@ -170121,8 +170345,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170201,11 +170425,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170315,11 +170539,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170399,11 +170623,11 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - milestone: *799 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *803 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170482,11 +170706,11 @@ webhooks: type: string enum: - blocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *791 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170565,11 +170789,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *791 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170648,9 +170872,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - membership: &800 + enterprise: *771 + installation: *772 + membership: &804 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -170760,8 +170984,8 @@ webhooks: - role - organization_url - user - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170839,11 +171063,11 @@ webhooks: type: string enum: - member_added - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + membership: *804 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170922,8 +171146,8 @@ webhooks: type: string enum: - member_invited - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -171045,10 +171269,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 - user: *787 + user: *791 required: - action - invitation @@ -171126,11 +171350,11 @@ webhooks: type: string enum: - member_removed - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + membership: *804 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171217,11 +171441,11 @@ webhooks: properties: from: type: string - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + membership: *804 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171298,9 +171522,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 package: description: Information about the package. type: object @@ -171823,7 +172047,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &801 + items: &805 title: Ruby Gems metadata type: object properties: @@ -171920,7 +172144,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -171996,9 +172220,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 package: description: Information about the package. type: object @@ -172360,7 +172584,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *805 source_url: type: string format: uri @@ -172431,7 +172655,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -172611,12 +172835,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *767 + enterprise: *771 id: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - id @@ -172693,7 +172917,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &802 + personal_access_token_request: &806 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -172843,10 +173067,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *767 - organization: *769 + enterprise: *771 + organization: *773 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -172923,11 +173147,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *806 + enterprise: *771 + organization: *773 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -173003,11 +173227,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *806 + enterprise: *771 + organization: *773 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -173082,11 +173306,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *802 - organization: *769 - enterprise: *767 + personal_access_token_request: *806 + organization: *773 + enterprise: *771 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -173191,7 +173415,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *803 + last_response: *807 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -173223,8 +173447,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 zen: description: Random string of GitHub zen. @@ -173469,10 +173693,10 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: &804 + enterprise: *771 + installation: *772 + organization: *773 + project_card: &808 title: Project Card type: object properties: @@ -173595,7 +173819,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *774 sender: *4 required: - action @@ -173676,11 +173900,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_card: *808 + repository: *774 sender: *4 required: - action @@ -173760,9 +173984,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 project_card: title: Project Card type: object @@ -173892,7 +174116,7 @@ webhooks: repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -173986,11 +174210,11 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_card: *808 + repository: *774 sender: *4 required: - action @@ -174084,9 +174308,9 @@ webhooks: - from required: - column_id - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 project_card: allOf: - title: Project Card @@ -174283,7 +174507,7 @@ webhooks: type: string required: - after_id - repository: *770 + repository: *774 sender: *4 required: - action @@ -174363,10 +174587,10 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - organization: *769 - project: &806 + enterprise: *771 + installation: *772 + organization: *773 + project: &810 title: Project type: object properties: @@ -174493,7 +174717,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *774 sender: *4 required: - action @@ -174573,10 +174797,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_column: &805 + enterprise: *771 + installation: *772 + organization: *773 + project_column: &809 title: Project Column type: object properties: @@ -174616,7 +174840,7 @@ webhooks: - name - created_at - updated_at - repository: *770 + repository: *774 sender: *4 required: - action @@ -174695,14 +174919,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 + enterprise: *771 + installation: *772 + organization: *773 + project_column: *809 repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -174791,11 +175015,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_column: *809 + repository: *774 sender: *4 required: - action @@ -174875,11 +175099,11 @@ webhooks: type: string enum: - moved - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_column: *809 + repository: *774 sender: *4 required: - action @@ -174959,11 +175183,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 + repository: *774 sender: *4 required: - action @@ -175043,14 +175267,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project: *806 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -175151,11 +175375,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 + repository: *774 sender: *4 required: - action @@ -175234,11 +175458,11 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 + repository: *774 sender: *4 required: - action @@ -175319,9 +175543,9 @@ webhooks: type: string enum: - closed - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -175402,9 +175626,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -175485,9 +175709,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -175608,9 +175832,9 @@ webhooks: type: string to: type: string - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -175693,7 +175917,7 @@ webhooks: type: string enum: - archived - changes: &810 + changes: &814 type: object properties: archived_at: @@ -175709,9 +175933,9 @@ webhooks: - string - 'null' format: date-time - installation: *768 - organization: *769 - projects_v2_item: &807 + installation: *772 + organization: *773 + projects_v2_item: &811 title: Projects v2 Item description: An item belonging to a project type: object @@ -175729,7 +175953,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *283 + content_type: *285 creator: *4 created_at: type: string @@ -175851,9 +176075,9 @@ webhooks: - 'null' to: type: string - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -175935,9 +176159,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -176018,9 +176242,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -176125,7 +176349,7 @@ webhooks: oneOf: - type: string - type: integer - - &808 + - &812 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -176149,7 +176373,7 @@ webhooks: required: - id - name - - &809 + - &813 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -176189,8 +176413,8 @@ webhooks: oneOf: - type: string - type: integer - - *808 - - *809 + - *812 + - *813 type: - 'null' - string @@ -176213,9 +176437,9 @@ webhooks: - 'null' required: - body - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -176312,9 +176536,9 @@ webhooks: type: - string - 'null' - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -176397,10 +176621,10 @@ webhooks: type: string enum: - restored - changes: *810 - installation: *768 - organization: *769 - projects_v2_item: *807 + changes: *814 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -176482,9 +176706,9 @@ webhooks: type: string enum: - reopened - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -176565,9 +176789,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *772 + organization: *773 + projects_v2_status_update: *815 sender: *4 required: - action @@ -176648,9 +176872,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *772 + organization: *773 + projects_v2_status_update: *815 sender: *4 required: - action @@ -176796,9 +177020,9 @@ webhooks: - string - 'null' format: date - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *772 + organization: *773 + projects_v2_status_update: *815 sender: *4 required: - action @@ -176869,10 +177093,10 @@ webhooks: title: public event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - repository @@ -176949,13 +177173,13 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - number: &812 + assignee: *791 + enterprise: *771 + installation: *772 + number: &816 description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -179198,7 +179422,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -179327,7 +179551,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -179409,10 +179633,10 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -181646,7 +181870,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -181777,7 +182001,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *774 sender: *4 required: - action @@ -181859,10 +182083,10 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -184096,7 +184320,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -184227,7 +184451,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *774 sender: *4 required: - action @@ -184309,13 +184533,13 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: &813 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: &817 allOf: - - *600 + - *604 - type: object properties: allow_auto_merge: @@ -184377,7 +184601,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *770 + repository: *774 sender: *4 required: - action @@ -184458,12 +184682,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -184543,12 +184767,12 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 - installation: *768 - milestone: *280 - number: *812 - organization: *769 - pull_request: &814 + enterprise: *771 + installation: *772 + milestone: *282 + number: *816 + organization: *773 + pull_request: &818 title: Pull Request type: object properties: @@ -186769,7 +186993,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -186898,7 +187122,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -186978,10 +187202,10 @@ webhooks: type: string enum: - dequeued - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -189206,7 +189430,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -189350,7 +189574,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *770 + repository: *774 sender: *4 required: - action @@ -189474,12 +189698,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -189560,10 +189784,10 @@ webhooks: type: string enum: - enqueued - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -191788,7 +192012,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -191917,7 +192141,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -191997,11 +192221,11 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + label: *790 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -194243,7 +194467,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -194372,7 +194596,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -194453,10 +194677,10 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -196696,7 +196920,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -196825,7 +197049,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -196905,13 +197129,13 @@ webhooks: type: string enum: - milestoned - enterprise: *767 - installation: *768 - milestone: *280 - number: *812 - organization: *769 - pull_request: *814 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *282 + number: *816 + organization: *773 + pull_request: *818 + repository: *774 sender: *4 required: - action @@ -196991,12 +197215,12 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -197077,12 +197301,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -197162,12 +197386,12 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -197542,9 +197766,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: type: object properties: @@ -199673,7 +199897,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -199797,7 +200021,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *774 sender: *4 required: - action @@ -199877,7 +200101,7 @@ webhooks: type: string enum: - deleted - comment: &816 + comment: &820 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -200170,9 +200394,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: type: object properties: @@ -202289,7 +202513,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -202413,7 +202637,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *774 sender: *4 required: - action @@ -202493,11 +202717,11 @@ webhooks: type: string enum: - edited - changes: *815 - comment: *816 - enterprise: *767 - installation: *768 - organization: *769 + changes: *819 + comment: *820 + enterprise: *771 + installation: *772 + organization: *773 pull_request: type: object properties: @@ -204617,7 +204841,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -204741,7 +204965,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *774 sender: *4 required: - action @@ -204822,9 +205046,9 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -206954,7 +207178,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -207080,7 +207304,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *774 review: description: The review that was affected. type: object @@ -207331,9 +207555,9 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -209447,8 +209671,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: &817 + repository: *774 + review: &821 description: The review that was affected. type: object properties: @@ -209686,12 +209910,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -211932,7 +212156,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -212061,7 +212285,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_reviewer: title: User type: @@ -212147,12 +212371,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -214400,7 +214624,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -214529,7 +214753,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214724,12 +214948,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -216971,7 +217195,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -217101,7 +217325,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_reviewer: title: User type: @@ -217188,12 +217412,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -219426,7 +219650,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -219556,7 +219780,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_team: title: Team description: Groups of organization members that gives permissions @@ -219740,9 +219964,9 @@ webhooks: type: string enum: - submitted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -221875,7 +222099,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -222001,8 +222225,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: *817 + repository: *774 + review: *821 sender: *4 required: - action @@ -222082,9 +222306,9 @@ webhooks: type: string enum: - resolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -224112,7 +224336,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -224238,7 +224462,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *774 sender: *4 thread: type: object @@ -224635,9 +224859,9 @@ webhooks: type: string enum: - unresolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -226649,7 +226873,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -226774,7 +226998,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *774 sender: *4 thread: type: object @@ -227167,11 +227391,11 @@ webhooks: type: string enum: - stacked - enterprise: *767 - installation: *768 - stack: *597 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + stack: *601 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -229413,7 +229637,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -229542,7 +229766,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -229628,10 +229852,10 @@ webhooks: type: string before: type: string - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -231860,7 +232084,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -231989,7 +232213,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -232071,11 +232295,11 @@ webhooks: type: string enum: - unassigned - assignee: *818 - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + assignee: *822 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -234319,7 +234543,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -234448,7 +234672,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -234528,11 +234752,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + label: *790 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -236765,7 +236989,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -236894,7 +237118,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -236975,10 +237199,10 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -239202,7 +239426,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -239330,7 +239554,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -239533,7 +239757,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *767 + enterprise: *771 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -239628,8 +239852,8 @@ webhooks: - url - author - committer - installation: *768 - organization: *769 + installation: *772 + organization: *773 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -240228,9 +240452,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 registry_package: type: object properties: @@ -240707,7 +240931,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *801 + items: *805 summary: type: string tag_name: @@ -240763,7 +240987,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -240841,9 +241065,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 registry_package: type: object properties: @@ -241155,7 +241379,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *805 summary: type: string tag_name: @@ -241205,7 +241429,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -241282,10 +241506,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - release: &819 + enterprise: *771 + installation: *772 + organization: *773 + release: &823 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -241616,7 +241840,7 @@ webhooks: - updated_at - zipball_url - body - repository: *770 + repository: *774 sender: *4 required: - action @@ -241693,11 +241917,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *823 + repository: *774 sender: *4 required: - action @@ -241814,11 +242038,11 @@ webhooks: type: boolean required: - to - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *823 + repository: *774 sender: *4 required: - action @@ -241896,9 +242120,9 @@ webhooks: type: string enum: - prereleased - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -242234,7 +242458,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *774 sender: *4 required: - action @@ -242310,10 +242534,10 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - release: &820 + enterprise: *771 + installation: *772 + organization: *773 + release: &824 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -242646,7 +242870,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *774 sender: *4 required: - action @@ -242722,11 +242946,11 @@ webhooks: type: string enum: - released - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *823 + repository: *774 sender: *4 required: - action @@ -242802,11 +243026,11 @@ webhooks: type: string enum: - unpublished - enterprise: *767 - installation: *768 - organization: *769 - release: *820 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *824 + repository: *774 sender: *4 required: - action @@ -242882,11 +243106,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *686 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_advisory: *690 sender: *4 required: - action @@ -242962,11 +243186,11 @@ webhooks: type: string enum: - reported - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *686 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_advisory: *690 sender: *4 required: - action @@ -243042,10 +243266,10 @@ webhooks: type: string enum: - archived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243122,10 +243346,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243203,10 +243427,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243291,10 +243515,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243409,10 +243633,10 @@ webhooks: - 'null' items: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243484,10 +243708,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 status: type: string @@ -243568,10 +243792,10 @@ webhooks: type: string enum: - privatized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243648,10 +243872,10 @@ webhooks: type: string enum: - publicized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243745,10 +243969,10 @@ webhooks: - name required: - repository - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243828,11 +244052,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_ruleset: *322 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_ruleset: *324 sender: *4 required: - action @@ -243910,11 +244134,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_ruleset: *322 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_ruleset: *324 sender: *4 required: - action @@ -243992,11 +244216,11 @@ webhooks: type: string enum: - edited - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_ruleset: *322 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_ruleset: *324 changes: type: object properties: @@ -244015,16 +244239,16 @@ webhooks: properties: added: type: array - items: *296 + items: *298 deleted: type: array - items: *296 + items: *298 updated: type: array items: type: object properties: - condition: *296 + condition: *298 changes: type: object properties: @@ -244057,16 +244281,16 @@ webhooks: properties: added: type: array - items: *622 + items: *626 deleted: type: array - items: *622 + items: *626 updated: type: array items: type: object properties: - rule: *622 + rule: *626 changes: type: object properties: @@ -244303,10 +244527,10 @@ webhooks: - from required: - owner - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244384,10 +244608,10 @@ webhooks: type: string enum: - unarchived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244465,7 +244689,7 @@ webhooks: type: string enum: - create - alert: &821 + alert: &825 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -244590,10 +244814,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244803,10 +245027,10 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244884,11 +245108,11 @@ webhooks: type: string enum: - reopen - alert: *821 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *825 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245090,10 +245314,10 @@ webhooks: enum: - fixed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245171,17 +245395,17 @@ webhooks: type: string enum: - assigned - alert: &823 + alert: &827 type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri @@ -245318,12 +245542,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *822 + metadata: *826 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245401,11 +245625,11 @@ webhooks: type: string enum: - created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245486,11 +245710,11 @@ webhooks: type: string enum: - created - alert: *823 - installation: *768 - location: *824 - organization: *769 - repository: *770 + alert: *827 + installation: *772 + location: *828 + organization: *773 + repository: *774 sender: *4 required: - location @@ -245728,11 +245952,11 @@ webhooks: type: string enum: - metadata_created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245809,11 +246033,11 @@ webhooks: type: string enum: - metadata_removed - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245890,11 +246114,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245972,11 +246196,11 @@ webhooks: type: string enum: - reopened - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246054,11 +246278,11 @@ webhooks: type: string enum: - resolved - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246136,12 +246360,12 @@ webhooks: type: string enum: - unassigned - alert: *823 + alert: *827 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246219,11 +246443,11 @@ webhooks: type: string enum: - validated - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246353,10 +246577,10 @@ webhooks: - organization - enterprise - - repository: *770 - enterprise: *767 - installation: *768 - organization: *769 + repository: *774 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -246434,11 +246658,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: &825 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + security_advisory: &829 description: The details of the security advisory, including summary, description, and severity. type: object @@ -246624,11 +246848,11 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: *825 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + security_advisory: *829 sender: *4 required: - action @@ -246701,10 +246925,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -246890,11 +247114,11 @@ webhooks: from: type: object properties: - security_and_analysis: *295 - enterprise: *767 - installation: *768 - organization: *769 - repository: *341 + security_and_analysis: *297 + enterprise: *771 + installation: *772 + organization: *773 + repository: *343 sender: *4 required: - changes @@ -246972,12 +247196,12 @@ webhooks: type: string enum: - cancelled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: &826 + sponsorship: &830 type: object properties: created_at: @@ -247282,12 +247506,12 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - sponsorship @@ -247375,12 +247599,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - changes @@ -247457,17 +247681,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &827 + effective_date: &831 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - sponsorship @@ -247541,7 +247765,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &828 + changes: &832 type: object properties: tier: @@ -247585,13 +247809,13 @@ webhooks: - from required: - tier - effective_date: *827 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + effective_date: *831 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - changes @@ -247668,13 +247892,13 @@ webhooks: type: string enum: - tier_changed - changes: *828 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + changes: *832 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - changes @@ -247748,10 +247972,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -247835,10 +248059,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -248272,15 +248496,15 @@ webhooks: type: - string - 'null' - enterprise: *767 + enterprise: *771 id: description: The unique identifier of the status. type: integer - installation: *768 + installation: *772 name: type: string - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 sha: description: The Commit SHA. @@ -248396,9 +248620,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -248487,9 +248711,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -248578,9 +248802,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -248669,9 +248893,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -248747,12 +248971,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - team: &829 + team: &833 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -248982,9 +249206,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -249454,7 +249678,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -249530,9 +249754,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -250002,7 +250226,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -250079,9 +250303,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -250551,7 +250775,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -250695,9 +250919,9 @@ webhooks: - from required: - permissions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -251167,7 +251391,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - changes @@ -251245,9 +251469,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -251717,7 +251941,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -251793,10 +252017,10 @@ webhooks: type: string enum: - started - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -251869,17 +252093,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *767 + enterprise: *771 inputs: type: - object - 'null' additionalProperties: true - installation: *768 - organization: *769 + installation: *772 + organization: *773 ref: type: string - repository: *770 + repository: *774 sender: *4 workflow: type: string @@ -251961,10 +252185,10 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: allOf: @@ -252220,7 +252444,7 @@ webhooks: type: string required: - conclusion - deployment: *498 + deployment: *502 required: - action - repository @@ -252299,10 +252523,10 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: allOf: @@ -252584,7 +252808,7 @@ webhooks: required: - status - steps - deployment: *498 + deployment: *502 required: - action - repository @@ -252663,10 +252887,10 @@ webhooks: type: string enum: - queued - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: type: object @@ -252812,7 +253036,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *502 required: - action - repository @@ -252891,10 +253115,10 @@ webhooks: type: string enum: - waiting - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: type: object @@ -253041,7 +253265,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *502 required: - action - repository @@ -253121,12 +253345,12 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Workflow Run type: object @@ -254145,12 +254369,12 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Workflow Run type: object @@ -255154,12 +255378,12 @@ webhooks: type: string enum: - requested - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 263856707..fc555992a 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -117448,6 +117448,353 @@ } } }, + "/orgs/{org}/code-scanning/ai-scan": { + "get": { + "summary": "Get the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the AI Scan setting stored on an organization.\n\nThe response reports the value stored on the organization. Organization respects enterprise policy.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + }, + "patch": { + "summary": "Update the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates the AI Scan setting stored on an organization.\n\nThe organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings update", + "description": "The AI Scan organization setting to apply", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scna. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -350596,6 +350943,366 @@ } } }, + "/repos/{owner}/{repo}/code-scanning/ai-scan": { + "get": { + "summary": "Get AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + }, + "patch": { + "summary": "Update AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement update for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether to enable or disable AI Scan for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "enabled": { + "summary": "Enable AI Scan", + "value": { + "pr_scan": "enabled" + } + }, + "disabled": { + "summary": "Disable AI Scan", + "value": { + "pr_scan": "disabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + } + }, "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for a repository", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 179046c19..1270598cc 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -883,7 +883,7 @@ paths: - subscriptions_url - type - url - type: &330 + type: &332 type: string description: The type of credit the user is receiving. enum: @@ -1048,7 +1048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &689 + - &693 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4302,7 +4302,7 @@ paths: schema: type: integer default: 30 - - &218 + - &220 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4311,7 +4311,7 @@ paths: required: false schema: type: string - - &219 + - &221 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4331,7 +4331,7 @@ paths: application/json: schema: type: array - items: &220 + items: &222 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4427,7 +4427,7 @@ paths: - installation_id - repository_id examples: - default: &221 + default: &223 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4562,7 +4562,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &224 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4697,7 +4697,7 @@ paths: - request - response examples: - default: &223 + default: &225 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -10305,7 +10305,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &191 type: array description: A list of default code security configurations items: @@ -10321,7 +10321,7 @@ paths: default configuration: *44 examples: - default: &190 + default: &192 value: - default_for_new_repos: public configuration: @@ -10783,7 +10783,7 @@ paths: default: value: default_for_new_repos: all - configuration: &188 + configuration: &190 value: id: 1325 target_type: organization @@ -10873,7 +10873,7 @@ paths: application/json: schema: type: array - items: &191 + items: &193 type: object description: Repositories associated with a code security configuration and attachment status @@ -11218,7 +11218,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &192 + repository: &194 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -11797,7 +11797,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *35 - - &200 + - &202 name: classification in: query description: |- @@ -11806,7 +11806,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &201 + - &203 name: state in: query description: |- @@ -11815,7 +11815,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &202 + - &204 name: severity in: query description: |- @@ -11824,7 +11824,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &203 + - &205 name: ecosystem in: query description: |- @@ -11833,14 +11833,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &204 + - &206 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &205 + - &207 name: epss_percentage in: query description: |- @@ -11852,7 +11852,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &487 + - &491 name: has in: query description: |- @@ -11866,7 +11866,7 @@ paths: type: string enum: - patch - - &206 + - &208 name: assignee in: query description: |- @@ -11875,7 +11875,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &207 + - &209 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -11885,7 +11885,7 @@ paths: enum: - development - runtime - - &208 + - &210 name: relationship in: query description: |- @@ -11895,7 +11895,7 @@ paths: > We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. schema: type: string - - &209 + - &211 name: sort in: query description: |- @@ -11921,11 +11921,11 @@ paths: application/json: schema: type: array - items: &210 + items: &212 type: object description: A Dependabot alert. properties: - number: &178 + number: &180 type: integer description: The security alert number. readOnly: true @@ -11992,7 +11992,7 @@ paths: - transitive - inconclusive - - security_advisory: &488 + security_advisory: &492 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12183,29 +12183,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *61 - url: &181 + url: &183 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &182 + html_url: &184 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &179 + created_at: &181 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &180 + updated_at: &182 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &184 + dismissed_at: &186 type: - string - 'null' @@ -12236,7 +12236,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &183 + fixed_at: &185 type: - string - 'null' @@ -12244,7 +12244,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &489 + auto_dismissed_at: &493 type: - string - 'null' @@ -12252,7 +12252,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &490 + dismissal_request: &494 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12315,7 +12315,7 @@ paths: - repository additionalProperties: false examples: - default: &211 + default: &213 value: - number: 2 state: dismissed @@ -12702,7 +12702,7 @@ paths: description: Response content: application/json: - schema: &212 + schema: &214 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -12728,7 +12728,7 @@ paths: - *62 additionalProperties: false examples: - default: &213 + default: &215 value: default_level: public accessible_repositories: @@ -14102,7 +14102,7 @@ paths: properties: action: type: string - discussion: &783 + discussion: &787 title: Discussion description: A Discussion in a repository. type: object @@ -14599,7 +14599,7 @@ paths: milestone: anyOf: - type: 'null' - - &280 + - &282 title: Milestone description: A collection of related issues and pull requests. @@ -14776,7 +14776,7 @@ paths: timeline_url: type: string format: uri - type: &244 + type: &246 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -14889,7 +14889,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &701 + sub_issues_summary: &705 title: Sub-issues Summary type: object properties: @@ -14973,7 +14973,7 @@ paths: pin: anyOf: - type: 'null' - - &566 + - &570 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -14994,7 +14994,7 @@ paths: minimized: anyOf: - type: 'null' - - &567 + - &571 title: Minimized Issue Comment description: Details about why an issue comment was minimized. @@ -15019,7 +15019,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &702 + issue_dependencies_summary: &706 title: Issue Dependencies Summary type: object properties: @@ -15038,7 +15038,7 @@ paths: - total_blocking issue_field_values: type: array - items: &548 + items: &552 title: Issue Field Value description: A value assigned to an issue field type: object @@ -15854,7 +15854,7 @@ paths: type: string release: allOf: - - &612 + - &616 title: Release description: A release. type: object @@ -15936,7 +15936,7 @@ paths: author: *4 assets: type: array - items: &613 + items: &617 title: Release Asset description: Data related to a release. type: object @@ -18204,7 +18204,7 @@ paths: - closed - all default: open - - &247 + - &249 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18255,7 +18255,7 @@ paths: type: array items: *80 examples: - default: &248 + default: &250 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19681,14 +19681,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &338 + - &340 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &339 + - &341 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19750,7 +19750,7 @@ paths: '404': *6 '403': *27 '304': *32 - '301': &342 + '301': &344 description: Moved permanently content: application/json: @@ -19772,7 +19772,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &586 + - &590 name: all description: If `true`, show notifications marked as read. in: query @@ -19780,7 +19780,7 @@ paths: schema: type: boolean default: false - - &587 + - &591 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19790,7 +19790,7 @@ paths: type: boolean default: false - *85 - - &588 + - &592 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -20170,7 +20170,7 @@ paths: type: boolean examples: - false - security_and_analysis: &295 + security_and_analysis: &297 type: - object - 'null' @@ -20381,7 +20381,7 @@ paths: - url - subscription_url examples: - default: &589 + default: &593 value: - id: '1' repository: @@ -22409,7 +22409,7 @@ paths: parameters: - *72 - *114 - - &761 + - &765 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -22521,7 +22521,7 @@ paths: - *114 - *115 - *116 - - &762 + - &766 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22529,7 +22529,7 @@ paths: schema: type: string - *119 - - &763 + - &767 name: sku description: The SKU to query for usage. in: query @@ -23506,7 +23506,7 @@ paths: type: integer repository_cache_usages: type: array - items: &349 + items: &351 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24894,7 +24894,7 @@ paths: - all - local_only - selected - selected_actions_url: &354 + selected_actions_url: &356 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -24977,7 +24977,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &360 type: object properties: days: @@ -25019,7 +25019,7 @@ paths: required: true content: application/json: - schema: &359 + schema: &361 type: object properties: days: @@ -25076,7 +25076,7 @@ paths: required: - approval_policy examples: - default: &360 + default: &362 value: approval_policy: first_time_contributors '404': *6 @@ -25135,7 +25135,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 type: object required: - run_workflows_from_fork_pull_requests @@ -25189,7 +25189,7 @@ paths: required: true content: application/json: - schema: &362 + schema: &364 type: object required: - run_workflows_from_fork_pull_requests @@ -25824,7 +25824,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &365 type: object properties: default_workflow_permissions: &146 @@ -25875,7 +25875,7 @@ paths: required: false content: application/json: - schema: &364 + schema: &366 type: object properties: default_workflow_permissions: *146 @@ -26368,7 +26368,7 @@ paths: type: array items: *153 examples: - default: &199 + default: &201 value: total_count: 1 repositories: @@ -27094,7 +27094,7 @@ paths: application/json: schema: type: array - items: &365 + items: &367 title: Runner Application description: Runner Application type: object @@ -27119,7 +27119,7 @@ paths: - download_url - filename examples: - default: &366 + default: &368 value: - os: osx architecture: x64 @@ -27205,7 +27205,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &367 + '201': &369 description: Response content: application/json: @@ -27320,7 +27320,7 @@ paths: - token - expires_at examples: - default: &368 + default: &370 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27359,7 +27359,7 @@ paths: application/json: schema: *157 examples: - default: &369 + default: &371 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27393,7 +27393,7 @@ paths: application/json: schema: *155 examples: - default: &370 + default: &372 value: id: 23 name: MBP @@ -27620,7 +27620,7 @@ paths: - *72 - *154 responses: - '200': &371 + '200': &373 description: Response content: application/json: @@ -27677,7 +27677,7 @@ paths: parameters: - *72 - *154 - - &372 + - &374 name: name description: The name of a self-hosted runner's custom label. in: path @@ -30649,12 +30649,12 @@ paths: required: - subject_digests examples: - default: &742 + default: &746 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &743 + withPredicateType: &747 value: subject_digests: - sha256:abc123 @@ -30699,7 +30699,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &744 + default: &748 value: attestations_subject_digests: - sha256:abc: @@ -31032,7 +31032,7 @@ paths: initiator: type: string examples: - default: &398 + default: &400 value: attestations: - repository_id: 1 @@ -31226,7 +31226,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &198 + items: &200 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -31315,7 +31315,7 @@ paths: parent: anyOf: - type: 'null' - - &259 + - &261 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -31901,6 +31901,124 @@ paths: enabledForGitHubApps: true category: campaigns subcategory: campaigns + "/orgs/{org}/code-scanning/ai-scan": + get: + summary: Get the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the AI Scan setting stored on an organization. + + The response reports the value stored on the organization. Organization respects enterprise policy. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization + parameters: + - *72 + responses: + '200': + description: Response + content: + application/json: + schema: &178 + title: Code scanning AI Scan organization settings + description: The AI Scan organization setting + type: object + properties: + pr_scan: + description: 'Whether AI Scan on pull requests is enabled for + the organization. The organization setting respects enterprise + policy, and repositories inherit it: when disabled, repositories + cannot enable AI Scan; when enabled, repositories can still + opt out.' + type: string + enum: + - enabled + - disabled + examples: + - enabled + required: + - pr_scan + examples: + default: &179 + value: + pr_scan: enabled + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan + patch: + summary: Update the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates the AI Scan setting stored on an organization. + + The organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization + parameters: + - *72 + requestBody: + required: true + content: + application/json: + schema: + title: Code scanning AI Scan organization settings update + description: The AI Scan organization setting to apply + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the organization. Organization + respects enterprise policy. Disabled organizations prevent repositories + from enabling AI Scna. Enabled organizations enable AI Scan for + their repositories, but individual repositories can opt out. + type: string + enum: + - enabled + - disabled + examples: + - enabled + minProperties: 1 + additionalProperties: false + examples: + default: + value: + pr_scan: enabled + responses: + '200': + description: Response + content: + application/json: + schema: *178 + examples: + default: *179 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -31918,17 +32036,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *72 - - &424 + - &428 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &185 + schema: &187 type: string description: The name of the tool used to generate the code scanning analysis. - - &425 + - &429 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -31936,7 +32054,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &186 + schema: &188 type: - string - 'null' @@ -31952,7 +32070,7 @@ paths: be returned. in: query required: false - schema: &427 + schema: &431 type: string description: State of a code scanning alert. enum: @@ -31975,7 +32093,7 @@ paths: be returned. in: query required: false - schema: &428 + schema: &432 type: string description: Severity of a code scanning alert. enum: @@ -32004,18 +32122,18 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 - instances_url: &429 + number: *180 + created_at: *181 + updated_at: *182 + url: *183 + html_url: *184 + instances_url: &433 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &187 + state: &189 type: - string - 'null' @@ -32025,13 +32143,13 @@ paths: - dismissed - fixed - - fixed_at: *183 + fixed_at: *185 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *184 - dismissed_reason: &430 + dismissed_at: *186 + dismissed_reason: &434 type: - string - 'null' @@ -32043,14 +32161,14 @@ paths: - used in tests - mitigated - - dismissed_comment: &431 + dismissed_comment: &435 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &432 + rule: &436 type: object properties: id: @@ -32111,43 +32229,43 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &433 + tool: &437 type: object properties: - name: *185 + name: *187 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *186 - most_recent_instance: &434 + guid: *188 + most_recent_instance: &438 type: object properties: - ref: &426 + ref: &430 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &445 + analysis_key: &449 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &446 + environment: &450 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &447 + category: &451 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *187 + state: *189 commit_sha: type: string message: @@ -32161,7 +32279,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &448 + location: &452 type: object description: Describe a region within a file for the alert. properties: @@ -32182,7 +32300,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &449 + items: &453 type: - string - 'null' @@ -32819,7 +32937,7 @@ paths: application/json: schema: *44 examples: - default: *188 + default: *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32847,9 +32965,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '304': *32 '403': *27 '404': *6 @@ -32938,7 +33056,7 @@ paths: application/json: schema: *44 examples: - default: *188 + default: *190 '304': *32 '403': *27 '404': *6 @@ -33383,7 +33501,7 @@ paths: default: value: default_for_new_repos: all - configuration: *188 + configuration: *190 '403': *27 '404': *6 x-github: @@ -33436,13 +33554,13 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *192 + repository: *194 '403': *27 '404': *6 x-github: @@ -33482,7 +33600,7 @@ paths: type: integer codespaces: type: array - items: &249 + items: &251 type: object title: Codespace description: A codespace. @@ -33517,7 +33635,7 @@ paths: machine: anyOf: - type: 'null' - - &461 + - &465 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -33804,7 +33922,7 @@ paths: - pulls_url - recent_folders examples: - default: &250 + default: &252 value: total_count: 3 codespaces: @@ -34428,7 +34546,7 @@ paths: type: integer secrets: type: array - items: &193 + items: &195 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -34469,7 +34587,7 @@ paths: - updated_at - visibility examples: - default: &462 + default: &466 value: total_count: 2 secrets: @@ -34507,7 +34625,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &467 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -34542,7 +34660,7 @@ paths: - key_id - key examples: - default: &464 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34572,9 +34690,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: &466 + default: &470 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -34908,7 +35026,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &194 + items: &196 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -35305,9 +35423,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: &195 + default: &197 summary: Example response for an organization copilot space value: id: 84 @@ -35412,9 +35530,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 '403': *27 '404': *6 x-github: @@ -35543,9 +35661,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 '403': *27 '404': *6 '422': *15 @@ -35628,7 +35746,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &196 + items: &198 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -35853,7 +35971,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: user: value: @@ -35983,7 +36101,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: user: value: @@ -36134,7 +36252,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &197 + items: &199 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -36278,7 +36396,7 @@ paths: description: Resource created content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -36294,7 +36412,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -36349,7 +36467,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -36418,7 +36536,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -36660,7 +36778,7 @@ paths: currently being billed. seats: type: array - items: &252 + items: &254 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -36678,7 +36796,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *198 + - *200 - *64 type: - 'null' @@ -37296,7 +37414,7 @@ paths: - total_count - repositories examples: - default: *199 + default: *201 '500': *50 '401': *23 '403': *27 @@ -37822,12 +37940,12 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *72 - - *200 - - *201 - *202 - *203 - *204 - *205 + - *206 + - *207 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37857,7 +37975,7 @@ paths: enum: - patch - deployment - - *206 + - *208 - name: runtime_risk in: query description: |- @@ -37866,9 +37984,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *207 - - *208 - *209 + - *210 + - *211 - *57 - *42 - *43 @@ -37880,9 +37998,9 @@ paths: application/json: schema: type: array - items: *210 + items: *212 examples: - default: *211 + default: *213 '304': *32 '400': *14 '403': *27 @@ -37931,9 +38049,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 '403': *27 '404': *6 x-github: @@ -38097,7 +38215,7 @@ paths: type: integer secrets: type: array - items: &214 + items: &216 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38176,7 +38294,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &497 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38195,7 +38313,7 @@ paths: - key_id - key examples: - default: &494 + default: &498 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38225,7 +38343,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -38522,7 +38640,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 title: Package description: A software package type: object @@ -38593,7 +38711,7 @@ paths: - created_at - updated_at examples: - default: &262 + default: &264 value: - id: 197 name: hello_docker @@ -38763,7 +38881,7 @@ paths: application/json: schema: type: array - items: &238 + items: &240 title: Organization Invitation description: Organization Invitation type: object @@ -38817,7 +38935,7 @@ paths: - invitation_teams_url - node_id examples: - default: &239 + default: &241 value: - id: 1 login: monalisa @@ -38884,7 +39002,7 @@ paths: application/json: schema: type: array - items: &215 + items: &217 title: Org Hook description: Org Hook type: object @@ -39069,9 +39187,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: &216 + default: &218 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39119,7 +39237,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *72 - - &217 + - &219 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -39132,9 +39250,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *216 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -39162,7 +39280,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *72 - - *217 + - *219 requestBody: required: false content: @@ -39208,7 +39326,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: default: value: @@ -39250,7 +39368,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *72 - - *217 + - *219 responses: '204': description: Response @@ -39278,7 +39396,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *72 - - *217 + - *219 responses: '200': description: Response @@ -39309,7 +39427,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *72 - - *217 + - *219 requestBody: required: false content: @@ -39360,10 +39478,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *72 - - *217 - - *17 - - *218 - *219 + - *17 + - *220 + - *221 responses: '200': description: Response @@ -39371,9 +39489,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -39399,16 +39517,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *72 - - *217 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '400': *14 '422': *15 x-github: @@ -39434,7 +39552,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *72 - - *217 + - *219 - *16 responses: '202': *34 @@ -39464,7 +39582,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *72 - - *217 + - *219 responses: '204': description: Response @@ -39489,7 +39607,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *72 - - &228 + - &230 name: actor_type in: path description: The type of the actor @@ -39502,14 +39620,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &229 + - &231 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &224 + - &226 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -39517,7 +39635,7 @@ paths: required: true schema: type: string - - &225 + - &227 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39614,12 +39732,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *72 - - *224 - - *225 + - *226 + - *227 - *19 - *17 - *57 - - &234 + - &236 name: sort description: The property to sort the results by. in: query @@ -39700,14 +39818,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *72 - - *224 - - *225 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: &226 + schema: &228 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -39723,7 +39841,7 @@ paths: type: integer format: int64 examples: - default: &227 + default: &229 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -39746,23 +39864,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *72 - - &230 + - &232 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *224 - - *225 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *226 + schema: *228 examples: - default: *227 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -39782,18 +39900,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *72 - - *224 - - *225 - - *228 - - *229 + - *226 + - *227 + - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *226 + schema: *228 examples: - default: *227 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -39813,9 +39931,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *72 - - *224 - - *225 - - &231 + - *226 + - *227 + - &233 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -39828,7 +39946,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &234 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -39844,7 +39962,7 @@ paths: type: integer format: int64 examples: - default: &233 + default: &235 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39883,18 +40001,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *72 - - *230 - - *224 - - *225 - - *231 + - *232 + - *226 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *233 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -39914,19 +40032,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *72 - - *228 - - *229 - - *224 - - *225 + - *230 - *231 + - *226 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *233 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -39946,13 +40064,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *72 - - *230 - - *224 - - *225 + - *232 + - *226 + - *227 - *19 - *17 - *57 - - *234 + - *236 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40036,7 +40154,7 @@ paths: application/json: schema: *20 examples: - default: &531 + default: &535 value: id: 1 account: @@ -40202,12 +40320,12 @@ paths: application/json: schema: anyOf: - - &236 + - &238 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &235 + limit: &237 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40235,7 +40353,7 @@ paths: properties: {} additionalProperties: false examples: - default: &237 + default: &239 value: limit: collaborators_only origin: organization @@ -40264,13 +40382,13 @@ paths: required: true content: application/json: - schema: &532 + schema: &536 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *235 + limit: *237 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40295,9 +40413,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *237 + default: *239 '422': *15 x-github: githubCloudOnly: false @@ -40507,9 +40625,9 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *63 '404': *6 @@ -40586,7 +40704,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *240 examples: default: value: @@ -40641,7 +40759,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *72 - - &240 + - &242 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40672,7 +40790,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *72 - - *240 + - *242 - *17 - *19 responses: @@ -40682,9 +40800,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: &260 + default: &262 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -40727,7 +40845,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -40990,9 +41108,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: &242 + default: &244 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -41048,7 +41166,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *72 - - &243 + - &245 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -41158,9 +41276,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: *242 + default: *244 '404': *6 '422': *7 x-github: @@ -41185,7 +41303,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *72 - - *243 + - *245 responses: '204': *54 '404': *6 @@ -41215,9 +41333,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: &536 + default: &540 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41303,9 +41421,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: &245 + default: &247 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41338,7 +41456,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *72 - - &246 + - &248 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41394,9 +41512,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '404': *6 '422': *7 x-github: @@ -41421,7 +41539,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *72 - - *246 + - *248 responses: '204': description: Response @@ -41484,7 +41602,7 @@ paths: - closed - all default: open - - *247 + - *249 - name: type description: Can be the name of an issue type. in: query @@ -41515,7 +41633,7 @@ paths: type: array items: *80 examples: - default: *248 + default: *250 headers: Link: *63 '404': *6 @@ -41675,9 +41793,9 @@ paths: type: integer codespaces: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 '304': *32 '500': *50 '401': *23 @@ -41704,7 +41822,7 @@ paths: parameters: - *72 - *68 - - &251 + - &253 name: codespace_name in: path required: true @@ -41739,15 +41857,15 @@ paths: parameters: - *72 - *68 - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: &460 + default: &464 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41927,7 +42045,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -42003,7 +42121,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &255 title: Org Membership description: Org Membership type: object @@ -42072,7 +42190,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &254 + response-if-user-has-an-active-admin-membership-with-organization: &256 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42173,9 +42291,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: - response-if-user-already-had-membership-with-organization: *254 + response-if-user-already-had-membership-with-organization: *256 '422': *15 '403': *27 '451': *15 @@ -42248,7 +42366,7 @@ paths: application/json: schema: type: array - items: &255 + items: &257 title: Migration description: A migration. type: object @@ -42586,7 +42704,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -42765,7 +42883,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *72 - - &256 + - &258 name: migration_id description: The unique identifier of the migration. in: path @@ -42793,7 +42911,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -42963,7 +43081,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *72 - - *256 + - *258 responses: '302': description: Response @@ -42985,7 +43103,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *72 - - *256 + - *258 responses: '204': description: Response @@ -43009,8 +43127,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *72 - - *256 - - &724 + - *258 + - &728 name: repo_name description: repo_name parameter in: path @@ -43038,7 +43156,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *72 - - *256 + - *258 - *17 - *19 responses: @@ -43092,7 +43210,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &258 + items: &260 title: Organization Role description: Organization roles type: object @@ -43269,7 +43387,7 @@ paths: parameters: - *72 - *73 - - &257 + - &259 name: role_id description: The unique identifier of the role. in: path @@ -43306,7 +43424,7 @@ paths: parameters: - *72 - *73 - - *257 + - *259 responses: '204': description: Response @@ -43359,7 +43477,7 @@ paths: parameters: - *72 - *68 - - *257 + - *259 responses: '204': description: Response @@ -43391,7 +43509,7 @@ paths: parameters: - *72 - *68 - - *257 + - *259 responses: '204': description: Response @@ -43420,13 +43538,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *72 - - *257 + - *259 responses: '200': description: Response content: application/json: - schema: *258 + schema: *260 examples: default: value: @@ -43477,7 +43595,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *72 - - *257 + - *259 - *17 - *19 responses: @@ -43556,7 +43674,7 @@ paths: parent: anyOf: - type: 'null' - - *259 + - *261 type: description: The ownership type of the team type: string @@ -43589,7 +43707,7 @@ paths: - type - parent examples: - default: *260 + default: *262 headers: Link: *63 '404': @@ -43619,7 +43737,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *72 - - *257 + - *259 - *17 - *19 responses: @@ -43648,7 +43766,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *259 + items: *261 name: type: - string @@ -43958,7 +44076,7 @@ paths: - nuget - container - *72 - - &725 + - &729 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43994,12 +44112,12 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *262 + default: *264 '403': *27 '401': *23 - '400': &727 + '400': &731 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44021,7 +44139,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &263 + - &265 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -44039,7 +44157,7 @@ paths: - docker - nuget - container - - &264 + - &266 name: package_name description: The name of the package. in: path @@ -44052,7 +44170,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -44104,8 +44222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 responses: '204': @@ -44138,8 +44256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 - name: token description: package token @@ -44172,8 +44290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 - *19 - *17 @@ -44194,7 +44312,7 @@ paths: application/json: schema: type: array - items: &265 + items: &267 title: Package Version description: A version of a software package type: object @@ -44329,10 +44447,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 - - &266 + - &268 name: package_version_id description: Unique identifier of the package version. in: path @@ -44344,7 +44462,7 @@ paths: description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -44380,10 +44498,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *263 - - *264 - - *72 + - *265 - *266 + - *72 + - *268 responses: '204': description: Response @@ -44415,10 +44533,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *263 - - *264 - - *72 + - *265 - *266 + - *72 + - *268 responses: '204': description: Response @@ -44448,7 +44566,7 @@ paths: - *72 - *17 - *19 - - &267 + - &269 name: sort description: The property by which to sort the results. in: query @@ -44459,7 +44577,7 @@ paths: - created_at default: created_at - *57 - - &268 + - &270 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -44471,7 +44589,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &269 + - &271 name: repository description: The name of the repository to use to filter the results. in: query @@ -44480,7 +44598,7 @@ paths: type: string examples: - Hello-World - - &270 + - &272 name: permission description: The permission to use to filter the results. in: query @@ -44489,7 +44607,7 @@ paths: type: string examples: - issues_read - - &271 + - &273 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -44499,7 +44617,7 @@ paths: schema: type: string format: date-time - - &272 + - &274 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -44509,7 +44627,7 @@ paths: schema: type: string format: date-time - - &273 + - &275 name: token_id description: The ID of the token in: query @@ -44828,7 +44946,7 @@ paths: type: array items: *153 examples: - default: &274 + default: &276 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44965,14 +45083,14 @@ paths: - *72 - *17 - *19 - - *267 - - *57 - - *268 - *269 + - *57 - *270 - *271 - *272 - *273 + - *274 + - *275 responses: '500': *50 '422': *15 @@ -45256,7 +45374,7 @@ paths: type: array items: *153 examples: - default: *274 + default: *276 headers: Link: *63 x-github: @@ -45298,7 +45416,7 @@ paths: type: integer configurations: type: array - items: &275 + items: &277 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45815,7 +45933,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &276 + org-private-registry-with-selected-visibility: &278 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -45913,9 +46031,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '404': *6 x-github: githubCloudOnly: false @@ -46167,7 +46285,7 @@ paths: application/json: schema: type: array - items: &277 + items: &279 title: Projects v2 Project description: A projects v2 project type: object @@ -46241,7 +46359,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &811 + - &815 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -46326,7 +46444,7 @@ paths: - deleted_at - deleted_by examples: - default: &278 + default: &280 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46429,7 +46547,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &279 + - &281 name: project_number description: The project's number. in: path @@ -46442,9 +46560,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *279 examples: - default: *278 + default: *280 headers: Link: *63 '304': *32 @@ -46467,7 +46585,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *72 - - *279 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -46501,7 +46619,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -46515,7 +46633,7 @@ paths: content: oneOf: - *80 - - &435 + - &440 title: Pull Request Simple description: Pull Request Simple type: object @@ -46635,7 +46753,7 @@ paths: milestone: anyOf: - type: 'null' - - *280 + - *282 active_lock_reason: type: - string @@ -46674,7 +46792,7 @@ paths: items: *4 requested_teams: type: array - items: *198 + items: *200 head: type: object properties: @@ -46718,7 +46836,7 @@ paths: _links: type: object properties: - comments: &281 + comments: &283 title: Link description: Hypermedia Link type: object @@ -46727,13 +46845,13 @@ paths: type: string required: - href - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -46744,7 +46862,7 @@ paths: - review_comment - self author_association: *77 - auto_merge: &596 + auto_merge: &600 title: Auto merge description: The status of auto merging a pull request. type: @@ -46770,7 +46888,7 @@ paths: - merge_method - commit_title - commit_message - stack: &597 + stack: &601 title: Pull Request Stack description: The stack information associated with a pull request. @@ -46884,7 +47002,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &283 + content_type: &285 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46928,7 +47046,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &285 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47002,7 +47120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *279 + - *281 - *72 - *17 - *42 @@ -47014,7 +47132,7 @@ paths: application/json: schema: type: array - items: &282 + items: &284 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47167,7 +47285,7 @@ paths: - updated_at - project_url examples: - default: &748 + default: &752 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47297,7 +47415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *279 + - *281 - *72 requestBody: required: true @@ -47344,7 +47462,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &749 + items: &753 type: object properties: name: @@ -47381,7 +47499,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &750 + iteration_configuration: &754 type: object description: The configuration for iteration fields. required: @@ -47438,7 +47556,7 @@ paths: value: name: Due date data_type: date - single_select_field: &751 + single_select_field: &755 summary: Create a single select field value: name: Priority @@ -47465,7 +47583,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &752 + iteration_field: &756 summary: Create an iteration field value: name: Sprint @@ -47485,9 +47603,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *282 + schema: *284 examples: - text_field: &753 + text_field: &757 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -47496,7 +47614,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &754 + number_field: &758 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -47505,7 +47623,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &755 + date_field: &759 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -47514,7 +47632,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &756 + single_select_field: &760 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47548,7 +47666,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &757 + iteration_field: &761 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -47593,8 +47711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *279 - - &758 + - *281 + - &762 name: field_id description: The unique identifier of the field. in: path @@ -47607,9 +47725,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: &759 + default: &763 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47665,7 +47783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *279 + - *281 - *72 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -47698,7 +47816,7 @@ paths: application/json: schema: type: array - items: &286 + items: &288 title: Projects v2 Item description: An item belonging to a project type: object @@ -47715,7 +47833,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *283 + content_type: *285 content: type: - object @@ -47765,7 +47883,7 @@ paths: - updated_at - archived_at examples: - default: &287 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -48463,7 +48581,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *72 - - *279 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -48533,22 +48651,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *32 '403': *27 '401': *23 @@ -48568,9 +48686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *279 + - *281 - *72 - - &288 + - &290 name: item_id description: The unique identifier of the project item. in: path @@ -48596,9 +48714,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -48619,9 +48737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *279 + - *281 - *72 - - *288 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48694,13 +48812,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -48720,9 +48838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *279 + - *281 - *72 - - *288 + - *290 responses: '204': description: Response @@ -48746,7 +48864,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *72 - - *279 + - *281 requestBody: required: true content: @@ -48861,7 +48979,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &739 + schema: &743 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48965,7 +49083,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &289 + value: &291 value: id: 1 number: 1 @@ -49011,10 +49129,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *32 '403': *27 '401': *23 @@ -49042,9 +49160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *279 + - *281 - *72 - - &760 + - &764 name: view_number description: The number that identifies the project view. in: path @@ -49076,9 +49194,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -49111,7 +49229,7 @@ paths: application/json: schema: type: array - items: &290 + items: &292 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -49189,7 +49307,7 @@ paths: - property_name - value_type examples: - default: &291 + default: &293 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -49249,7 +49367,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *290 + items: *292 minItems: 1 maxItems: 100 required: @@ -49279,9 +49397,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 '403': *27 '404': *6 x-github: @@ -49303,7 +49421,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *72 - - &292 + - &294 name: custom_property_name description: The custom property name in: path @@ -49315,9 +49433,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: &293 + default: &295 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -49352,7 +49470,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *72 - - *292 + - *294 requestBody: required: true content: @@ -49434,9 +49552,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *293 + default: *295 '403': *27 '404': *6 x-github: @@ -49460,7 +49578,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *72 - - *292 + - *294 responses: '204': *54 '403': *27 @@ -49524,7 +49642,7 @@ paths: - octocat/Hello-World properties: type: array - items: &294 + items: &296 title: Custom Property Value description: Custom property name and associated value type: object @@ -49616,7 +49734,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - repository_names - properties @@ -49808,7 +49926,7 @@ paths: type: array items: *153 examples: - default: *274 + default: *276 headers: Link: *63 x-github: @@ -50011,7 +50129,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &343 title: Full Repository description: Full Repository type: object @@ -50481,7 +50599,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &479 + code_of_conduct: &483 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50511,7 +50629,7 @@ paths: - key - name - html_url - security_and_analysis: *295 + security_and_analysis: *297 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50595,7 +50713,7 @@ paths: - network_count - subscribers_count examples: - default: &343 + default: &345 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51116,7 +51234,7 @@ paths: - *72 - *17 - *19 - - &621 + - &625 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51135,7 +51253,7 @@ paths: application/json: schema: type: array - items: &322 + items: &324 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -51170,7 +51288,7 @@ paths: source: type: string description: The name of the source - enforcement: &298 + enforcement: &300 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -51183,7 +51301,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &299 + items: &301 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -51255,7 +51373,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &296 + - &298 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -51279,7 +51397,7 @@ paths: match. items: type: string - - &300 + - &302 title: Organization ruleset conditions type: object description: |- @@ -51293,7 +51411,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *296 + - *298 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -51327,7 +51445,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *296 + - *298 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -51349,7 +51467,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *296 + - *298 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -51362,7 +51480,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &297 + items: &299 title: Repository ruleset property targeting definition type: object @@ -51395,7 +51513,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *297 + items: *299 required: - repository_property type: @@ -51403,12 +51521,12 @@ paths: - object rules: type: array - items: &622 + items: &626 title: Repository Rule type: object description: A repository rule. oneOf: - - &301 + - &303 title: creation description: Only allow users with bypass permission to create matching refs. @@ -51420,7 +51538,7 @@ paths: type: string enum: - creation - - &302 + - &304 title: update description: Only allow users with bypass permission to update matching refs. @@ -51441,7 +51559,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &303 + - &305 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -51453,7 +51571,7 @@ paths: type: string enum: - deletion - - &304 + - &306 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -51465,7 +51583,7 @@ paths: type: string enum: - required_linear_history - - &619 + - &623 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -51543,7 +51661,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &305 + - &307 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -51567,7 +51685,7 @@ paths: type: string required: - required_deployment_environments - - &306 + - &308 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -51579,7 +51697,7 @@ paths: type: string enum: - required_signatures - - &307 + - &309 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -51722,7 +51840,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &308 + - &310 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -51770,7 +51888,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &309 + - &311 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -51782,7 +51900,7 @@ paths: type: string enum: - non_fast_forward - - &310 + - &312 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -51819,7 +51937,7 @@ paths: required: - operator - pattern - - &311 + - &313 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -51856,7 +51974,7 @@ paths: required: - operator - pattern - - &312 + - &314 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -51893,7 +52011,7 @@ paths: required: - operator - pattern - - &313 + - &315 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -51930,7 +52048,7 @@ paths: required: - operator - pattern - - &314 + - &316 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -51967,7 +52085,7 @@ paths: required: - operator - pattern - - &319 + - &321 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -52017,7 +52135,7 @@ paths: - repository_id required: - workflows - - &320 + - &322 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -52078,7 +52196,7 @@ paths: - tool required: - code_scanning_tools - - &321 + - &323 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -52104,7 +52222,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &620 + - &624 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -52116,7 +52234,7 @@ paths: type: string enum: - license_compliance_scanning - - &315 + - &317 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -52141,7 +52259,7 @@ paths: type: string required: - restricted_file_paths - - &316 + - &318 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -52165,7 +52283,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &317 + - &319 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -52188,7 +52306,7 @@ paths: type: string required: - restricted_file_extensions - - &318 + - &320 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -52286,22 +52404,20 @@ paths: - push - repository default: branch - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *300 + items: *301 + conditions: *302 rules: type: array description: An array of rules within the ruleset. - items: &324 + items: &326 title: Repository Rule type: object description: A repository rule. oneOf: - - *301 - - *302 - *303 - *304 - *305 @@ -52321,6 +52437,8 @@ paths: - *319 - *320 - *321 + - *322 + - *323 required: - name - enforcement @@ -52358,9 +52476,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: &323 + default: &325 value: id: 21 name: super cool ruleset @@ -52416,7 +52534,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *72 - - &623 + - &627 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -52431,7 +52549,7 @@ paths: in: query schema: type: string - - &624 + - &628 name: time_period description: |- The time period to filter by. @@ -52447,14 +52565,14 @@ paths: - week - month default: day - - &625 + - &629 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &626 + - &630 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52467,7 +52585,7 @@ paths: - bypass - all default: all - - &627 + - &631 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -52490,7 +52608,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &632 title: Rule Suites description: Response type: array @@ -52546,7 +52664,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &629 + default: &633 value: - id: 21 actor_id: 12 @@ -52590,7 +52708,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *72 - - &630 + - &634 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -52606,7 +52724,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &635 title: Rule Suite description: Response type: object @@ -52713,7 +52831,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &632 + default: &636 value: id: 21 actor_id: 12 @@ -52786,9 +52904,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 '404': *6 '500': *50 put: @@ -52832,16 +52950,16 @@ paths: - tag - push - repository - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *300 + items: *301 + conditions: *302 rules: description: An array of rules within the ruleset. type: array - items: *324 + items: *326 examples: default: value: @@ -52876,9 +52994,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 '404': *6 '422': *15 '500': *50 @@ -52936,7 +53054,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 title: Ruleset version type: object description: The historical version of a ruleset @@ -52960,7 +53078,7 @@ paths: type: string format: date-time examples: - default: &634 + default: &638 value: - version_id: 3 actor: @@ -53013,9 +53131,9 @@ paths: description: Response content: application/json: - schema: &635 + schema: &639 allOf: - - *325 + - *327 - type: object required: - state @@ -53085,7 +53203,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *72 - - &636 + - &640 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53096,7 +53214,7 @@ paths: enum: - open - resolved - - &637 + - &641 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53106,7 +53224,7 @@ paths: required: false schema: type: string - - &638 + - &642 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53117,7 +53235,7 @@ paths: required: false schema: type: string - - &639 + - &643 name: exclude_providers in: query description: |- @@ -53128,7 +53246,7 @@ paths: required: false schema: type: string - - &640 + - &644 name: providers in: query description: |- @@ -53139,7 +53257,7 @@ paths: required: false schema: type: string - - &641 + - &645 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53148,7 +53266,7 @@ paths: required: false schema: type: string - - &642 + - &646 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -53167,7 +53285,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &643 + - &647 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -53182,7 +53300,7 @@ paths: - *57 - *19 - *17 - - &644 + - &648 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -53192,7 +53310,7 @@ paths: required: false schema: type: string - - &645 + - &649 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -53202,7 +53320,7 @@ paths: required: false schema: type: string - - &646 + - &650 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -53211,7 +53329,7 @@ paths: required: false schema: type: string - - &647 + - &651 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -53220,7 +53338,7 @@ paths: schema: type: boolean default: false - - &648 + - &652 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -53229,7 +53347,7 @@ paths: schema: type: boolean default: false - - &649 + - &653 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -53238,7 +53356,7 @@ paths: schema: type: boolean default: false - - &650 + - &654 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -53249,7 +53367,7 @@ paths: required: false schema: type: boolean - - &651 + - &655 name: included_metadata in: query description: |- @@ -53260,7 +53378,7 @@ paths: required: false schema: type: string - - &652 + - &656 name: owner_email_hash in: query description: |- @@ -53282,27 +53400,27 @@ paths: items: type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &653 + state: &657 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &654 + resolution: &658 type: - string - 'null' @@ -53421,14 +53539,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &655 + - &659 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &657 + - &661 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -53492,7 +53610,7 @@ paths: - blob_url - commit_sha - commit_url - - &658 + - &662 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -53553,7 +53671,7 @@ paths: - page_url - commit_sha - commit_url - - &659 + - &663 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -53575,7 +53693,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &660 + - &664 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -53597,7 +53715,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &661 + - &665 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -53619,7 +53737,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &662 + - &666 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -53634,7 +53752,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &663 + - &667 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -53649,7 +53767,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &664 + - &668 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -53664,7 +53782,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &665 + - &669 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -53686,7 +53804,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &666 + - &670 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -53708,7 +53826,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &667 + - &671 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -53730,7 +53848,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &668 + - &672 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -53752,7 +53870,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &669 + - &673 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -54002,7 +54120,7 @@ paths: subcategory: custom-patterns parameters: - *72 - - &670 + - &674 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -54013,7 +54131,7 @@ paths: enum: - published - unpublished - - &671 + - &675 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -54024,7 +54142,7 @@ paths: enum: - enabled - disabled - - &672 + - &676 name: sort description: The property to sort the results by. in: query @@ -54046,7 +54164,7 @@ paths: application/json: schema: type: array - items: &326 + items: &328 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -54098,7 +54216,7 @@ paths: description: List of regexes that the secret must not match. items: type: string - custom_pattern_version: &327 + custom_pattern_version: &329 type: - string - 'null' @@ -54123,7 +54241,7 @@ paths: - state - push_protection_enabled examples: - default: &673 + default: &677 value: - id: 1 name: Example Custom Pattern @@ -54186,7 +54304,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &674 + items: &678 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -54223,7 +54341,7 @@ paths: items: type: string examples: - default: &675 + default: &679 value: patterns: - name: Example Custom Pattern @@ -54247,9 +54365,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *326 + items: *328 examples: - default: &676 + default: &680 value: created_patterns: - id: 1 @@ -54301,7 +54419,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &677 + items: &681 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -54355,7 +54473,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &678 + items: &682 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -54365,7 +54483,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *327 + custom_pattern_version: *329 post_delete_action: type: string description: |- @@ -54378,7 +54496,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &679 + default: &683 value: patterns: - pattern_id: 2 @@ -54389,7 +54507,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': &328 + '412': &330 description: Precondition Failed content: application/json: @@ -54424,7 +54542,7 @@ paths: required: true content: application/json: - schema: &680 + schema: &684 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -54463,9 +54581,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *327 + custom_pattern_version: *329 examples: - default: &681 + default: &685 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -54480,9 +54598,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *326 + schema: *328 examples: - default: &682 + default: &686 value: id: 1 name: Example Custom Pattern @@ -54502,7 +54620,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': *328 + '412': *330 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -54535,11 +54653,11 @@ paths: related to push protection. type: object properties: - pattern_config_version: *327 + pattern_config_version: *329 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &329 + items: &331 type: object properties: token_type: @@ -54608,7 +54726,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *329 + items: *331 examples: default: value: @@ -54665,7 +54783,7 @@ paths: schema: type: object properties: - pattern_config_version: *327 + pattern_config_version: *329 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -54691,7 +54809,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *327 + custom_pattern_version: *329 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -54789,7 +54907,7 @@ paths: application/json: schema: type: array - items: &686 + items: &690 description: A repository security advisory. type: object properties: @@ -55012,7 +55130,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 credits_detailed: type: - array @@ -55023,7 +55141,7 @@ paths: type: object properties: user: *4 - type: *330 + type: *332 state: type: string description: The state of the user's acceptance of the @@ -55049,7 +55167,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *198 + items: *200 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -55086,7 +55204,7 @@ paths: - private_fork additionalProperties: false examples: - default: &687 + default: &691 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55473,7 +55591,7 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: default: value: @@ -55828,7 +55946,7 @@ paths: type: integer network_configurations: type: array - items: &331 + items: &333 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -55981,9 +56099,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: &332 + default: &334 value: id: 123456789ABCDEF name: My network configuration @@ -56012,7 +56130,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *72 - - &333 + - &335 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -56024,9 +56142,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 headers: Link: *63 x-github: @@ -56048,7 +56166,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *72 - - *333 + - *335 requestBody: required: true content: @@ -56101,9 +56219,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56123,7 +56241,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *72 - - *333 + - *335 responses: '204': description: Response @@ -56245,9 +56363,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 headers: Link: *63 '403': *27 @@ -56337,7 +56455,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56411,7 +56529,7 @@ paths: parent: anyOf: - type: 'null' - - *259 + - *261 members_count: type: integer examples: @@ -56744,7 +56862,7 @@ paths: - repos_count - organization examples: - default: &335 + default: &337 value: id: 1 node_id: MDQ6VGVhbTE= @@ -56821,9 +56939,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -56914,16 +57032,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '201': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 '422': *15 '403': *27 @@ -56953,7 +57071,7 @@ paths: responses: '204': description: Response - '422': &336 + '422': &338 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -56987,12 +57105,12 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *63 - '422': *336 + '422': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57039,7 +57157,7 @@ paths: application/json: schema: type: array - items: &704 + items: &708 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -57182,7 +57300,7 @@ paths: - type - url examples: - default: &705 + default: &709 value: - login: octocat id: 1 @@ -57241,7 +57359,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &339 title: Team Membership description: Team Membership type: object @@ -57269,7 +57387,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &706 + response-if-user-is-a-team-maintainer: &710 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57332,9 +57450,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: &707 + response-if-users-membership-with-team-is-now-pending: &711 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57412,7 +57530,7 @@ paths: type: array items: *153 examples: - default: *274 + default: *276 headers: Link: *63 x-github: @@ -57443,14 +57561,14 @@ paths: parameters: - *72 - *73 - - *338 - - *339 + - *340 + - *341 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &708 + schema: &712 title: Team Repository description: A team's access to a repository. type: object @@ -58085,8 +58203,8 @@ paths: parameters: - *72 - *73 - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -58133,8 +58251,8 @@ paths: parameters: - *72 - *73 - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -58169,9 +58287,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - response-if-child-teams-exist: &709 + response-if-child-teams-exist: &713 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58324,7 +58442,7 @@ paths: resources: type: object properties: - core: &340 + core: &342 title: Rate Limit type: object properties: @@ -58341,17 +58459,17 @@ paths: - remaining - reset - used - graphql: *340 - search: *340 - code_search: *340 - source_import: *340 - integration_manifest: *340 - actions_runner_registration: *340 - scim: *340 - dependency_snapshots: *340 - dependency_sbom: *340 - code_scanning_autofix: *340 - copilot_usage_records: *340 + graphql: *342 + search: *342 + code_search: *342 + source_import: *342 + integration_manifest: *342 + actions_runner_registration: *342 + scim: *342 + dependency_snapshots: *342 + dependency_sbom: *342 + code_scanning_autofix: *342 + copilot_usage_records: *342 required: - core - search @@ -58448,14 +58566,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: default-response: summary: Default response @@ -58959,7 +59077,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *342 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58977,8 +59095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -59289,10 +59407,10 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 - '307': &344 + default: *345 + '307': &346 description: Temporary Redirect content: application/json: @@ -59321,8 +59439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -59344,7 +59462,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *344 + '307': *346 '404': *6 '409': *49 x-github: @@ -59368,11 +59486,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - - &376 + - &378 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59395,7 +59513,7 @@ paths: type: integer artifacts: type: array - items: &345 + items: &347 title: Artifact description: An artifact type: object @@ -59490,7 +59608,7 @@ paths: - expires_at - updated_at examples: - default: &377 + default: &379 value: total_count: 2 artifacts: @@ -59551,9 +59669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *338 - - *339 - - &346 + - *340 + - *341 + - &348 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59565,7 +59683,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: default: value: @@ -59603,9 +59721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *338 - - *339 - - *346 + - *340 + - *341 + - *348 responses: '204': description: Response @@ -59629,9 +59747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *338 - - *339 - - *346 + - *340 + - *341 + - *348 - name: archive_format in: path required: true @@ -59641,7 +59759,7 @@ paths: '302': description: Response headers: - Location: &496 + Location: &500 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string @@ -59666,14 +59784,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &347 + schema: &349 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -59707,13 +59825,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *347 + schema: *349 examples: selected_actions: *37 responses: @@ -59742,14 +59860,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &348 + schema: &350 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -59783,13 +59901,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *348 + schema: *350 examples: selected_actions: *39 responses: @@ -59820,14 +59938,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: default: value: @@ -59853,11 +59971,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - - &350 + - &352 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -59891,7 +60009,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 title: Repository actions caches description: Repository actions caches type: object @@ -59941,7 +60059,7 @@ paths: - total_count - actions_caches examples: - default: &352 + default: &354 value: total_count: 1 actions_caches: @@ -59973,23 +60091,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *338 - - *339 + - *340 + - *341 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *350 + - *352 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60009,8 +60127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *338 - - *339 + - *340 + - *341 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60039,8 +60157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *43 responses: @@ -60123,8 +60241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -60280,9 +60398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *338 - - *339 - - &353 + - *340 + - *341 + - &355 name: job_id description: The unique identifier of the job. in: path @@ -60295,7 +60413,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &382 title: Job description: Information of a job execution in a workflow run type: object @@ -60644,9 +60762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *338 - - *339 - - *353 + - *340 + - *341 + - *355 responses: '302': description: Response @@ -60674,9 +60792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *338 - - *339 - - *353 + - *340 + - *341 + - *355 requestBody: required: false content: @@ -60727,8 +60845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Status response @@ -60787,8 +60905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -60856,8 +60974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -60875,7 +60993,7 @@ paths: type: integer secrets: type: array - items: &382 + items: &384 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60896,7 +61014,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &385 value: total_count: 2 secrets: @@ -60929,8 +61047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -60948,7 +61066,7 @@ paths: type: integer variables: type: array - items: &384 + items: &386 title: Actions Variable type: object properties: @@ -60982,7 +61100,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &387 value: total_count: 2 variables: @@ -61015,8 +61133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -61025,11 +61143,11 @@ paths: schema: type: object properties: - enabled: &355 + enabled: &357 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *354 + selected_actions_url: *356 sha_pinning_required: *139 required: - enabled @@ -61058,8 +61176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -61070,7 +61188,7 @@ paths: schema: type: object properties: - enabled: *355 + enabled: *357 allowed_actions: *138 sha_pinning_required: *139 required: @@ -61102,14 +61220,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &356 + schema: &358 type: object properties: access_level: @@ -61126,7 +61244,7 @@ paths: required: - access_level examples: - default: &357 + default: &359 value: access_level: organization x-github: @@ -61150,15 +61268,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 responses: '204': description: Response @@ -61182,14 +61300,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: default: value: @@ -61213,8 +61331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Empty response for successful settings update @@ -61224,7 +61342,7 @@ paths: required: true content: application/json: - schema: *359 + schema: *361 examples: default: summary: Set retention days @@ -61248,8 +61366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -61257,7 +61375,7 @@ paths: application/json: schema: *140 examples: - default: *360 + default: *362 '404': *6 x-github: enabledForGitHubApps: true @@ -61276,8 +61394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -61311,14 +61429,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *361 + schema: *363 examples: default: *141 '403': *27 @@ -61340,13 +61458,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *362 + schema: *364 examples: default: *141 responses: @@ -61372,8 +61490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -61400,8 +61518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -61433,14 +61551,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: default: *148 x-github: @@ -61463,8 +61581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Success response @@ -61475,7 +61593,7 @@ paths: required: true content: application/json: - schema: *364 + schema: *366 examples: default: *148 x-github: @@ -61504,8 +61622,8 @@ paths: in: query schema: type: string - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -61550,8 +61668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: version description: The runner version to look up. in: path @@ -61618,8 +61736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -61627,9 +61745,9 @@ paths: application/json: schema: type: array - items: *365 + items: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61651,8 +61769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -61695,7 +61813,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *367 + '201': *369 '404': *6 '422': *7 '409': *49 @@ -61726,8 +61844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -61735,7 +61853,7 @@ paths: application/json: schema: *157 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61763,8 +61881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -61772,7 +61890,7 @@ paths: application/json: schema: *157 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61794,8 +61912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: '200': @@ -61804,7 +61922,7 @@ paths: application/json: schema: *155 examples: - default: *370 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61825,8 +61943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: '204': @@ -61853,8 +61971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: '200': *159 @@ -61879,8 +61997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 requestBody: required: true @@ -61929,8 +62047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 requestBody: required: true @@ -61980,11 +62098,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: - '200': *371 + '200': *373 '404': *6 x-github: githubCloudOnly: false @@ -62011,10 +62129,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 - - *372 + - *374 responses: '200': *159 '404': *6 @@ -62042,9 +62160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *338 - - *339 - - &388 + - *340 + - *341 + - &390 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -62052,7 +62170,7 @@ paths: required: false schema: type: string - - &389 + - &391 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -62060,7 +62178,7 @@ paths: required: false schema: type: string - - &390 + - &392 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62069,7 +62187,7 @@ paths: required: false schema: type: string - - &391 + - &393 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -62096,7 +62214,7 @@ paths: - pending - *17 - *19 - - &392 + - &394 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -62105,7 +62223,7 @@ paths: schema: type: string format: date-time - - &373 + - &375 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62114,14 +62232,14 @@ paths: schema: type: boolean default: false - - &393 + - &395 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &394 + - &396 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62144,7 +62262,7 @@ paths: type: integer workflow_runs: type: array - items: &374 + items: &376 title: Workflow Run description: An invocation of a workflow type: object @@ -62324,7 +62442,7 @@ paths: head_commit: anyOf: - type: 'null' - - &418 + - &420 title: Simple Commit description: A commit. type: object @@ -62439,7 +62557,7 @@ paths: - workflow_url - pull_requests examples: - default: &395 + default: &397 value: total_count: 1 workflow_runs: @@ -62675,24 +62793,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *338 - - *339 - - &375 + - *340 + - *341 + - &377 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *373 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &378 + default: &380 value: id: 30433642 name: Build @@ -62933,9 +63051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '204': description: Response @@ -62958,9 +63076,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '200': description: Response @@ -63088,9 +63206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '201': description: Response @@ -63123,12 +63241,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 - *17 - *19 - - *376 + - *378 - *57 responses: '200': @@ -63145,9 +63263,9 @@ paths: type: integer artifacts: type: array - items: *345 + items: *347 examples: - default: *377 + default: *379 headers: Link: *63 x-github: @@ -63171,25 +63289,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *338 - - *339 - - *375 - - &379 + - *340 + - *341 + - *377 + - &381 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *373 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *378 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63212,10 +63330,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *338 - - *339 - - *375 - - *379 + - *340 + - *341 + - *377 + - *381 - *17 - *19 responses: @@ -63233,9 +63351,9 @@ paths: type: integer jobs: type: array - items: *380 + items: *382 examples: - default: &381 + default: &383 value: total_count: 1 jobs: @@ -63348,10 +63466,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *338 - - *339 - - *375 - - *379 + - *340 + - *341 + - *377 + - *381 responses: '302': description: Response @@ -63379,9 +63497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '202': description: Response @@ -63427,9 +63545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 - *17 - *42 - *43 @@ -63606,9 +63724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: true content: @@ -63675,9 +63793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '202': description: Response @@ -63710,9 +63828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -63742,9 +63860,9 @@ paths: type: integer jobs: type: array - items: *380 + items: *382 examples: - default: *381 + default: *383 headers: Link: *63 x-github: @@ -63769,9 +63887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '302': description: Response @@ -63798,9 +63916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '204': description: Response @@ -63827,9 +63945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '200': description: Response @@ -63898,7 +64016,7 @@ paths: items: type: object properties: - type: &503 + type: &507 type: string description: The type of reviewer. enum: @@ -63909,7 +64027,7 @@ paths: reviewer: anyOf: - *4 - - *198 + - *200 required: - environment - wait_timer @@ -63984,9 +64102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: true content: @@ -64036,7 +64154,7 @@ paths: application/json: schema: type: array - items: &498 + items: &502 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -64148,7 +64266,7 @@ paths: - created_at - updated_at examples: - default: &499 + default: &503 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -64204,9 +64322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: false content: @@ -64251,9 +64369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: false content: @@ -64307,9 +64425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '200': description: Response @@ -64446,8 +64564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -64465,9 +64583,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -64492,8 +64610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -64523,17 +64641,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: - default: &396 + default: &398 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64559,8 +64677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -64618,8 +64736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -64645,8 +64763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -64664,9 +64782,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -64689,8 +64807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -64742,17 +64860,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &397 + default: &399 value: name: USERNAME value: octocat @@ -64778,8 +64896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 requestBody: required: true @@ -64822,8 +64940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '204': @@ -64849,8 +64967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -64868,7 +64986,7 @@ paths: type: integer workflows: type: array - items: &386 + items: &388 title: Workflow description: A GitHub Actions workflow type: object @@ -64986,9 +65104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *338 - - *339 - - &387 + - *340 + - *341 + - &389 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -65003,7 +65121,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -65036,9 +65154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '204': description: Response @@ -65063,9 +65181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '200': description: Response including the workflow run ID and URLs. @@ -65145,9 +65263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '204': description: Response @@ -65174,19 +65292,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *338 - - *339 - - *387 - - *388 + - *340 + - *341 - *389 - *390 - *391 - - *17 - - *19 - *392 - - *373 - *393 + - *17 + - *19 - *394 + - *375 + - *395 + - *396 responses: '200': description: Response @@ -65202,9 +65320,9 @@ paths: type: integer workflow_runs: type: array - items: *374 + items: *376 examples: - default: *395 + default: *397 headers: Link: *63 x-github: @@ -65236,9 +65354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '200': description: Response @@ -65299,8 +65417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *338 - - *339 + - *340 + - *341 - *57 - *17 - *42 @@ -65473,8 +65591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -65492,9 +65610,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -65518,8 +65636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -65537,9 +65655,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -65564,8 +65682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -65583,9 +65701,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -65610,8 +65728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -65641,17 +65759,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: - default: *396 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65673,8 +65791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -65732,8 +65850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -65759,8 +65877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -65778,9 +65896,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -65803,8 +65921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -65856,17 +65974,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *397 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65887,8 +66005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 requestBody: required: true @@ -65931,8 +66049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '204': @@ -65954,8 +66072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -65992,8 +66110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *338 - - *339 + - *340 + - *341 - name: assignee in: path required: true @@ -66029,8 +66147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -66140,8 +66258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *42 - *43 @@ -66182,7 +66300,7 @@ paths: initiator: type: string examples: - default: *398 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66202,8 +66320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -66211,7 +66329,7 @@ paths: application/json: schema: type: array - items: &399 + items: &401 title: Autolink reference description: An autolink reference. type: object @@ -66270,8 +66388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -66310,9 +66428,9 @@ paths: description: response content: application/json: - schema: *399 + schema: *401 examples: - default: &400 + default: &402 value: id: 1 key_prefix: TICKET- @@ -66343,9 +66461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *338 - - *339 - - &401 + - *340 + - *341 + - &403 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66357,9 +66475,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -66379,9 +66497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *338 - - *339 - - *401 + - *340 + - *341 + - *403 responses: '204': description: Response @@ -66405,8 +66523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response if Dependabot is enabled @@ -66456,8 +66574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -66478,8 +66596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -66499,8 +66617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *338 - - *339 + - *340 + - *341 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -66538,7 +66656,7 @@ paths: - url protected: type: boolean - protection: &403 + protection: &405 title: Branch Protection description: Branch Protection type: object @@ -66581,7 +66699,7 @@ paths: required: - contexts - checks - enforce_admins: &406 + enforce_admins: &408 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -66598,7 +66716,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &408 + required_pull_request_reviews: &410 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -66620,7 +66738,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *198 + items: *200 apps: description: The list of apps with review dismissal access. @@ -66652,7 +66770,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *198 + items: *200 apps: description: The list of apps allowed to bypass pull request requirements. @@ -66682,7 +66800,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &405 + restrictions: &407 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -66745,7 +66863,7 @@ paths: type: string teams: type: array - items: *198 + items: *200 apps: type: array items: @@ -66975,9 +67093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *338 - - *339 - - &404 + - *340 + - *341 + - &406 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -66991,14 +67109,14 @@ paths: description: Response content: application/json: - schema: &414 + schema: &416 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &471 + commit: &475 title: Commit description: Commit type: object @@ -67037,7 +67155,7 @@ paths: author: anyOf: - type: 'null' - - &402 + - &404 title: Git User description: Metaproperties for Git author/committer information. @@ -67059,7 +67177,7 @@ paths: committer: anyOf: - type: 'null' - - *402 + - *404 message: type: string examples: @@ -67083,7 +67201,7 @@ paths: required: - sha - url - verification: &521 + verification: &525 title: Verification type: object properties: @@ -67163,7 +67281,7 @@ paths: type: integer files: type: array - items: &481 + items: &485 title: Diff Entry description: Diff Entry type: object @@ -67259,7 +67377,7 @@ paths: - self protected: type: boolean - protection: *403 + protection: *405 protection_url: type: string format: uri @@ -67368,7 +67486,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *342 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -67390,15 +67508,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: default: value: @@ -67592,9 +67710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -67854,7 +67972,7 @@ paths: url: type: string format: uri - required_status_checks: &411 + required_status_checks: &413 title: Status Check Policy description: Status Check Policy type: object @@ -67935,7 +68053,7 @@ paths: items: *4 teams: type: array - items: *198 + items: *200 apps: type: array items: *5 @@ -67953,7 +68071,7 @@ paths: items: *4 teams: type: array - items: *198 + items: *200 apps: type: array items: *5 @@ -68013,7 +68131,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *405 + restrictions: *407 required_conversation_resolution: type: object properties: @@ -68125,9 +68243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -68152,17 +68270,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: &407 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68184,17 +68302,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68213,9 +68331,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -68240,17 +68358,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: &409 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68346,9 +68464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -68446,9 +68564,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: *409 + default: *411 '422': *15 x-github: githubCloudOnly: false @@ -68469,9 +68587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -68498,17 +68616,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: &410 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68531,17 +68649,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *410 + default: *412 '404': *6 x-github: githubCloudOnly: false @@ -68561,9 +68679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -68588,17 +68706,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: &412 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -68624,9 +68742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -68678,9 +68796,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 '404': *6 '422': *15 x-github: @@ -68702,9 +68820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -68728,9 +68846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -68764,9 +68882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -68833,9 +68951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -68899,9 +69017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: content: application/json: @@ -68967,15 +69085,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: default: value: @@ -69066,9 +69184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -69091,9 +69209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -69103,7 +69221,7 @@ paths: type: array items: *5 examples: - default: &413 + default: &415 value: - id: 1 slug: octoapp @@ -69160,9 +69278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69196,7 +69314,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69217,9 +69335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69253,7 +69371,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69274,9 +69392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69310,7 +69428,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -69332,9 +69450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -69342,9 +69460,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -69364,9 +69482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69402,9 +69520,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69425,9 +69543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69463,9 +69581,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69486,9 +69604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: content: application/json: @@ -69523,9 +69641,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -69547,9 +69665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -69583,9 +69701,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69643,9 +69761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69703,9 +69821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69765,9 +69883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -69789,7 +69907,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: default: value: @@ -69905,8 +70023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -70185,7 +70303,7 @@ paths: description: Response content: application/json: - schema: &415 + schema: &417 title: CheckRun description: A check performed on the code of a given code change type: object @@ -70321,7 +70439,7 @@ paths: check. type: array items: *83 - deployment: &772 + deployment: &776 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -70608,9 +70726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *338 - - *339 - - &416 + - *340 + - *341 + - &418 name: check_run_id description: The unique identifier of the check run. in: path @@ -70623,9 +70741,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: &417 + default: &419 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70725,9 +70843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *338 - - *339 - - *416 + - *340 + - *341 + - *418 requestBody: required: true content: @@ -70967,9 +71085,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *417 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70989,9 +71107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *338 - - *339 - - *416 + - *340 + - *341 + - *418 - *17 - *19 responses: @@ -71101,9 +71219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *338 - - *339 - - *416 + - *340 + - *341 + - *418 responses: '201': description: Response @@ -71147,8 +71265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -71170,7 +71288,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &419 + schema: &421 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71268,7 +71386,7 @@ paths: - string - 'null' format: date-time - head_commit: *418 + head_commit: *420 latest_check_runs_count: type: integer check_runs_url: @@ -71296,7 +71414,7 @@ paths: - check_runs_url - pull_requests examples: - default: &420 + default: &422 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -71587,9 +71705,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71608,8 +71726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -71918,9 +72036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *338 - - *339 - - &421 + - *340 + - *341 + - &423 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71932,9 +72050,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71957,17 +72075,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *338 - - *339 - - *421 - - &476 + - *340 + - *341 + - *423 + - &480 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &477 + - &481 name: status description: Returns check runs with the specified `status`. in: query @@ -72006,9 +72124,9 @@ paths: type: integer check_runs: type: array - items: *415 + items: *417 examples: - default: &478 + default: &482 value: total_count: 1 check_runs: @@ -72110,9 +72228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *338 - - *339 - - *421 + - *340 + - *341 + - *423 responses: '201': description: Response @@ -72141,8 +72259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *57 - *42 @@ -72164,7 +72282,7 @@ paths: application/json: schema: type: array - items: &422 + items: &424 description: Code quality finding type: object properties: @@ -72294,7 +72412,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &423 + '403': &425 description: Response if the user is not authorized to access Code quality for this repository. content: @@ -72321,8 +72439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *338 - - *339 + - *340 + - *341 - name: finding_number in: path description: The number that identifies a finding. @@ -72334,7 +72452,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -72363,7 +72481,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *423 + '403': *425 '404': *6 '503': *112 x-github: @@ -72385,8 +72503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -72468,7 +72586,7 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *423 + '403': *425 '404': *6 '503': *112 x-github: @@ -72489,8 +72607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -72610,6 +72728,122 @@ paths: enabledForGitHubApps: true category: code-quality subcategory: code-quality + "/repos/{owner}/{repo}/code-scanning/ai-scan": + get: + summary: Get AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository + parameters: + - *340 + - *341 + responses: + '200': + description: Response + content: + application/json: + schema: &426 + description: AI Scan enablement for a repository. + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the repository. + type: string + enum: + - enabled + - disabled + required: + - pr_scan + examples: + default: &427 + value: + pr_scan: enabled + '403': &439 + description: Response if GitHub Advanced Security is not enabled for this + repository + content: + application/json: + schema: *3 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning + patch: + summary: Update AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository + parameters: + - *340 + - *341 + requestBody: + required: true + content: + application/json: + schema: + description: AI Scan enablement update for a repository. + type: object + properties: + pr_scan: + description: Whether to enable or disable AI Scan for the repository. + type: string + enum: + - enabled + - disabled + minProperties: 1 + additionalProperties: false + examples: + enabled: + summary: Enable AI Scan + value: + pr_scan: enabled + disabled: + summary: Disable AI Scan + value: + pr_scan: disabled + responses: + '200': + description: Response + content: + application/json: + schema: *426 + examples: + default: *427 + '403': &443 + description: Response if the repository is archived or if GitHub Advanced + Security is not enabled for this repository + content: + application/json: + schema: *3 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning "/repos/{owner}/{repo}/code-scanning/alerts": get: summary: List code scanning alerts for a repository @@ -72628,21 +72862,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *338 - - *339 - - *424 - - *425 + - *340 + - *341 + - *428 + - *429 - *19 - *17 - - &443 + - &447 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *426 - - &444 + schema: *430 + - &448 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72667,13 +72901,13 @@ paths: be returned. in: query required: false - schema: *427 + schema: *431 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *428 + schema: *432 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -72692,24 +72926,24 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 - instances_url: *429 - state: *187 - fixed_at: *183 + number: *180 + created_at: *181 + updated_at: *182 + url: *183 + html_url: *184 + instances_url: *433 + state: *189 + fixed_at: *185 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *184 - dismissed_reason: *430 - dismissed_comment: *431 - rule: *432 - tool: *433 - most_recent_instance: *434 + dismissed_at: *186 + dismissed_reason: *434 + dismissed_comment: *435 + rule: *436 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: anyOf: - type: 'null' @@ -72832,12 +73066,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *32 - '403': &436 - description: Response if GitHub Advanced Security is not enabled for this - repository - content: - application/json: - schema: *3 + '403': *439 '404': *6 '503': *112 x-github: @@ -72859,9 +73088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *338 - - *339 - - &437 + - *340 + - *341 + - &441 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -72869,30 +73098,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *178 + schema: *180 responses: '200': description: Response content: application/json: - schema: &438 + schema: &442 type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 - instances_url: *429 - state: *187 - fixed_at: *183 + number: *180 + created_at: *181 + updated_at: *182 + url: *183 + html_url: *184 + instances_url: *433 + state: *189 + fixed_at: *185 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *184 - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_at: *186 + dismissed_reason: *434 + dismissed_comment: *435 rule: type: object properties: @@ -72954,8 +73183,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *433 - most_recent_instance: *434 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: anyOf: - type: 'null' @@ -72966,7 +73195,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *435 + items: *440 required: - number - created_at @@ -73055,7 +73284,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *32 - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -73075,9 +73304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 requestBody: required: true content: @@ -73092,8 +73321,8 @@ paths: enum: - open - dismissed - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *434 + dismissed_comment: *435 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73121,7 +73350,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: default: value: @@ -73197,12 +73426,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &442 - description: Response if the repository is archived or if GitHub Advanced - Security is not enabled for this repository - content: - application/json: - schema: *3 + '403': *443 '404': *6 '503': *112 x-github: @@ -73224,15 +73448,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 responses: '200': description: Response content: application/json: - schema: &439 + schema: &444 type: object properties: status: @@ -73259,13 +73483,13 @@ paths: - description - started_at examples: - default: &440 + default: &445 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &441 + '400': &446 description: Bad Request content: application/json: @@ -73276,7 +73500,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *436 + '403': *439 '404': *6 '500': *50 x-github: @@ -73301,29 +73525,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 responses: '200': description: OK content: application/json: - schema: *439 + schema: *444 examples: - default: *440 + default: *445 '202': description: Accepted content: application/json: - schema: *439 + schema: *444 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *441 + '400': *446 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73355,9 +73579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 requestBody: required: false content: @@ -73403,8 +73627,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *441 - '403': *442 + '400': *446 + '403': *443 '404': *6 '422': description: Unprocessable Entity @@ -73428,13 +73652,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 - *19 - *17 - - *443 - - *444 + - *447 + - *448 responses: '200': description: Response @@ -73445,10 +73669,10 @@ paths: items: type: object properties: - ref: *426 - analysis_key: *445 - environment: *446 - category: *447 + ref: *430 + analysis_key: *449 + environment: *450 + category: *451 state: type: - string @@ -73465,7 +73689,7 @@ paths: properties: text: type: string - location: *448 + location: *452 html_url: type: string classifications: @@ -73473,7 +73697,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *449 + items: *453 examples: default: value: @@ -73510,7 +73734,7 @@ paths: end_column: 50 classifications: - source - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -73544,25 +73768,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *338 - - *339 - - *424 - - *425 + - *340 + - *341 + - *428 + - *429 - *19 - *17 - - *444 + - *448 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *426 + schema: *430 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &450 + schema: &454 type: string description: An identifier for the upload. examples: @@ -73584,23 +73808,23 @@ paths: application/json: schema: type: array - items: &451 + items: &455 type: object properties: - ref: *426 - commit_sha: &459 + ref: *430 + commit_sha: &463 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *445 + analysis_key: *449 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *447 + category: *451 error: type: string examples: @@ -73625,8 +73849,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *450 - tool: *433 + sarif_id: *454 + tool: *437 deletable: type: boolean warning: @@ -73688,7 +73912,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -73724,8 +73948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73738,7 +73962,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *455 examples: response: summary: application/json response @@ -73792,7 +74016,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *436 + '403': *439 '404': *6 '422': description: Response if analysis could not be processed @@ -73879,8 +74103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73936,7 +74160,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *442 + '403': *443 '404': *6 '503': *112 x-github: @@ -73958,8 +74182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -73967,7 +74191,7 @@ paths: application/json: schema: type: array - items: &452 + items: &456 title: CodeQL Database description: A CodeQL database. type: object @@ -74079,7 +74303,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -74108,8 +74332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -74121,7 +74345,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *456 examples: default: value: @@ -74153,9 +74377,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &485 + '302': &489 description: Found - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -74177,8 +74401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *338 - - *339 + - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -74188,7 +74412,7 @@ paths: responses: '204': description: Response - '403': *442 + '403': *443 '404': *6 '503': *112 x-github: @@ -74216,8 +74440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -74226,7 +74450,7 @@ paths: type: object additionalProperties: false properties: - language: &453 + language: &457 type: string description: The language targeted by the CodeQL query enum: @@ -74306,7 +74530,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &457 + schema: &461 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74316,7 +74540,7 @@ paths: description: The ID of the variant analysis. controller_repo: *62 actor: *4 - query_language: *453 + query_language: *457 query_pack_url: type: string description: The download url for the query pack. @@ -74364,7 +74588,7 @@ paths: items: type: object properties: - repository: &454 + repository: &458 title: Repository Identifier description: Repository Identifier type: object @@ -74406,7 +74630,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &458 + analysis_status: &462 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74438,7 +74662,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &455 + access_mismatch_repos: &459 type: object properties: repository_count: @@ -74453,7 +74677,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *454 + items: *458 required: - repository_count - repositories @@ -74476,8 +74700,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *455 - over_limit_repos: *455 + no_codeql_db_repos: *459 + over_limit_repos: *459 required: - access_mismatch_repos - not_found_repos @@ -74493,7 +74717,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &456 + value: &460 summary: Default response value: id: 1 @@ -74639,10 +74863,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *456 + value: *460 repository_lists: summary: Response for a successful variant analysis submission - value: *456 + value: *460 '404': *6 '422': description: Unable to process variant analysis submission @@ -74670,8 +74894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *338 - - *339 + - *340 + - *341 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74683,9 +74907,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *461 examples: - default: *456 + default: *460 '404': *6 '503': *112 x-github: @@ -74708,7 +74932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *338 + - *340 - name: repo in: path description: The name of the controller repository. @@ -74743,7 +74967,7 @@ paths: type: object properties: repository: *62 - analysis_status: *458 + analysis_status: *462 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -74868,8 +75092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -74960,7 +75184,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -74981,8 +75205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -75076,7 +75300,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *442 + '403': *443 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75147,8 +75371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -75156,7 +75380,7 @@ paths: schema: type: object properties: - commit_sha: *459 + commit_sha: *463 ref: type: string description: |- @@ -75216,7 +75440,7 @@ paths: schema: type: object properties: - id: *450 + id: *454 url: type: string description: The REST API URL for checking the status of the upload. @@ -75230,7 +75454,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *442 + '403': *443 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75253,8 +75477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *338 - - *339 + - *340 + - *341 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75302,7 +75526,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *436 + '403': *439 '404': description: Not Found if the sarif id does not match any upload '503': *112 @@ -75327,8 +75551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -75409,8 +75633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -75538,8 +75762,8 @@ paths: parameters: - *17 - *19 - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -75555,7 +75779,7 @@ paths: type: integer codespaces: type: array - items: *249 + items: *251 examples: default: value: @@ -75853,8 +76077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -75918,17 +76142,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '400': *14 '401': *23 '403': *27 @@ -75957,8 +76181,8 @@ paths: parameters: - *17 - *19 - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -76022,8 +76246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76060,9 +76284,9 @@ paths: type: integer machines: type: array - items: *461 + items: *465 examples: - default: &714 + default: &718 value: total_count: 2 machines: @@ -76102,8 +76326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76190,8 +76414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -76260,8 +76484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -76279,7 +76503,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &469 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76300,7 +76524,7 @@ paths: - created_at - updated_at examples: - default: *462 + default: *466 headers: Link: *63 x-github: @@ -76323,16 +76547,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *463 + schema: *467 examples: - default: *464 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76352,17 +76576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: *466 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76382,8 +76606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -76436,8 +76660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -76466,8 +76690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *338 - - *339 + - *340 + - *341 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76505,7 +76729,7 @@ paths: application/json: schema: type: array - items: &467 + items: &471 title: Collaborator description: Collaborator type: object @@ -76698,8 +76922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *338 - - *339 + - *340 + - *341 - *68 responses: '204': @@ -76746,8 +76970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *338 - - *339 + - *340 + - *341 - *68 requestBody: required: false @@ -76774,7 +76998,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &535 + schema: &539 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77002,8 +77226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *338 - - *339 + - *340 + - *341 - *68 responses: '204': @@ -77035,8 +77259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *338 - - *339 + - *340 + - *341 - *68 responses: '200': @@ -77057,7 +77281,7 @@ paths: user: anyOf: - type: 'null' - - *467 + - *471 required: - permission - role_name @@ -77111,8 +77335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -77122,7 +77346,7 @@ paths: application/json: schema: type: array - items: &468 + items: &472 title: Commit Comment description: Commit Comment type: object @@ -77180,7 +77404,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &477 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77239,17 +77463,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': description: Response content: application/json: - schema: *468 + schema: *472 examples: - default: &474 + default: &478 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77306,8 +77530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -77330,7 +77554,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *472 examples: default: value: @@ -77381,8 +77605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -77404,8 +77628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77432,7 +77656,7 @@ paths: application/json: schema: type: array - items: &469 + items: &473 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77476,7 +77700,7 @@ paths: - content - created_at examples: - default: &538 + default: &542 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77521,8 +77745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -77555,9 +77779,9 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: &470 + default: &474 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77586,9 +77810,9 @@ paths: description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -77610,10 +77834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *338 - - *339 + - *340 + - *341 - *94 - - &539 + - &543 name: reaction_id description: The unique identifier of the reaction. in: path @@ -77668,8 +77892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *338 - - *339 + - *340 + - *341 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77725,9 +77949,9 @@ paths: application/json: schema: type: array - items: *471 + items: *475 examples: - default: &604 + default: &608 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77821,9 +78045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *338 - - *339 - - &472 + - *340 + - *341 + - &476 name: commit_sha description: The SHA of the commit. in: path @@ -77895,9 +78119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 - *17 - *19 responses: @@ -77907,9 +78131,9 @@ paths: application/json: schema: type: array - items: *468 + items: *472 examples: - default: *473 + default: *477 headers: Link: *63 x-github: @@ -77939,9 +78163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 requestBody: required: true content: @@ -77976,9 +78200,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *472 examples: - default: *474 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78006,9 +78230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 - *17 - *19 responses: @@ -78018,9 +78242,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: &595 + default: &599 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78557,11 +78781,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *338 - - *339 + - *340 + - *341 - *19 - *17 - - &475 + - &479 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -78576,9 +78800,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *475 examples: - default: &583 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78666,7 +78890,7 @@ paths: schema: type: string examples: - default: &482 + default: &486 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -78679,7 +78903,7 @@ paths: schema: type: string examples: - default: &483 + default: &487 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -78732,11 +78956,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *338 - - *339 - - *475 - - *476 - - *477 + - *340 + - *341 + - *479 + - *480 + - *481 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78770,9 +78994,9 @@ paths: type: integer check_runs: type: array - items: *415 + items: *417 examples: - default: *478 + default: *482 headers: Link: *63 x-github: @@ -78797,9 +79021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *338 - - *339 - - *475 + - *340 + - *341 + - *479 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78807,7 +79031,7 @@ paths: schema: type: integer example: 1 - - *476 + - *480 - *17 - *19 responses: @@ -78825,7 +79049,7 @@ paths: type: integer check_suites: type: array - items: *419 + items: *421 examples: default: value: @@ -79025,9 +79249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *338 - - *339 - - *475 + - *340 + - *341 + - *479 - *17 - *19 responses: @@ -79229,9 +79453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *338 - - *339 - - *475 + - *340 + - *341 + - *479 - *17 - *19 responses: @@ -79241,7 +79465,7 @@ paths: application/json: schema: type: array - items: &693 + items: &697 title: Status description: The status of a commit. type: object @@ -79322,7 +79546,7 @@ paths: site_admin: false headers: Link: *63 - '301': *342 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79350,8 +79574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -79384,11 +79608,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *479 + - *483 code_of_conduct_file: anyOf: - type: 'null' - - &480 + - &484 title: Community Health File type: object properties: @@ -79408,19 +79632,19 @@ paths: contributing: anyOf: - type: 'null' - - *480 + - *484 readme: anyOf: - type: 'null' - - *480 + - *484 issue_template: anyOf: - type: 'null' - - *480 + - *484 pull_request_template: anyOf: - type: 'null' - - *480 + - *484 required: - code_of_conduct - code_of_conduct_file @@ -79549,8 +79773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *338 - - *339 + - *340 + - *341 - *19 - *17 - name: basehead @@ -79598,8 +79822,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *471 - merge_base_commit: *471 + base_commit: *475 + merge_base_commit: *475 status: type: string enum: @@ -79623,10 +79847,10 @@ paths: - 6 commits: type: array - items: *471 + items: *475 files: type: array - items: *481 + items: *485 required: - url - html_url @@ -79872,12 +80096,12 @@ paths: schema: type: string examples: - default: *482 + default: *486 application/vnd.github.patch: schema: type: string examples: - default: *483 + default: *487 '404': *6 '500': *50 '503': *112 @@ -79922,8 +80146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *338 - - *339 + - *340 + - *341 - name: path description: path parameter in: path @@ -80093,7 +80317,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &484 + response-if-content-is-a-file-github-object: &488 summary: Response if content is a file value: type: file @@ -80230,7 +80454,7 @@ paths: - size - type - url - - &610 + - &614 title: Content File description: Content File type: object @@ -80448,7 +80672,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *484 + response-if-content-is-a-file: *488 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80517,7 +80741,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *485 + '302': *489 '304': *32 x-github: githubCloudOnly: false @@ -80540,8 +80764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *338 - - *339 + - *340 + - *341 - name: path description: path parameter in: path @@ -80636,7 +80860,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &490 title: File Commit description: File Commit type: object @@ -80792,7 +81016,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: example-for-creating-a-file: value: @@ -80846,7 +81070,7 @@ paths: schema: oneOf: - *3 - - &516 + - &520 description: Repository rule violation was detected type: object properties: @@ -80867,7 +81091,7 @@ paths: items: type: object properties: - placeholder_id: &683 + placeholder_id: &687 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80899,8 +81123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *338 - - *339 + - *340 + - *341 - name: path description: path parameter in: path @@ -80961,7 +81185,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: default: value: @@ -81016,8 +81240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *338 - - *339 + - *340 + - *341 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81147,8 +81371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -81300,25 +81524,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *338 - - *339 - - *200 - - *201 + - *340 + - *341 - *202 - *203 - *204 + - *205 + - *206 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *205 - - *487 - - *206 - *207 + - *491 - *208 - *209 + - *210 + - *211 - *57 - *42 - *43 @@ -81330,11 +81554,11 @@ paths: application/json: schema: type: array - items: &491 + items: &495 type: object description: A Dependabot alert. properties: - number: *178 + number: *180 state: type: string description: The state of the Dependabot alert. @@ -81381,13 +81605,13 @@ paths: - transitive - inconclusive - - security_advisory: *488 + security_advisory: *492 security_vulnerability: *61 - url: *181 - html_url: *182 - created_at: *179 - updated_at: *180 - dismissed_at: *184 + url: *183 + html_url: *184 + created_at: *181 + updated_at: *182 + dismissed_at: *186 dismissed_by: anyOf: - type: 'null' @@ -81411,9 +81635,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *183 - auto_dismissed_at: *489 - dismissal_request: *490 + fixed_at: *185 + auto_dismissed_at: *493 + dismissal_request: *494 assignees: type: array description: The users assigned to this alert. @@ -81670,9 +81894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *338 - - *339 - - &492 + - *340 + - *341 + - &496 name: alert_number in: path description: |- @@ -81681,13 +81905,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *178 + schema: *180 responses: '200': description: Response content: application/json: - schema: *491 + schema: *495 examples: default: value: @@ -81820,9 +82044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *338 - - *339 - - *492 + - *340 + - *341 + - *496 requestBody: required: true content: @@ -81895,7 +82119,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: default: value: @@ -82026,8 +82250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -82045,7 +82269,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &499 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82099,16 +82323,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *493 + schema: *497 examples: - default: *494 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82128,15 +82352,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *495 + schema: *499 examples: default: value: @@ -82162,8 +82386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -82216,8 +82440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -82240,8 +82464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *338 - - *339 + - *340 + - *341 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -82421,8 +82645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -82684,8 +82908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: sbom_uuid in: path required: true @@ -82696,7 +82920,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *496 + Location: *500 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -82717,8 +82941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -82756,8 +82980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -82840,7 +83064,7 @@ paths: - version - url additionalProperties: false - metadata: &497 + metadata: &501 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82879,7 +83103,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *497 + metadata: *501 resolved: type: object description: A collection of resolved package dependencies. @@ -82893,7 +83117,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *497 + metadata: *501 relationship: type: string description: A notation of whether a dependency is requested @@ -83026,8 +83250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *338 - - *339 + - *340 + - *341 - name: sha description: The SHA recorded at creation time. in: query @@ -83068,9 +83292,9 @@ paths: application/json: schema: type: array - items: *498 + items: *502 examples: - default: *499 + default: *503 headers: Link: *63 x-github: @@ -83136,8 +83360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -83219,7 +83443,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: simple-example: summary: Simple example @@ -83292,9 +83516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *338 - - *339 - - &500 + - *340 + - *341 + - &504 name: deployment_id description: deployment_id parameter in: path @@ -83306,7 +83530,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: default: value: @@ -83371,9 +83595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 responses: '204': description: Response @@ -83395,9 +83619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 - *17 - *19 responses: @@ -83407,7 +83631,7 @@ paths: application/json: schema: type: array - items: &501 + items: &505 title: Deployment Status description: The status of a deployment. type: object @@ -83571,9 +83795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 requestBody: required: true content: @@ -83648,9 +83872,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: &502 + default: &506 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83706,9 +83930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 - name: status_id in: path required: true @@ -83719,9 +83943,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: *502 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -83746,8 +83970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -83804,8 +84028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -83823,7 +84047,7 @@ paths: - 5 environments: type: array - items: &504 + items: &508 title: Environment description: Details of a deployment environment type: object @@ -83885,7 +84109,7 @@ paths: type: string examples: - wait_timer - wait_timer: &506 + wait_timer: &510 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -83927,11 +84151,11 @@ paths: items: type: object properties: - type: *503 + type: *507 reviewer: anyOf: - *4 - - *198 + - *200 required: - id - node_id @@ -83954,7 +84178,7 @@ paths: - id - node_id - type - deployment_branch_policy: &507 + deployment_branch_policy: &511 type: - object - 'null' @@ -84071,9 +84295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *338 - - *339 - - &505 + - *340 + - *341 + - &509 name: environment_name in: path required: true @@ -84086,9 +84310,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: &508 + default: &512 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84172,9 +84396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 requestBody: required: false content: @@ -84184,7 +84408,7 @@ paths: - object - 'null' properties: - wait_timer: *506 + wait_timer: *510 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84203,14 +84427,14 @@ paths: items: type: object properties: - type: *503 + type: *507 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *507 + deployment_branch_policy: *511 additionalProperties: false examples: default: @@ -84230,9 +84454,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: *508 + default: *512 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84256,9 +84480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 responses: '204': description: Default response @@ -84283,9 +84507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *17 - *19 responses: @@ -84304,7 +84528,7 @@ paths: - 2 branch_policies: type: array - items: &509 + items: &513 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84365,9 +84589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 requestBody: required: true content: @@ -84415,9 +84639,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - example-wildcard: &510 + example-wildcard: &514 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84459,10 +84683,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 - - &511 + - *340 + - *341 + - *509 + - &515 name: branch_policy_id in: path required: true @@ -84474,9 +84698,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84495,10 +84719,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 - - *511 + - *340 + - *341 + - *509 + - *515 requestBody: required: true content: @@ -84527,9 +84751,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84548,10 +84772,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 - - *511 + - *340 + - *341 + - *509 + - *515 responses: '204': description: Response @@ -84576,9 +84800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *505 - - *339 - - *338 + - *509 + - *341 + - *340 responses: '200': description: List of deployment protection rules @@ -84595,7 +84819,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &512 + items: &516 title: Deployment protection rule description: Deployment protection rule type: object @@ -84617,7 +84841,7 @@ paths: for the environment. examples: - true - app: &513 + app: &517 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84720,9 +84944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *505 - - *339 - - *338 + - *509 + - *341 + - *340 requestBody: content: application/json: @@ -84743,9 +84967,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *512 + schema: *516 examples: - default: &514 + default: &518 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84780,9 +85004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *505 - - *339 - - *338 + - *509 + - *341 + - *340 - *19 - *17 responses: @@ -84802,7 +85026,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *513 + items: *517 examples: default: value: @@ -84837,10 +85061,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *338 - - *339 - - *505 - - &515 + - *340 + - *341 + - *509 + - &519 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84852,9 +85076,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *516 examples: - default: *514 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84875,10 +85099,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *505 - - *339 - - *338 - - *515 + - *509 + - *341 + - *340 + - *519 responses: '204': description: Response @@ -84904,9 +85128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *17 - *19 responses: @@ -84924,9 +85148,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -84951,9 +85175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 responses: '200': description: Response @@ -84983,18 +85207,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *161 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: - default: *396 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85016,9 +85240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *161 requestBody: required: true @@ -85076,9 +85300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *161 responses: '204': @@ -85104,9 +85328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *170 - *19 responses: @@ -85124,9 +85348,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -85149,9 +85373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 requestBody: required: true content: @@ -85203,18 +85427,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *164 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *397 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85235,10 +85459,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 - - *505 + - *509 requestBody: required: true content: @@ -85280,10 +85504,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 - - *505 + - *509 responses: '204': description: Response @@ -85305,8 +85529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -85374,8 +85598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *338 - - *339 + - *340 + - *341 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85534,8 +85758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -85568,9 +85792,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 '400': *14 '422': *15 '403': *27 @@ -85591,8 +85815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -85652,7 +85876,7 @@ paths: schema: oneOf: - *122 - - *516 + - *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85677,8 +85901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *338 - - *339 + - *340 + - *341 - name: file_sha in: path required: true @@ -85778,8 +86002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -85888,7 +86112,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &521 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86115,15 +86339,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 responses: '200': description: Response content: application/json: - schema: *517 + schema: *521 examples: default: value: @@ -86179,9 +86403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *338 - - *339 - - &518 + - *340 + - *341 + - &522 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -86198,7 +86422,7 @@ paths: application/json: schema: type: array - items: &519 + items: &523 title: Git Reference description: Git references within a repository type: object @@ -86274,17 +86498,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *338 - - *339 - - *518 + - *340 + - *341 + - *522 responses: '200': description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: &520 + default: &524 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86313,8 +86537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -86343,9 +86567,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86371,9 +86595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *338 - - *339 - - *518 + - *340 + - *341 + - *522 requestBody: required: true content: @@ -86402,9 +86626,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '422': *15 '409': *49 x-github: @@ -86422,9 +86646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *338 - - *339 - - *518 + - *340 + - *341 + - *522 responses: '204': description: Response @@ -86479,8 +86703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -86547,7 +86771,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &526 title: Git Tag description: Metadata for a Git tag type: object @@ -86603,7 +86827,7 @@ paths: - sha - type - url - verification: *521 + verification: *525 required: - sha - url @@ -86613,7 +86837,7 @@ paths: - tag - message examples: - default: &523 + default: &527 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86686,8 +86910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *338 - - *339 + - *340 + - *341 - name: tag_sha in: path required: true @@ -86698,9 +86922,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: *523 + default: *527 '404': *6 '409': *49 x-github: @@ -86724,8 +86948,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -86799,7 +87023,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &528 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86901,8 +87125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *338 - - *339 + - *340 + - *341 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86925,7 +87149,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *528 examples: default-response: summary: Default response @@ -86983,8 +87207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -87028,8 +87252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -87039,7 +87263,7 @@ paths: application/json: schema: type: array - items: &525 + items: &529 title: Webhook description: Webhooks for repositories. type: object @@ -87102,7 +87326,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &803 + last_response: &807 title: Hook Response type: object properties: @@ -87179,8 +87403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -87233,9 +87457,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *529 examples: - default: &526 + default: &530 value: type: Repository id: 12345678 @@ -87283,17 +87507,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '200': description: Response content: application/json: - schema: *525 + schema: *529 examples: - default: *526 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -87313,9 +87537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 requestBody: required: true content: @@ -87360,9 +87584,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *529 examples: - default: *526 + default: *530 '422': *15 '404': *6 x-github: @@ -87383,9 +87607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '204': description: Response @@ -87409,9 +87633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '200': description: Response @@ -87438,9 +87662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 requestBody: required: false content: @@ -87484,12 +87708,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *338 - - *339 - - *217 - - *17 - - *218 + - *340 + - *341 - *219 + - *17 + - *220 + - *221 responses: '200': description: Response @@ -87497,9 +87721,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -87518,18 +87742,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '400': *14 '422': *15 x-github: @@ -87548,9 +87772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 - *16 responses: '202': *34 @@ -87573,9 +87797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '204': description: Response @@ -87600,9 +87824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '204': description: Response @@ -87625,8 +87849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response if immutable releases are enabled @@ -87674,8 +87898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '409': *49 @@ -87695,8 +87919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '409': *49 @@ -87753,14 +87977,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &527 + schema: &531 title: Import description: A repository import from an external source. type: object @@ -87867,7 +88091,7 @@ paths: - html_url - authors_url examples: - default: &530 + default: &534 value: vcs: subversion use_lfs: true @@ -87883,7 +88107,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &528 + '503': &532 description: Unavailable due to service under maintenance. content: application/json: @@ -87912,8 +88136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -87961,7 +88185,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *531 examples: default: value: @@ -87986,7 +88210,7 @@ paths: type: string '422': *15 '404': *6 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88014,8 +88238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -88067,7 +88291,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *531 examples: example-1: summary: Example 1 @@ -88115,7 +88339,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88138,12 +88362,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88169,9 +88393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *338 - - *339 - - &737 + - *340 + - *341 + - &741 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88185,7 +88409,7 @@ paths: application/json: schema: type: array - items: &529 + items: &533 title: Porter Author description: Porter Author type: object @@ -88239,7 +88463,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88264,8 +88488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *338 - - *339 + - *340 + - *341 - name: author_id in: path required: true @@ -88295,7 +88519,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *533 examples: default: value: @@ -88308,7 +88532,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88332,8 +88556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -88374,7 +88598,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88402,8 +88626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -88430,11 +88654,11 @@ paths: description: Response content: application/json: - schema: *527 + schema: *531 examples: - default: *530 + default: *534 '422': *15 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88457,8 +88681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -88466,8 +88690,8 @@ paths: application/json: schema: *20 examples: - default: *531 - '301': *342 + default: *535 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -88487,8 +88711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -88496,12 +88720,12 @@ paths: application/json: schema: anyOf: - - *236 + - *238 - type: object properties: {} additionalProperties: false examples: - default: &533 + default: &537 value: limit: collaborators_only origin: repository @@ -88526,13 +88750,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *532 + schema: *536 examples: default: summary: Example request body @@ -88544,9 +88768,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *533 + default: *537 '409': description: Response x-github: @@ -88568,8 +88792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -88596,8 +88820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -88651,13 +88875,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: &534 + schema: &538 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -88707,13 +88931,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *534 + schema: *538 examples: default: summary: Example request body @@ -88746,8 +88970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -88800,8 +89024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -88877,8 +89101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -88888,9 +89112,9 @@ paths: application/json: schema: type: array - items: *535 + items: *539 examples: - default: &729 + default: &733 value: - id: 1 repository: @@ -89021,9 +89245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *338 - - *339 - - *240 + - *340 + - *341 + - *242 requestBody: required: false content: @@ -89052,7 +89276,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *539 examples: default: value: @@ -89183,9 +89407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *338 - - *339 - - *240 + - *340 + - *341 + - *242 responses: '204': description: Response @@ -89208,8 +89432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -89217,9 +89441,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: *536 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -89248,8 +89472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *338 - - *339 + - *340 + - *341 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -89311,7 +89535,7 @@ paths: required: false schema: type: string - - *247 + - *249 - name: sort description: What to sort results by. in: query @@ -89336,7 +89560,7 @@ paths: type: array items: *80 examples: - default: &546 + default: &550 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89485,7 +89709,7 @@ paths: state_reason: completed headers: Link: *63 - '301': *342 + '301': *344 '422': *15 '404': *6 x-github: @@ -89514,8 +89738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -89630,7 +89854,7 @@ paths: application/json: schema: *80 examples: - default: &543 + default: &547 value: id: 1 node_id: MDU6SXNzdWUx @@ -89796,8 +90020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *102 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89820,7 +90044,7 @@ paths: type: array items: *81 examples: - default: &545 + default: &549 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89879,8 +90103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': @@ -89889,7 +90113,7 @@ paths: application/json: schema: *81 examples: - default: &537 + default: &541 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89945,8 +90169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -89971,7 +90195,7 @@ paths: application/json: schema: *81 examples: - default: *537 + default: *541 '422': *15 x-github: githubCloudOnly: false @@ -89989,8 +90213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -90019,8 +90243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': @@ -90100,8 +90324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -90127,8 +90351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -90155,9 +90379,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -90178,8 +90402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -90212,16 +90436,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -90243,10 +90467,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *338 - - *339 + - *340 + - *341 - *94 - - *539 + - *543 responses: '204': description: Response @@ -90266,8 +90490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -90277,7 +90501,7 @@ paths: application/json: schema: type: array - items: &542 + items: &546 title: Issue Event description: Issue Event type: object @@ -90357,7 +90581,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *198 + requested_team: *200 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90424,7 +90648,7 @@ paths: required: - from - to - issue_type: &540 + issue_type: &544 title: Issue Type description: The type of issue. type: @@ -90455,11 +90679,11 @@ paths: required: - id - name - prev_issue_type: *540 + prev_issue_type: *544 sub_issue: anyOf: - type: 'null' - - &541 + - &545 title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency @@ -90517,19 +90741,19 @@ paths: parent_issue: anyOf: - type: 'null' - - *541 + - *545 blocked_by: anyOf: - type: 'null' - - *541 + - *545 blocking: anyOf: - type: 'null' - - *541 + - *545 intent: anyOf: - type: 'null' - - &547 + - &551 title: Issue Event Intent description: The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` @@ -90751,8 +90975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *338 - - *339 + - *340 + - *341 - name: event_id in: path required: true @@ -90763,7 +90987,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *546 examples: default: value: @@ -90990,9 +91214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *338 - - *339 - - &544 + - *340 + - *341 + - &548 name: issue_number description: The number that identifies the issue. in: path @@ -91008,7 +91232,7 @@ paths: examples: default: summary: Issue - value: *543 + value: *547 pinned_comment: summary: Issue with pinned comment value: @@ -91188,7 +91412,7 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *342 + '301': *344 '404': *6 '410': *30 '304': *32 @@ -91215,9 +91439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -91582,11 +91806,11 @@ paths: - already_applied - issue_already_closed examples: - default: *543 + default: *547 '422': *15 '503': *112 '403': *27 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -91606,9 +91830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -91658,7 +91882,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91674,9 +91898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: content: application/json: @@ -91703,7 +91927,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91725,9 +91949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: assignee in: path required: true @@ -91767,9 +91991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *85 - *17 - *19 @@ -91782,7 +92006,7 @@ paths: type: array items: *81 examples: - default: *545 + default: *549 headers: Link: *63 '404': *6 @@ -91815,9 +92039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -91841,7 +92065,7 @@ paths: application/json: schema: *81 examples: - default: *537 + default: *541 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -91876,9 +92100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -91890,10 +92114,10 @@ paths: type: array items: *80 examples: - default: *546 + default: *550 headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -91923,9 +92147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -91949,13 +92173,13 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *342 + '301': *344 '403': *27 '410': *30 '422': *15 @@ -91988,9 +92212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -92004,8 +92228,8 @@ paths: application/json: schema: *80 examples: - default: *543 - '301': *342 + default: *547 + '301': *344 '400': *14 '401': *23 '403': *27 @@ -92036,9 +92260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -92050,10 +92274,10 @@ paths: type: array items: *80 examples: - default: *546 + default: *550 headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -92072,9 +92296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -92088,7 +92312,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &553 + - &557 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92129,7 +92353,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - label - id @@ -92141,7 +92365,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &558 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92182,7 +92406,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - label - id @@ -92223,7 +92447,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - id - node_id @@ -92277,7 +92501,7 @@ paths: - performed_via_github_app - assignee - assigner - - &555 + - &559 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92323,7 +92547,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &560 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92369,7 +92593,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &561 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92418,7 +92642,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &562 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92447,7 +92671,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *198 + requested_team: *200 requested_reviewer: *4 required: - review_requester @@ -92460,7 +92684,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &563 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -92489,7 +92713,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *198 + requested_team: *200 requested_reviewer: *4 required: - review_requester @@ -92502,7 +92726,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &564 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -92558,7 +92782,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &565 title: Locked Issue Event description: Locked Issue Event type: object @@ -92603,7 +92827,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &566 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92664,7 +92888,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &567 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92725,7 +92949,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &568 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92786,7 +93010,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &569 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92844,7 +93068,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &572 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -92872,11 +93096,11 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *540 + issue_type: *544 intent: anyOf: - type: 'null' - - *547 + - *551 required: - issue_type - id @@ -92888,7 +93112,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &573 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -92916,11 +93140,11 @@ paths: anyOf: - type: 'null' - *5 - prev_issue_type: *540 + prev_issue_type: *544 intent: anyOf: - type: 'null' - - *547 + - *551 required: - prev_issue_type - id @@ -92932,7 +93156,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &574 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -92960,12 +93184,12 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *540 - prev_issue_type: *540 + issue_type: *544 + prev_issue_type: *544 intent: anyOf: - type: 'null' - - *547 + - *551 required: - issue_type - prev_issue_type @@ -92978,7 +93202,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &575 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -93009,7 +93233,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *541 + - *545 required: - sub_issue - id @@ -93021,7 +93245,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &576 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -93052,7 +93276,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *541 + - *545 required: - sub_issue - id @@ -93064,7 +93288,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &577 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -93095,7 +93319,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *541 + - *545 required: - parent_issue - id @@ -93107,7 +93331,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &578 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -93138,7 +93362,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *541 + - *545 required: - parent_issue - id @@ -93150,7 +93374,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &579 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -93181,7 +93405,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *541 + - *545 required: - blocked_by - id @@ -93193,7 +93417,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &580 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -93224,7 +93448,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *541 + - *545 required: - blocked_by - id @@ -93236,7 +93460,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &581 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -93267,7 +93491,7 @@ paths: blocking: anyOf: - type: 'null' - - *541 + - *545 required: - blocking - id @@ -93279,7 +93503,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &582 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -93310,7 +93534,7 @@ paths: blocking: anyOf: - type: 'null' - - *541 + - *545 required: - blocking - id @@ -93374,9 +93598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -93386,9 +93610,9 @@ paths: application/json: schema: type: array - items: *548 + items: *552 examples: - default: &549 + default: &553 value: - issue_field_id: 1 issue_field_name: DRI @@ -93428,7 +93652,7 @@ paths: color: green headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -93459,9 +93683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -93533,9 +93757,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *548 + items: *552 examples: - default: *549 + default: *553 '400': *14 '403': *27 '404': *6 @@ -93571,9 +93795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -93640,9 +93864,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *548 + items: *552 examples: - default: *549 + default: *553 '400': *14 '403': *27 '404': *6 @@ -93673,10 +93897,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *338 - - *339 - - *544 - - *243 + - *340 + - *341 + - *548 + - *245 responses: '204': description: Issue field value deleted successfully @@ -93701,9 +93925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -93715,7 +93939,7 @@ paths: type: array items: *79 examples: - default: &550 + default: &554 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93733,7 +93957,7 @@ paths: default: false headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -93751,9 +93975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -93833,8 +94057,8 @@ paths: type: array items: *79 examples: - default: *550 - '301': *342 + default: *554 + '301': *344 '404': *6 '410': *30 '422': *15 @@ -93853,9 +94077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -93917,8 +94141,8 @@ paths: type: array items: *79 examples: - default: *550 - '301': *342 + default: *554 + '301': *344 '404': *6 '410': *30 '422': *15 @@ -93937,13 +94161,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 responses: '204': description: Response - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -93964,9 +94188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: name in: path required: true @@ -93990,7 +94214,7 @@ paths: description: Something isn't working color: f29513 default: true - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -94012,9 +94236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -94061,9 +94285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 responses: '204': description: Response @@ -94093,9 +94317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 responses: '200': description: Response @@ -94103,8 +94327,8 @@ paths: application/json: schema: *80 examples: - default: *543 - '301': *342 + default: *547 + '301': *344 '404': *6 '410': *30 x-github: @@ -94123,9 +94347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -94151,9 +94375,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -94175,9 +94399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94209,16 +94433,16 @@ paths: description: Response content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Response content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -94240,10 +94464,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *338 - - *339 - - *544 - - *539 + - *340 + - *341 + - *548 + - *543 responses: '204': description: Response @@ -94272,9 +94496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94298,7 +94522,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -94332,9 +94556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -94346,7 +94570,7 @@ paths: type: array items: *80 examples: - default: *546 + default: *550 headers: Link: *63 '404': *6 @@ -94378,9 +94602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94409,7 +94633,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -94436,9 +94660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94471,7 +94695,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 '403': *27 '404': *6 '422': *7 @@ -94500,9 +94724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-issue-suggestions parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: state in: query required: false @@ -94539,7 +94763,7 @@ paths: application/json: schema: type: array - items: &551 + items: &555 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -94703,9 +94927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#approve-an-issue-suggestion parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: suggestion_id in: path required: true @@ -94717,9 +94941,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: &552 + default: &556 value: id: 12 issue_id: 4567 @@ -94757,9 +94981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: suggestion_id in: path required: true @@ -94771,9 +94995,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *552 + default: *556 '403': *27 '404': *6 '422': *15 @@ -94793,9 +95017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 - name: exclude @@ -94816,10 +95040,6 @@ paths: description: Timeline Event type: object anyOf: - - *553 - - *554 - - *555 - - *556 - *557 - *558 - *559 @@ -94829,6 +95049,10 @@ paths: - *563 - *564 - *565 + - *566 + - *567 + - *568 + - *569 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -94885,11 +95109,11 @@ paths: pin: anyOf: - type: 'null' - - *566 + - *570 minimized: anyOf: - type: 'null' - - *567 + - *571 required: - event - actor @@ -95165,7 +95389,7 @@ paths: type: string comments: type: array - items: &598 + items: &602 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -95406,7 +95630,7 @@ paths: type: string comments: type: array - items: *468 + items: *472 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95438,7 +95662,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - id - node_id @@ -95523,7 +95747,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - id - node_id @@ -95534,10 +95758,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *568 - - *569 - - *570 - - *571 - *572 - *573 - *574 @@ -95545,6 +95765,10 @@ paths: - *576 - *577 - *578 + - *579 + - *580 + - *581 + - *582 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -95792,8 +96016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -95803,7 +96027,7 @@ paths: application/json: schema: type: array - items: &579 + items: &583 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -95871,8 +96095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -95908,9 +96132,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: &580 + default: &584 value: id: 1 key: ssh-rsa AAA... @@ -95944,9 +96168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *338 - - *339 - - &581 + - *340 + - *341 + - &585 name: key_id description: The unique identifier of the key. in: path @@ -95958,9 +96182,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: *580 + default: *584 '404': *6 x-github: githubCloudOnly: false @@ -95978,9 +96202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *338 - - *339 - - *581 + - *340 + - *341 + - *585 responses: '204': description: Response @@ -96000,8 +96224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -96013,7 +96237,7 @@ paths: type: array items: *79 examples: - default: *550 + default: *554 headers: Link: *63 '404': *6 @@ -96034,8 +96258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -96073,7 +96297,7 @@ paths: application/json: schema: *79 examples: - default: &582 + default: &586 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96105,8 +96329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *338 - - *339 + - *340 + - *341 - name: name in: path required: true @@ -96119,7 +96343,7 @@ paths: application/json: schema: *79 examples: - default: *582 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -96136,8 +96360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *338 - - *339 + - *340 + - *341 - name: name in: path required: true @@ -96207,8 +96431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *338 - - *339 + - *340 + - *341 - name: name in: path required: true @@ -96234,8 +96458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -96274,9 +96498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *338 - - *339 - - *443 + - *340 + - *341 + - *447 responses: '200': description: Response @@ -96423,8 +96647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -96489,8 +96713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -96524,9 +96748,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *471 + schema: *475 examples: - default: *583 + default: *587 '204': description: Response when already merged '404': @@ -96551,8 +96775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *338 - - *339 + - *340 + - *341 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -96593,7 +96817,7 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: default: value: @@ -96649,8 +96873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -96690,9 +96914,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: &584 + default: &588 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -96751,9 +96975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *338 - - *339 - - &585 + - *340 + - *341 + - &589 name: milestone_number description: The number that identifies the milestone. in: path @@ -96765,9 +96989,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *584 + default: *588 '404': *6 x-github: githubCloudOnly: false @@ -96784,9 +97008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *338 - - *339 - - *585 + - *340 + - *341 + - *589 requestBody: required: false content: @@ -96824,9 +97048,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *584 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96842,9 +97066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *338 - - *339 - - *585 + - *340 + - *341 + - *589 responses: '204': description: Response @@ -96865,9 +97089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *338 - - *339 - - *585 + - *340 + - *341 + - *589 - *17 - *19 responses: @@ -96879,7 +97103,7 @@ paths: type: array items: *79 examples: - default: *550 + default: *554 headers: Link: *63 x-github: @@ -96898,12 +97122,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *338 - - *339 - - *586 - - *587 + - *340 + - *341 + - *590 + - *591 - *85 - - *588 + - *592 - *17 - *19 responses: @@ -96915,7 +97139,7 @@ paths: type: array items: *105 examples: - default: *589 + default: *593 headers: Link: *63 x-github: @@ -96939,8 +97163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -96998,14 +97222,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &590 + schema: &594 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -97149,7 +97373,7 @@ paths: - custom_404 - public examples: - default: &591 + default: &595 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -97190,8 +97414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97246,9 +97470,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *594 examples: - default: *591 + default: *595 '422': *15 '409': *49 x-github: @@ -97271,8 +97495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97372,8 +97596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -97399,8 +97623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -97410,7 +97634,7 @@ paths: application/json: schema: type: array - items: &592 + items: &596 title: Page Build description: Page Build type: object @@ -97502,8 +97726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -97550,16 +97774,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *592 + schema: *596 examples: - default: &593 + default: &597 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -97607,8 +97831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *338 - - *339 + - *340 + - *341 - name: build_id in: path required: true @@ -97619,9 +97843,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *596 examples: - default: *593 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97641,8 +97865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97750,9 +97974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *338 - - *339 - - &594 + - *340 + - *341 + - &598 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -97810,9 +98034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *338 - - *339 - - *594 + - *340 + - *341 + - *598 responses: '204': *54 '404': *6 @@ -97839,8 +98063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -98135,8 +98359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Private vulnerability reporting status @@ -98173,8 +98397,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '422': *14 @@ -98195,8 +98419,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '422': *14 @@ -98218,8 +98442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -98227,7 +98451,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -98258,8 +98482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -98271,7 +98495,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - properties examples: @@ -98321,8 +98545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *338 - - *339 + - *340 + - *341 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -98382,9 +98606,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *595 + default: *599 headers: Link: *63 '304': *32 @@ -98416,8 +98640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -98484,7 +98708,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &604 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -98613,7 +98837,7 @@ paths: milestone: anyOf: - type: 'null' - - *280 + - *282 active_lock_reason: type: - string @@ -98652,7 +98876,7 @@ paths: items: *4 requested_teams: type: array - items: *259 + items: *261 head: type: object properties: @@ -98690,14 +98914,14 @@ paths: _links: type: object properties: - comments: *281 - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + comments: *283 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -98708,8 +98932,8 @@ paths: - review_comment - self author_association: *77 - auto_merge: *596 - stack: *597 + auto_merge: *600 + stack: *601 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -98809,7 +99033,7 @@ paths: - merged_by - review_comments examples: - default: &601 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -99316,8 +99540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: sort in: query required: false @@ -99346,9 +99570,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: &603 + default: &607 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99425,17 +99649,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: &599 + default: &603 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99510,8 +99734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -99534,9 +99758,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: *599 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99552,8 +99776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -99575,8 +99799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -99603,9 +99827,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -99626,8 +99850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -99660,16 +99884,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -99691,10 +99915,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *338 - - *339 + - *340 + - *341 - *94 - - *539 + - *543 responses: '204': description: Response @@ -99737,9 +99961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *338 - - *339 - - &602 + - *340 + - *341 + - &606 name: pull_number description: The number that identifies the pull request. in: path @@ -99752,9 +99976,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 '304': *32 '404': *6 '406': @@ -99789,9 +100013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -99833,9 +100057,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 '422': *15 '403': *27 x-github: @@ -99857,9 +100081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: true content: @@ -99920,17 +100144,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '401': *23 '403': *27 '404': *6 @@ -99960,9 +100184,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *102 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -99983,9 +100207,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: *603 + default: *607 headers: Link: *63 x-github: @@ -100018,9 +100242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: true content: @@ -100126,7 +100350,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: example-for-a-multi-line-comment: value: @@ -100214,9 +100438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *94 requestBody: required: true @@ -100239,7 +100463,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: default: value: @@ -100325,9 +100549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *17 - *19 responses: @@ -100337,9 +100561,9 @@ paths: application/json: schema: type: array - items: *471 + items: *475 examples: - default: *604 + default: *608 headers: Link: *63 x-github: @@ -100369,9 +100593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *17 - *19 responses: @@ -100381,7 +100605,7 @@ paths: application/json: schema: type: array - items: *481 + items: *485 examples: default: value: @@ -100419,9 +100643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 responses: '204': description: Response if pull request has been merged @@ -100444,9 +100668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -100569,9 +100793,9 @@ paths: category: pulls subcategory: pulls parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -100624,7 +100848,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &605 + schema: &609 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -100709,7 +100933,7 @@ paths: merge queue content: application/json: - schema: *605 + schema: *609 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -100729,7 +100953,7 @@ paths: this pull request content: application/json: - schema: *605 + schema: *609 examples: response-if-a-merge-request-already-exists: value: @@ -100745,7 +100969,7 @@ paths: it is closed content: application/json: - schema: *605 + schema: *609 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -100777,9 +101001,9 @@ paths: category: pulls subcategory: pulls parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -100792,7 +101016,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *605 + schema: *609 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -100840,9 +101064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 responses: '200': description: Response @@ -100858,7 +101082,7 @@ paths: items: *4 teams: type: array - items: *198 + items: *200 required: - users - teams @@ -100917,9 +101141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -100956,7 +101180,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: default: value: @@ -101492,9 +101716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: true content: @@ -101528,7 +101752,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: default: value: @@ -102013,9 +102237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *17 - *19 responses: @@ -102025,7 +102249,7 @@ paths: application/json: schema: type: array - items: &606 + items: &610 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102181,9 +102405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -102273,9 +102497,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: &608 + default: &612 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102338,10 +102562,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - &607 + - *340 + - *341 + - *606 + - &611 name: review_id description: The unique identifier of the review. in: path @@ -102353,9 +102577,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: &609 + default: &613 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102414,10 +102638,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 requestBody: required: true content: @@ -102440,7 +102664,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: default: value: @@ -102502,18 +102726,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 responses: '200': description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: *608 + default: *612 '422': *7 '404': *6 x-github: @@ -102540,10 +102764,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 - *17 - *19 responses: @@ -102641,9 +102865,9 @@ paths: _links: type: object properties: - self: *281 - html: *281 - pull_request: *281 + self: *283 + html: *283 + pull_request: *283 required: - self - html @@ -102801,10 +103025,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 requestBody: required: true content: @@ -102833,7 +103057,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: default: value: @@ -102896,10 +103120,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 requestBody: required: true content: @@ -102934,9 +103158,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: *609 + default: *613 '404': *6 '422': *7 '403': *27 @@ -102958,9 +103182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -103024,8 +103248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -103038,9 +103262,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: &611 + default: &615 value: type: file encoding: base64 @@ -103082,8 +103306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *338 - - *339 + - *340 + - *341 - name: dir description: The alternate path to look for a README file in: path @@ -103103,9 +103327,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: *611 + default: *615 '404': *6 '422': *15 x-github: @@ -103127,8 +103351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -103138,7 +103362,7 @@ paths: application/json: schema: type: array - items: *612 + items: *616 examples: default: value: @@ -103237,8 +103461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -103314,9 +103538,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: &616 + default: &620 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103421,9 +103645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *338 - - *339 - - &614 + - *340 + - *341 + - &618 name: asset_id description: The unique identifier of the asset. in: path @@ -103435,9 +103659,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: &615 + default: &619 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -103472,7 +103696,7 @@ paths: type: User site_admin: false '404': *6 - '302': *485 + '302': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103488,9 +103712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *338 - - *339 - - *614 + - *340 + - *341 + - *618 requestBody: required: false content: @@ -103519,9 +103743,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: *615 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103537,9 +103761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *338 - - *339 - - *614 + - *340 + - *341 + - *618 responses: '204': description: Response @@ -103564,8 +103788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -103651,16 +103875,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -103678,8 +103902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *338 - - *339 + - *340 + - *341 - name: tag description: tag parameter in: path @@ -103692,9 +103916,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -103716,9 +103940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *338 - - *339 - - &617 + - *340 + - *341 + - &621 name: release_id description: The unique identifier of the release. in: path @@ -103732,9 +103956,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '401': description: Unauthorized x-github: @@ -103758,9 +103982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 requestBody: required: false content: @@ -103824,9 +104048,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '404': description: Not Found if the discussion category name is invalid content: @@ -103847,9 +104071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 responses: '204': description: Response @@ -103870,9 +104094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 - *17 - *19 responses: @@ -103882,7 +104106,7 @@ paths: application/json: schema: type: array - items: *613 + items: *617 examples: default: value: @@ -103963,9 +104187,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 - name: name in: query required: true @@ -103991,7 +104215,7 @@ paths: description: Response for successful upload content: application/json: - schema: *613 + schema: *617 examples: response-for-successful-upload: value: @@ -104046,9 +104270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -104072,9 +104296,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -104095,9 +104319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 requestBody: required: true content: @@ -104127,16 +104351,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -104158,10 +104382,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *338 - - *339 - - *617 - - *539 + - *340 + - *341 + - *621 + - *543 responses: '204': description: Response @@ -104185,9 +104409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 - *17 - *19 responses: @@ -104203,8 +104427,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *301 - - &618 + - *303 + - &622 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104223,72 +104447,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *302 - - *618 - - allOf: - - *303 - - *618 - allOf: - *304 - - *618 - - allOf: - - *619 - - *618 + - *622 - allOf: - *305 - - *618 + - *622 - allOf: - *306 - - *618 + - *622 + - allOf: + - *623 + - *622 - allOf: - *307 - - *618 + - *622 - allOf: - *308 - - *618 + - *622 - allOf: - *309 - - *618 + - *622 - allOf: - *310 - - *618 + - *622 - allOf: - *311 - - *618 + - *622 - allOf: - *312 - - *618 + - *622 - allOf: - *313 - - *618 + - *622 - allOf: - *314 - - *618 + - *622 - allOf: - - *319 - - *618 + - *315 + - *622 - allOf: - - *320 - - *618 + - *316 + - *622 - allOf: - *321 - - *618 + - *622 - allOf: - - *620 - - *618 + - *322 + - *622 - allOf: - - *315 - - *618 + - *323 + - *622 - allOf: - - *316 - - *618 + - *624 + - *622 - allOf: - *317 - - *618 + - *622 - allOf: - *318 - - *618 + - *622 + - allOf: + - *319 + - *622 + - allOf: + - *320 + - *622 examples: default: value: @@ -104327,8 +104551,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - name: includes_parents @@ -104339,7 +104563,7 @@ paths: schema: type: boolean default: true - - *621 + - *625 responses: '200': description: Response @@ -104347,7 +104571,7 @@ paths: application/json: schema: type: array - items: *322 + items: *324 examples: default: value: @@ -104394,8 +104618,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 requestBody: description: Request body required: true @@ -104415,16 +104639,16 @@ paths: - tag - push default: branch - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *296 + items: *301 + conditions: *298 rules: type: array description: An array of rules within the ruleset. - items: *622 + items: *626 required: - name - enforcement @@ -104455,9 +104679,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: &633 + default: &637 value: id: 42 name: super cool ruleset @@ -104505,13 +104729,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *338 - - *339 - - *623 - - *624 - - *625 - - *626 + - *340 + - *341 - *627 + - *628 + - *629 + - *630 + - *631 - *17 - *19 responses: @@ -104519,9 +104743,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *632 examples: - default: *629 + default: *633 '404': *6 '500': *50 x-github: @@ -104542,17 +104766,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *338 - - *339 - - *630 + - *340 + - *341 + - *634 responses: '200': description: Response content: application/json: - schema: *631 + schema: *635 examples: - default: *632 + default: *636 '404': *6 '500': *50 x-github: @@ -104580,8 +104804,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104601,9 +104825,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *633 + default: *637 '404': *6 '500': *50 put: @@ -104621,8 +104845,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104647,16 +104871,16 @@ paths: - branch - tag - push - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *296 + items: *301 + conditions: *298 rules: description: An array of rules within the ruleset. type: array - items: *622 + items: *626 examples: default: value: @@ -104684,9 +104908,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *633 + default: *637 '404': *6 '422': *15 '500': *50 @@ -104705,8 +104929,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104729,8 +104953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - name: ruleset_id @@ -104746,9 +104970,9 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: - default: *634 + default: *638 '404': *6 '500': *50 x-github: @@ -104767,8 +104991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104786,7 +105010,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *639 examples: default: value: @@ -104841,28 +105065,28 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *338 - - *339 - - *636 - - *637 - - *638 - - *639 + - *340 + - *341 - *640 - *641 - *642 - *643 - - *57 - - *19 - - *17 - *644 - *645 - *646 - *647 + - *57 + - *19 + - *17 - *648 - *649 - *650 - *651 - *652 + - *653 + - *654 + - *655 + - *656 responses: '200': description: Response @@ -104873,21 +105097,21 @@ paths: items: type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolved_at: type: - string @@ -104993,7 +105217,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *655 + - *659 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -105152,32 +105376,32 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *338 - - *339 - - *437 - - *649 + - *340 + - *341 + - *441 + - *653 responses: '200': description: Response content: application/json: - schema: &656 + schema: &660 type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolved_at: type: - string @@ -105283,7 +105507,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *655 + - *659 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -105306,7 +105530,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &822 + metadata: &826 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -105379,9 +105603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 requestBody: required: true content: @@ -105389,8 +105613,8 @@ paths: schema: type: object properties: - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105438,7 +105662,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *660 examples: default: value: @@ -105540,9 +105764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 - *19 - *17 responses: @@ -105553,7 +105777,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &824 + items: &828 type: object properties: type: @@ -105580,10 +105804,6 @@ paths: - commit details: oneOf: - - *657 - - *658 - - *659 - - *660 - *661 - *662 - *663 @@ -105593,6 +105813,10 @@ paths: - *667 - *668 - *669 + - *670 + - *671 + - *672 + - *673 examples: default: value: @@ -105681,11 +105905,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 - - *670 - - *671 - - *672 + - *340 + - *341 + - *674 + - *675 + - *676 - *57 - *42 - *43 @@ -105696,9 +105920,9 @@ paths: application/json: schema: type: array - items: *326 + items: *328 examples: - default: *673 + default: *677 headers: Link: *63 '403': *27 @@ -105721,8 +105945,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -105735,9 +105959,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *674 + items: *678 examples: - default: *675 + default: *679 responses: '201': description: All patterns created successfully. @@ -105749,9 +105973,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *326 + items: *328 examples: - default: *676 + default: *680 '400': *14 '403': *27 '404': *6 @@ -105775,7 +105999,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *677 + items: *681 delete: summary: Bulk delete repository custom patterns description: |- @@ -105794,8 +106018,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -105809,7 +106033,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *678 + items: *682 post_delete_action: type: string description: |- @@ -105822,14 +106046,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *679 + default: *683 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *328 + '412': *330 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -105849,8 +106073,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 + - *340 + - *341 - name: pattern_id in: path required: true @@ -105861,21 +106085,21 @@ paths: required: true content: application/json: - schema: *680 + schema: *684 examples: - default: *681 + default: *685 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *326 + schema: *328 examples: - default: *682 + default: *686 '400': *14 '403': *27 '404': *6 - '412': *328 + '412': *330 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -105893,8 +106117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -105902,14 +106126,14 @@ paths: schema: type: object properties: - reason: &684 + reason: &688 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *683 + placeholder_id: *687 required: - reason - placeholder_id @@ -105926,7 +106150,7 @@ paths: schema: type: object properties: - reason: *684 + reason: *688 expire_at: type: - string @@ -105973,8 +106197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -105989,7 +106213,7 @@ paths: properties: incremental_scans: type: array - items: &685 + items: &689 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106022,15 +106246,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *685 + items: *689 backfill_scans: type: array - items: *685 + items: *689 custom_pattern_backfill_scans: type: array items: allOf: - - *685 + - *689 - type: object properties: pattern_name: @@ -106043,7 +106267,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *685 + items: *689 examples: default: value: @@ -106108,8 +106332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *338 - - *339 + - *340 + - *341 - *57 - name: sort description: The property to sort the results by. @@ -106153,9 +106377,9 @@ paths: application/json: schema: type: array - items: *686 + items: *690 examples: - default: *687 + default: *691 '400': *14 '404': *6 x-github: @@ -106178,8 +106402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -106259,7 +106483,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -106349,9 +106573,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: &690 + default: &694 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106566,7 +106790,7 @@ paths: description: Validation failed. content: application/json: - schema: &688 + schema: &692 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -106639,8 +106863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -106753,7 +106977,7 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: default: value: @@ -106878,7 +107102,7 @@ paths: description: Validation failed. content: application/json: - schema: *688 + schema: *692 examples: missing_section: value: @@ -106925,17 +107149,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 responses: '200': description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: *690 + default: *694 '403': *27 '404': *6 x-github: @@ -106959,9 +107183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 requestBody: required: true content: @@ -107041,7 +107265,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -107132,10 +107356,10 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: *690 - add_credit: *690 + default: *694 + add_credit: *694 '403': *27 '404': *6 '422': @@ -107173,9 +107397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 responses: '202': *34 '400': *14 @@ -107202,17 +107426,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 responses: '202': description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 '400': *14 '422': *15 '403': *27 @@ -107233,8 +107457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#list-pull-request-stacks parameters: - - *338 - - *339 + - *340 + - *341 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -107367,8 +107591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -107435,7 +107659,7 @@ paths: format: date-time pull_requests: type: array - items: &691 + items: &695 title: Pull Request Stack Pull Request type: object allOf: @@ -107662,8 +107886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -107712,7 +107936,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *695 examples: default: value: @@ -107832,8 +108056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -107905,7 +108129,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *695 examples: default: value: @@ -108112,8 +108336,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -108162,7 +108386,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *695 examples: default: value: @@ -108268,8 +108492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -108363,8 +108587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#get-stargazer-count parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -108406,8 +108630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#get-repository-star-history parameters: - - *338 - - *339 + - *340 + - *341 - name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -108503,8 +108727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -108513,7 +108737,7 @@ paths: application/json: schema: type: array - items: &692 + items: &696 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -108546,8 +108770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -108625,8 +108849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -108720,8 +108944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -108875,8 +109099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -108886,7 +109110,7 @@ paths: application/json: schema: type: array - items: *692 + items: *696 examples: default: value: @@ -108919,8 +109143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *338 - - *339 + - *340 + - *341 - name: sha in: path required: true @@ -108976,7 +109200,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *697 examples: default: value: @@ -109030,8 +109254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -109063,14 +109287,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &694 + schema: &698 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -109143,8 +109367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -109170,7 +109394,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *698 examples: default: value: @@ -109197,8 +109421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -109218,8 +109442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -109301,8 +109525,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *338 - - *339 + - *340 + - *341 - name: ref in: path required: true @@ -109338,8 +109562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -109349,9 +109573,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 headers: Link: *63 '404': *6 @@ -109371,8 +109595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *338 - - *339 + - *340 + - *341 - *19 - *17 responses: @@ -109380,7 +109604,7 @@ paths: description: Response content: application/json: - schema: &695 + schema: &699 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -109392,7 +109616,7 @@ paths: required: - names examples: - default: &696 + default: &700 value: names: - octocat @@ -109415,8 +109639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -109447,9 +109671,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *699 examples: - default: *696 + default: *700 '404': *6 '422': *7 x-github: @@ -109470,9 +109694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *338 - - *339 - - &697 + - *340 + - *341 + - &701 name: per description: The time frame to display results for. in: query @@ -109503,7 +109727,7 @@ paths: - 128 clones: type: array - items: &698 + items: &702 title: Traffic type: object properties: @@ -109590,8 +109814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -109685,8 +109909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -109749,9 +109973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *338 - - *339 - - *697 + - *340 + - *341 + - *701 responses: '200': description: Response @@ -109772,7 +109996,7 @@ paths: - 3782 views: type: array - items: *698 + items: *702 required: - uniques - count @@ -109849,8 +110073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -110123,8 +110347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -110147,8 +110371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -110170,8 +110394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -110197,8 +110421,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *338 - - *339 + - *340 + - *341 - name: ref in: path required: true @@ -110290,9 +110514,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -110541,7 +110765,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &699 + text_matches: &703 title: Search Result Text Matches type: array items: @@ -110704,7 +110928,7 @@ paths: enum: - author-date - committer-date - - &700 + - &704 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -110773,7 +110997,7 @@ paths: committer: anyOf: - type: 'null' - - *402 + - *404 comment_count: type: integer message: @@ -110792,7 +111016,7 @@ paths: url: type: string format: uri - verification: *521 + verification: *525 required: - author - committer @@ -110807,7 +111031,7 @@ paths: committer: anyOf: - type: 'null' - - *402 + - *404 parents: type: array items: @@ -110824,7 +111048,7 @@ paths: type: number node_id: type: string - text_matches: *699 + text_matches: *703 required: - sha - node_id @@ -111016,7 +111240,7 @@ paths: - interactions - created - updated - - *700 + - *704 - *17 - *19 - name: advanced_search @@ -111130,11 +111354,11 @@ paths: type: - string - 'null' - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: type: string state_reason: @@ -111144,7 +111368,7 @@ paths: milestone: anyOf: - type: 'null' - - *280 + - *282 comments: type: integer created_at: @@ -111158,7 +111382,7 @@ paths: - string - 'null' format: date-time - text_matches: *699 + text_matches: *703 pull_request: type: object properties: @@ -111207,7 +111431,7 @@ paths: timeline_url: type: string format: uri - type: *244 + type: *246 performed_via_github_app: anyOf: - type: 'null' @@ -111432,7 +111656,7 @@ paths: enum: - created - updated - - *700 + - *704 - *17 - *19 responses: @@ -111477,7 +111701,7 @@ paths: - 'null' score: type: number - text_matches: *699 + text_matches: *703 required: - id - node_id @@ -111562,7 +111786,7 @@ paths: - forks - help-wanted-issues - updated - - *700 + - *704 - *17 - *19 responses: @@ -111808,7 +112032,7 @@ paths: - admin - pull - push - text_matches: *699 + text_matches: *703 temp_clone_token: type: string allow_merge_commit: @@ -112116,7 +112340,7 @@ paths: - string - 'null' format: uri - text_matches: *699 + text_matches: *703 related: type: - array @@ -112309,7 +112533,7 @@ paths: - followers - repositories - joined - - *700 + - *704 - *17 - *19 responses: @@ -112419,7 +112643,7 @@ paths: type: - boolean - 'null' - text_matches: *699 + text_matches: *703 blog: type: - string @@ -112501,7 +112725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &703 + - &707 name: team_id description: The unique identifier of the team. in: path @@ -112513,9 +112737,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -112542,7 +112766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *703 + - *707 requestBody: required: true content: @@ -112612,16 +112836,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '201': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 '422': *15 '403': *27 @@ -112649,7 +112873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *703 + - *707 responses: '204': description: Response @@ -112678,7 +112902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *703 + - *707 - *17 - *19 responses: @@ -112688,9 +112912,9 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *63 x-github: @@ -112718,7 +112942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *703 + - *707 - name: role description: Filters members returned by their role in the team. in: query @@ -112739,9 +112963,9 @@ paths: application/json: schema: type: array - items: *704 + items: *708 examples: - default: *705 + default: *709 headers: Link: *63 '404': *6 @@ -112769,7 +112993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -112806,7 +113030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -112846,7 +113070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -112883,16 +113107,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *703 + - *707 - *68 responses: '200': description: Response content: application/json: - schema: *337 + schema: *339 examples: - response-if-user-is-a-team-maintainer: *706 + response-if-user-is-a-team-maintainer: *710 '404': *6 x-github: githubCloudOnly: false @@ -112925,7 +113149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *703 + - *707 - *68 requestBody: required: false @@ -112951,9 +113175,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: *707 + response-if-users-membership-with-team-is-now-pending: *711 '403': description: Forbidden if team synchronization is set up '422': @@ -112987,7 +113211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -113015,7 +113239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *703 + - *707 - *17 - *19 responses: @@ -113027,7 +113251,7 @@ paths: type: array items: *153 examples: - default: *274 + default: *276 headers: Link: *63 '404': *6 @@ -113057,15 +113281,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *703 - - *338 - - *339 + - *707 + - *340 + - *341 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *708 + schema: *712 examples: alternative-response-with-extra-repository-information: value: @@ -113215,9 +113439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *703 - - *338 - - *339 + - *707 + - *340 + - *341 requestBody: required: false content: @@ -113267,9 +113491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *703 - - *338 - - *339 + - *707 + - *340 + - *341 responses: '204': description: Response @@ -113294,7 +113518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *703 + - *707 - *17 - *19 responses: @@ -113304,9 +113528,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - response-if-child-teams-exist: *709 + response-if-child-teams-exist: *713 headers: Link: *63 '404': *6 @@ -113341,7 +113565,7 @@ paths: application/json: schema: oneOf: - - &710 + - &714 title: Private User description: Private User type: object @@ -113591,7 +113815,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &736 + - &740 title: Public User description: Public User type: object @@ -113925,7 +114149,7 @@ paths: description: Response content: application/json: - schema: *710 + schema: *714 examples: default: value: @@ -114128,9 +114352,9 @@ paths: type: integer codespaces: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 '304': *32 '500': *50 '401': *23 @@ -114269,17 +114493,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '401': *23 '403': *27 '404': *6 @@ -114323,7 +114547,7 @@ paths: type: integer secrets: type: array - items: &711 + items: &715 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114365,7 +114589,7 @@ paths: - visibility - selected_repositories_url examples: - default: *462 + default: *466 headers: Link: *63 x-github: @@ -114443,7 +114667,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *715 examples: default: value: @@ -114589,7 +114813,7 @@ paths: type: array items: *153 examples: - default: *199 + default: *201 '401': *23 '403': *27 '404': *6 @@ -114733,15 +114957,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '304': *32 '500': *50 '401': *23 @@ -114767,7 +114991,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 requestBody: required: false content: @@ -114797,9 +115021,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '401': *23 '403': *27 '404': *6 @@ -114821,7 +115045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '202': *34 '304': *32 @@ -114850,13 +115074,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '202': description: Response content: application/json: - schema: &712 + schema: &716 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114909,7 +115133,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &713 + default: &717 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114941,7 +115165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *251 + - *253 - name: export_id in: path required: true @@ -114954,9 +115178,9 @@ paths: description: Response content: application/json: - schema: *712 + schema: *716 examples: - default: *713 + default: *717 '404': *6 x-github: githubCloudOnly: false @@ -114977,7 +115201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *251 + - *253 responses: '200': description: Response @@ -114993,9 +115217,9 @@ paths: type: integer machines: type: array - items: *461 + items: *465 examples: - default: *714 + default: *718 '304': *32 '500': *50 '401': *23 @@ -115024,7 +115248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *251 + - *253 requestBody: required: true content: @@ -115080,11 +115304,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *341 + repository: *343 machine: anyOf: - type: 'null' - - *461 + - *465 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -115881,15 +116105,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '304': *32 '500': *50 '400': *14 @@ -115921,15 +116145,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '500': *50 '401': *23 '403': *27 @@ -115959,9 +116183,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: &726 + default: &730 value: - id: 197 name: hello_docker @@ -116062,7 +116286,7 @@ paths: application/json: schema: type: array - items: &715 + items: &719 title: Email description: Email type: object @@ -116132,9 +116356,9 @@ paths: application/json: schema: type: array - items: *715 + items: *719 examples: - default: &728 + default: &732 value: - email: octocat@github.com verified: true @@ -116211,7 +116435,7 @@ paths: application/json: schema: type: array - items: *715 + items: *719 examples: default: value: @@ -116469,7 +116693,7 @@ paths: application/json: schema: type: array - items: &716 + items: &720 title: GPG Key description: A unique encryption key type: object @@ -116614,7 +116838,7 @@ paths: - subkeys - revoked examples: - default: &746 + default: &750 value: - id: 3 name: Octocat's GPG Key @@ -116699,9 +116923,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *720 examples: - default: &717 + default: &721 value: id: 3 name: Octocat's GPG Key @@ -116758,7 +116982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &718 + - &722 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116770,9 +116994,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *720 examples: - default: *717 + default: *721 '404': *6 '304': *32 '403': *27 @@ -116795,7 +117019,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *718 + - *722 responses: '204': description: Response @@ -117083,12 +117307,12 @@ paths: application/json: schema: anyOf: - - *236 + - *238 - type: object properties: {} additionalProperties: false examples: - default: *237 + default: *239 '204': description: Response when there are no restrictions x-github: @@ -117112,7 +117336,7 @@ paths: required: true content: application/json: - schema: *532 + schema: *536 examples: default: value: @@ -117123,7 +117347,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -117204,7 +117428,7 @@ paths: - closed - all default: open - - *247 + - *249 - name: sort description: What to sort results by. in: query @@ -117229,7 +117453,7 @@ paths: type: array items: *80 examples: - default: *248 + default: *250 headers: Link: *63 '404': *6 @@ -117262,7 +117486,7 @@ paths: application/json: schema: type: array - items: &719 + items: &723 title: Key description: Key type: object @@ -117365,9 +117589,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: &720 + default: &724 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117400,15 +117624,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *581 + - *585 responses: '200': description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: *720 + default: *724 '404': *6 '304': *32 '403': *27 @@ -117431,7 +117655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *581 + - *585 responses: '204': description: Response @@ -117464,7 +117688,7 @@ paths: application/json: schema: type: array - items: &721 + items: &725 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117543,7 +117767,7 @@ paths: - account - plan examples: - default: &722 + default: &726 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -117605,9 +117829,9 @@ paths: application/json: schema: type: array - items: *721 + items: *725 examples: - default: *722 + default: *726 headers: Link: *63 '304': *32 @@ -117647,7 +117871,7 @@ paths: application/json: schema: type: array - items: *253 + items: *255 examples: default: value: @@ -117761,7 +117985,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -117848,9 +118072,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *253 + schema: *255 examples: - default: &723 + default: &727 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -117897,9 +118121,9 @@ paths: processed asynchronously. content: application/json: - schema: *253 + schema: *255 examples: - default: *723 + default: *727 '403': *27 '404': *6 '422': *15 @@ -117928,7 +118152,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: value: @@ -118190,7 +118414,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -118370,7 +118594,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *256 + - *258 - name: exclude in: query required: false @@ -118383,7 +118607,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -118577,7 +118801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *256 + - *258 responses: '302': description: Response @@ -118603,7 +118827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *256 + - *258 responses: '204': description: Response @@ -118632,8 +118856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *256 - - *724 + - *258 + - *728 responses: '204': description: Response @@ -118657,7 +118881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *256 + - *258 - *17 - *19 responses: @@ -118746,7 +118970,7 @@ paths: - docker - nuget - container - - *725 + - *729 - *19 - *17 responses: @@ -118756,10 +118980,10 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *726 - '400': *727 + default: *730 + '400': *731 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118779,16 +119003,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &747 + default: &751 value: id: 40201 name: octo-name @@ -118901,8 +119125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 responses: '204': description: Response @@ -118932,8 +119156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 - name: token description: package token schema: @@ -118965,8 +119189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 - *19 - *17 - name: state @@ -118986,7 +119210,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -119035,15 +119259,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -119079,9 +119303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '204': description: Response @@ -119111,9 +119335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '204': description: Response @@ -119150,9 +119374,9 @@ paths: application/json: schema: type: array - items: *715 + items: *719 examples: - default: *728 + default: *732 headers: Link: *63 '304': *32 @@ -119265,7 +119489,7 @@ paths: type: array items: *76 examples: - default: &735 + default: &739 summary: Default response value: - id: 1296269 @@ -119583,9 +119807,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -119624,9 +119848,9 @@ paths: application/json: schema: type: array - items: *535 + items: *539 examples: - default: *729 + default: *733 headers: Link: *63 '304': *32 @@ -119649,7 +119873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *240 + - *242 responses: '204': description: Response @@ -119673,7 +119897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *240 + - *242 responses: '204': description: Response @@ -119706,7 +119930,7 @@ paths: application/json: schema: type: array - items: &730 + items: &734 title: Social account description: Social media account type: object @@ -119723,7 +119947,7 @@ paths: - provider - url examples: - default: &731 + default: &735 value: - provider: twitter url: https://twitter.com/github @@ -119786,9 +120010,9 @@ paths: application/json: schema: type: array - items: *730 + items: *734 examples: - default: *731 + default: *735 '422': *15 '304': *32 '404': *6 @@ -119876,7 +120100,7 @@ paths: application/json: schema: type: array - items: &732 + items: &736 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119896,7 +120120,7 @@ paths: - title - created_at examples: - default: &764 + default: &768 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119961,9 +120185,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *736 examples: - default: &733 + default: &737 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119993,7 +120217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &734 + - &738 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -120005,9 +120229,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *736 examples: - default: *733 + default: *737 '404': *6 '304': *32 '403': *27 @@ -120030,7 +120254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *734 + - *738 responses: '204': description: Response @@ -120059,7 +120283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &765 + - &769 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -120084,11 +120308,11 @@ paths: type: array items: *76 examples: - default-response: *735 + default-response: *739 application/vnd.github.v3.star+json: schema: type: array - items: &766 + items: &770 title: Starred Repository description: Starred Repository type: object @@ -120244,8 +120468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response if this repository is starred by you @@ -120273,8 +120497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -120298,8 +120522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -120334,7 +120558,7 @@ paths: type: array items: *153 examples: - default: *274 + default: *276 headers: Link: *63 '304': *32 @@ -120371,7 +120595,7 @@ paths: application/json: schema: type: array - items: *334 + items: *336 examples: default: value: @@ -120457,10 +120681,10 @@ paths: application/json: schema: oneOf: - - *710 - - *736 + - *714 + - *740 examples: - default-response: &740 + default-response: &744 summary: Default response value: login: octocat @@ -120495,7 +120719,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &741 + response-with-git-hub-plan-information: &745 summary: Response with GitHub plan information value: login: octocat @@ -120552,14 +120776,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &738 + - &742 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *279 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -120593,9 +120817,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - draft_issue: *285 + draft_issue: *287 '304': *32 '403': *27 '401': *23 @@ -120618,7 +120842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *737 + - *741 - *17 responses: '200': @@ -120653,8 +120877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *738 - - *279 + - *742 + - *281 requestBody: required: true content: @@ -120769,17 +120993,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *739 + schema: *743 examples: table_view: summary: Response for creating a table view - value: *289 + value: *291 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *32 '403': *27 '401': *23 @@ -120825,11 +121049,11 @@ paths: application/json: schema: oneOf: - - *710 - - *736 + - *714 + - *740 examples: - default-response: *740 - response-with-git-hub-plan-information: *741 + default-response: *744 + response-with-git-hub-plan-information: *745 '404': *6 x-github: githubCloudOnly: false @@ -120879,8 +121103,8 @@ paths: required: - subject_digests examples: - default: *742 - withPredicateType: *743 + default: *746 + withPredicateType: *747 responses: '200': description: Response @@ -120920,7 +121144,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *744 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121109,7 +121333,7 @@ paths: initiator: type: string examples: - default: *398 + default: *400 '201': description: Response content: @@ -121176,7 +121400,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *194 + items: *196 examples: default: summary: Example response for listing user copilot spaces @@ -121391,9 +121615,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: &745 + default: &749 summary: Example response for a user copilot space value: id: 42 @@ -121492,9 +121716,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *745 + default: *749 '403': *27 '404': *6 x-github: @@ -121618,9 +121842,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *745 + default: *749 '403': *27 '404': *6 '422': *15 @@ -121697,7 +121921,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *196 + items: *198 examples: default: value: @@ -121840,7 +122064,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: default: value: @@ -121951,7 +122175,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: default: value: @@ -122081,7 +122305,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *197 + items: *199 examples: default: value: @@ -122173,7 +122397,7 @@ paths: description: Resource created content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -122189,7 +122413,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -122242,7 +122466,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -122309,7 +122533,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -122386,9 +122610,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *726 + default: *730 '403': *27 '401': *23 x-github: @@ -122778,9 +123002,9 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: - default: *746 + default: *750 headers: Link: *63 x-github: @@ -122884,7 +123108,7 @@ paths: application/json: schema: *20 examples: - default: *531 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123009,7 +123233,7 @@ paths: - docker - nuget - container - - *725 + - *729 - *68 - *19 - *17 @@ -123020,12 +123244,12 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *726 + default: *730 '403': *27 '401': *23 - '400': *727 + '400': *731 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123045,17 +123269,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *747 + default: *751 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123076,8 +123300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 responses: '204': @@ -123110,8 +123334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 - name: token description: package token @@ -123144,8 +123368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 responses: '200': @@ -123154,7 +123378,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -123212,16 +123436,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 - *68 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -123256,10 +123480,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *263 - - *264 - - *68 + - *265 - *266 + - *68 + - *268 responses: '204': description: Response @@ -123291,10 +123515,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *263 - - *264 - - *68 + - *265 - *266 + - *68 + - *268 responses: '204': description: Response @@ -123335,9 +123559,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: Link: *63 '304': *32 @@ -123359,16 +123583,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *279 + - *281 - *68 responses: '200': description: Response content: application/json: - schema: *277 + schema: *279 examples: - default: *278 + default: *280 headers: Link: *63 '304': *32 @@ -123390,7 +123614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *279 + - *281 - *68 - *17 - *42 @@ -123402,9 +123626,9 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: - default: *748 + default: *752 headers: Link: *63 '304': *32 @@ -123426,7 +123650,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *68 - - *279 + - *281 requestBody: required: true content: @@ -123464,7 +123688,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *749 + items: *753 required: - name - data_type @@ -123480,7 +123704,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *750 + iteration_configuration: *754 required: - name - data_type @@ -123502,20 +123726,20 @@ paths: value: name: Due date data_type: date - single_select_field: *751 - iteration_field: *752 + single_select_field: *755 + iteration_field: *756 responses: '201': description: Response content: application/json: - schema: *282 + schema: *284 examples: - text_field: *753 - number_field: *754 - date_field: *755 - single_select_field: *756 - iteration_field: *757 + text_field: *757 + number_field: *758 + date_field: *759 + single_select_field: *760 + iteration_field: *761 '304': *32 '403': *27 '401': *23 @@ -123536,17 +123760,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *279 - - *758 + - *281 + - *762 - *68 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: *759 + default: *763 headers: Link: *63 '304': *32 @@ -123569,7 +123793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *279 + - *281 - *68 - *42 - *43 @@ -123602,9 +123826,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -123626,7 +123850,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *68 - - *279 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -123696,22 +123920,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *32 '403': *27 '401': *23 @@ -123731,9 +123955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *279 + - *281 - *68 - - *288 + - *290 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -123753,9 +123977,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -123776,9 +124000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *279 + - *281 - *68 - - *288 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -123851,13 +124075,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -123877,9 +124101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *279 + - *281 - *68 - - *288 + - *290 responses: '204': description: Response @@ -123901,9 +124125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *279 + - *281 - *68 - - *760 + - *764 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -123929,9 +124153,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -124152,7 +124376,7 @@ paths: type: array items: *153 examples: - default: *274 + default: *276 headers: Link: *63 x-github: @@ -124442,7 +124666,7 @@ paths: parameters: - *68 - *114 - - *761 + - *765 - *116 responses: '200': @@ -124541,9 +124765,9 @@ paths: - *114 - *115 - *116 - - *762 + - *766 - *119 - - *763 + - *767 responses: '200': description: Response when getting a billing usage summary @@ -124677,9 +124901,9 @@ paths: application/json: schema: type: array - items: *730 + items: *734 examples: - default: *731 + default: *735 headers: Link: *63 x-github: @@ -124709,9 +124933,9 @@ paths: application/json: schema: type: array - items: *732 + items: *736 examples: - default: *764 + default: *768 headers: Link: *63 x-github: @@ -124738,7 +124962,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *68 - - *765 + - *769 - *57 - *17 - *19 @@ -124750,11 +124974,11 @@ paths: schema: anyOf: - type: array - items: *766 + items: *770 - type: array items: *76 examples: - default-response: *735 + default-response: *739 headers: Link: *63 x-github: @@ -124785,7 +125009,7 @@ paths: type: array items: *153 examples: - default: *274 + default: *276 headers: Link: *63 x-github: @@ -124914,7 +125138,7 @@ webhooks: type: string enum: - disabled - enterprise: &767 + enterprise: &771 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124983,7 +125207,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &768 + installation: &772 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -125004,7 +125228,7 @@ webhooks: required: - id - node_id - organization: &769 + organization: &773 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -125077,7 +125301,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &770 + repository: &774 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -125992,10 +126216,10 @@ webhooks: type: string enum: - enabled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -126071,11 +126295,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: &771 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + rule: &775 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -126298,11 +126522,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + rule: *775 sender: *4 required: - action @@ -126490,11 +126714,11 @@ webhooks: - everyone required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + rule: *775 sender: *4 required: - action @@ -126578,7 +126802,7 @@ webhooks: type: string enum: - completed - check_run: &773 + check_run: &777 title: CheckRun description: A check performed on the code of a given code change type: object @@ -126688,7 +126912,7 @@ webhooks: - examples: - neutral - deployment: *772 + deployment: *776 details_url: type: string examples: @@ -126786,10 +127010,10 @@ webhooks: - output - app - pull_requests - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 sender: *4 required: - check_run @@ -127180,11 +127404,11 @@ webhooks: type: string enum: - created - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *777 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 sender: *4 required: - check_run @@ -127578,11 +127802,11 @@ webhooks: type: string enum: - requested_action - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *777 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 requested_action: description: The action requested by the user. type: object @@ -127985,11 +128209,11 @@ webhooks: type: string enum: - rerequested - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *777 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 sender: *4 required: - check_run @@ -128974,10 +129198,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -129691,10 +129915,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -130402,10 +130626,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -130574,7 +130798,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130727,20 +130951,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &774 + commit_oid: &778 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *767 - installation: *768 - organization: *769 - ref: &775 + enterprise: *771 + installation: *772 + organization: *773 + ref: &779 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *770 + repository: *774 sender: *4 required: - action @@ -130907,7 +131131,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131149,12 +131373,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -131252,7 +131476,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -131437,12 +131661,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -131611,7 +131835,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131789,12 +132013,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -131895,7 +132119,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -132084,9 +132308,9 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -132094,7 +132318,7 @@ webhooks: type: - string - 'null' - repository: *770 + repository: *774 sender: *4 required: - action @@ -132193,7 +132417,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -132340,12 +132564,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -132514,7 +132738,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132667,10 +132891,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -132930,10 +133154,10 @@ webhooks: - updated_at - author_association - body - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -133014,18 +133238,18 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *769 - pusher_type: &776 + organization: *773 + pusher_type: &780 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &777 + ref: &781 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -133035,7 +133259,7 @@ webhooks: enum: - tag - branch - repository: *770 + repository: *774 sender: *4 required: - ref @@ -133117,10 +133341,10 @@ webhooks: type: string enum: - created - definition: *290 - enterprise: *767 - installation: *768 - organization: *769 + definition: *292 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -133205,9 +133429,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -133284,10 +133508,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *290 - enterprise: *767 - installation: *768 - organization: *769 + definition: *292 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -133364,10 +133588,10 @@ webhooks: type: string enum: - updated - definition: *290 - enterprise: *767 - installation: *768 - organization: *769 + definition: *292 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -133444,19 +133668,19 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - repository: *770 - organization: *769 + enterprise: *771 + installation: *772 + repository: *774 + organization: *773 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *294 + items: *296 old_property_values: type: array description: The old custom property values for the repository. - items: *294 + items: *296 required: - action - repository @@ -133532,18 +133756,18 @@ webhooks: title: delete event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - pusher_type: *776 - ref: *777 + enterprise: *771 + installation: *772 + organization: *773 + pusher_type: *780 + ref: *781 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *770 + repository: *774 sender: *4 required: - ref @@ -133623,11 +133847,11 @@ webhooks: type: string enum: - assignees_changed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -133707,11 +133931,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -133792,11 +134016,11 @@ webhooks: type: string enum: - auto_reopened - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -133877,11 +134101,11 @@ webhooks: type: string enum: - created - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -133960,11 +134184,11 @@ webhooks: type: string enum: - dismissed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134043,11 +134267,11 @@ webhooks: type: string enum: - fixed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134127,11 +134351,11 @@ webhooks: type: string enum: - reintroduced - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134210,11 +134434,11 @@ webhooks: type: string enum: - reopened - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -134291,9 +134515,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - key: &778 + enterprise: *771 + installation: *772 + key: &782 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134331,8 +134555,8 @@ webhooks: - verified - created_at - read_only - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -134409,11 +134633,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - key: *778 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + key: *782 + organization: *773 + repository: *774 sender: *4 required: - action @@ -134980,12 +135204,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: &782 + workflow: &786 title: Workflow type: - object @@ -135736,13 +135960,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *498 + - *502 pull_requests: type: array - items: *600 - repository: *770 - organization: *769 - installation: *768 + items: *604 + repository: *774 + organization: *773 + installation: *772 sender: *4 responses: '200': @@ -135813,7 +136037,7 @@ webhooks: type: string enum: - approved - approver: &779 + approver: &783 type: object properties: avatar_url: @@ -135856,11 +136080,11 @@ webhooks: type: string comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: &780 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + reviewers: &784 type: array items: type: object @@ -135941,7 +136165,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &781 + workflow_job_run: &785 type: object properties: conclusion: @@ -136687,18 +136911,18 @@ webhooks: type: string enum: - rejected - approver: *779 + approver: *783 comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: *780 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + reviewers: *784 sender: *4 since: type: string - workflow_job_run: *781 + workflow_job_run: *785 workflow_job_runs: type: array items: @@ -137415,13 +137639,13 @@ webhooks: type: string enum: - requested - enterprise: *767 + enterprise: *771 environment: type: string - installation: *768 - organization: *769 - repository: *770 - requestor: &787 + installation: *772 + organization: *773 + repository: *774 + requestor: &791 title: User type: - object @@ -139354,12 +139578,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Deployment Workflow Run type: @@ -140050,7 +140274,7 @@ webhooks: type: string enum: - answered - answer: &785 + answer: &789 type: object properties: author_association: @@ -140210,11 +140434,11 @@ webhooks: - created_at - updated_at - body - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -140341,11 +140565,11 @@ webhooks: - from required: - category - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -140428,11 +140652,11 @@ webhooks: type: string enum: - closed - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -140514,7 +140738,7 @@ webhooks: type: string enum: - created - comment: &784 + comment: &788 type: object properties: author_association: @@ -140674,11 +140898,11 @@ webhooks: - updated_at - body - reactions - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -140761,12 +140985,12 @@ webhooks: type: string enum: - deleted - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *788 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -140861,12 +141085,12 @@ webhooks: - from required: - body - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *788 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -140950,11 +141174,11 @@ webhooks: type: string enum: - created - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141036,11 +141260,11 @@ webhooks: type: string enum: - deleted - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141140,11 +141364,11 @@ webhooks: type: string required: - from - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141226,10 +141450,10 @@ webhooks: type: string enum: - labeled - discussion: *783 - enterprise: *767 - installation: *768 - label: &786 + discussion: *787 + enterprise: *771 + installation: *772 + label: &790 title: Label type: object properties: @@ -141262,8 +141486,8 @@ webhooks: - color - default - description - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141346,11 +141570,11 @@ webhooks: type: string enum: - locked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141432,11 +141656,11 @@ webhooks: type: string enum: - pinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141518,11 +141742,11 @@ webhooks: type: string enum: - reopened - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141607,16 +141831,16 @@ webhooks: changes: type: object properties: - new_discussion: *783 - new_repository: *770 + new_discussion: *787 + new_repository: *774 required: - new_discussion - new_repository - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141699,10 +141923,10 @@ webhooks: type: string enum: - unanswered - discussion: *783 - old_answer: *785 - organization: *769 - repository: *770 + discussion: *787 + old_answer: *789 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141784,12 +142008,12 @@ webhooks: type: string enum: - unlabeled - discussion: *783 - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141872,11 +142096,11 @@ webhooks: type: string enum: - unlocked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141958,11 +142182,11 @@ webhooks: type: string enum: - unpinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142035,7 +142259,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *767 + enterprise: *771 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -142713,9 +142937,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - forkee @@ -142861,9 +143085,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pages: description: The pages that were updated. type: array @@ -142901,7 +143125,7 @@ webhooks: - action - sha - html_url - repository: *770 + repository: *774 sender: *4 required: - pages @@ -142977,10 +143201,10 @@ webhooks: type: string enum: - created - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: &788 + organization: *773 + repositories: &792 description: An array of repository objects that the installation can access. type: array @@ -143006,8 +143230,8 @@ webhooks: - name - full_name - private - repository: *770 - requester: *787 + repository: *774 + requester: *791 sender: *4 required: - action @@ -143082,11 +143306,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -143163,11 +143387,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -143244,10 +143468,10 @@ webhooks: type: string enum: - added - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories_added: &789 + organization: *773 + repositories_added: &793 description: An array of repository objects, which were added to the installation. type: array @@ -143294,15 +143518,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *770 - repository_selection: &790 + repository: *774 + repository_selection: &794 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *787 + requester: *791 sender: *4 required: - action @@ -143381,10 +143605,10 @@ webhooks: type: string enum: - removed - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories_added: *789 + organization: *773 + repositories_added: *793 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -143412,9 +143636,9 @@ webhooks: - name - full_name - private - repository: *770 - repository_selection: *790 - requester: *787 + repository: *774 + repository_selection: *794 + requester: *791 sender: *4 required: - action @@ -143493,11 +143717,11 @@ webhooks: type: string enum: - suspend - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -143679,10 +143903,10 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 target_type: type: string @@ -143761,11 +143985,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -143931,11 +144155,11 @@ webhooks: pin: anyOf: - type: 'null' - - *566 + - *570 minimized: anyOf: - type: 'null' - - *567 + - *571 user: title: User type: @@ -144021,8 +144245,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144834,8 +145058,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144852,7 +145076,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -145196,8 +145420,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -145277,7 +145501,7 @@ webhooks: type: string enum: - deleted - comment: &791 + comment: &795 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -145434,11 +145658,11 @@ webhooks: pin: anyOf: - type: 'null' - - *566 + - *570 minimized: anyOf: - type: 'null' - - *567 + - *571 required: - url - html_url @@ -145452,8 +145676,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146261,8 +146485,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146279,7 +146503,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -146625,8 +146849,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -146706,7 +146930,7 @@ webhooks: type: string enum: - edited - changes: &815 + changes: &819 description: The changes to the comment. type: object properties: @@ -146718,9 +146942,9 @@ webhooks: type: string required: - from - comment: *791 - enterprise: *767 - installation: *768 + comment: *795 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -147531,8 +147755,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147549,7 +147773,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -147893,8 +148117,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -147975,9 +148199,9 @@ webhooks: type: string enum: - pinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *795 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -148790,8 +149014,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148808,7 +149032,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -149154,8 +149378,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -149235,9 +149459,9 @@ webhooks: type: string enum: - unpinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *795 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -150050,8 +150274,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150068,7 +150292,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -150414,8 +150638,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -150504,9 +150728,9 @@ webhooks: type: number blocking_issue: *80 blocking_issue_repo: *76 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -150595,9 +150819,9 @@ webhooks: type: number blocking_issue: *80 blocking_issue_repo: *76 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -150685,9 +150909,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -150776,9 +151000,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -150858,10 +151082,10 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - issue: &792 + assignee: *791 + enterprise: *771 + installation: *772 + issue: &796 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -151672,11 +151896,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151693,7 +151917,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -151796,8 +152020,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -151877,8 +152101,8 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -152694,11 +152918,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152715,7 +152939,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -152961,8 +153185,8 @@ webhooks: required: - state - closed_at - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -153041,8 +153265,8 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153849,11 +154073,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153870,7 +154094,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -153972,8 +154196,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -154052,8 +154276,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154883,11 +155107,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154904,7 +155128,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -154985,7 +155209,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &797 title: Milestone description: A collection of related issues and pull requests. type: object @@ -155128,8 +155352,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -155228,8 +155452,8 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156040,11 +156264,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156058,7 +156282,7 @@ webhooks: timeline_url: type: string format: uri - type: *244 + type: *246 title: description: Title of the issue type: string @@ -156164,9 +156388,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -156246,9 +156470,9 @@ webhooks: type: string enum: - field_added - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *771 + installation: *772 + issue: *796 issue_field: type: object description: The issue field whose value was set or updated on the @@ -156414,8 +156638,8 @@ webhooks: - id required: - from - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -156495,9 +156719,9 @@ webhooks: type: string enum: - field_removed - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *771 + installation: *772 + issue: *796 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -156584,8 +156808,8 @@ webhooks: - 'null' required: - id - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -156665,8 +156889,8 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157476,11 +157700,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157494,7 +157718,7 @@ webhooks: timeline_url: type: string format: uri - type: *244 + type: *246 title: description: Title of the issue type: string @@ -157600,9 +157824,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -157682,8 +157906,8 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158518,11 +158742,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158536,7 +158760,7 @@ webhooks: timeline_url: type: string format: uri - type: *244 + type: *246 title: description: Title of the issue type: string @@ -158619,8 +158843,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -158699,8 +158923,8 @@ webhooks: type: string enum: - milestoned - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159529,11 +159753,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159550,7 +159774,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -159630,9 +159854,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *769 - repository: *770 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -160519,11 +160743,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160623,7 +160847,7 @@ webhooks: required: - login - id - type: *244 + type: *246 required: - id - number @@ -161115,8 +161339,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -161923,11 +162147,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161944,7 +162168,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -162050,8 +162274,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -162131,9 +162355,9 @@ webhooks: type: string enum: - pinned - enterprise: *767 - installation: *768 - issue: &794 + enterprise: *771 + installation: *772 + issue: &798 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -162938,11 +163162,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162959,7 +163183,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -163061,8 +163285,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -163141,8 +163365,8 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -163975,11 +164199,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164076,9 +164300,9 @@ webhooks: format: uri user_view_type: type: string - type: *244 - organization: *769 - repository: *770 + type: *246 + organization: *773 + repository: *774 sender: *4 required: - action @@ -164966,11 +165190,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164987,7 +165211,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -165580,11 +165804,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *798 + organization: *773 + repository: *774 sender: *4 required: - action @@ -165664,12 +165888,12 @@ webhooks: type: string enum: - typed - enterprise: *767 - installation: *768 - issue: *792 - type: *244 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + type: *246 + organization: *773 + repository: *774 sender: *4 required: - action @@ -165750,7 +165974,7 @@ webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &822 title: User type: - object @@ -165822,11 +166046,11 @@ webhooks: required: - login - id - enterprise: *767 - installation: *768 - issue: *792 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + organization: *773 + repository: *774 sender: *4 required: - action @@ -165905,12 +166129,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - issue: *792 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -165990,8 +166214,8 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -166824,11 +167048,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166845,7 +167069,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -166925,8 +167149,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167006,11 +167230,11 @@ webhooks: type: string enum: - unpinned - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *798 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167089,12 +167313,12 @@ webhooks: type: string enum: - untyped - enterprise: *767 - installation: *768 - issue: *792 - type: *244 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + type: *246 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167174,11 +167398,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167256,11 +167480,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167370,11 +167594,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167456,9 +167680,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: &795 + enterprise: *771 + installation: *772 + marketplace_purchase: &799 title: Marketplace Purchase type: object required: @@ -167546,8 +167770,8 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: &796 + organization: *773 + previous_marketplace_purchase: &800 title: Marketplace Purchase type: object properties: @@ -167631,7 +167855,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *774 sender: *4 required: - action @@ -167711,10 +167935,10 @@ webhooks: - changed effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *771 + installation: *772 + marketplace_purchase: *799 + organization: *773 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -167802,7 +168026,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *774 sender: *4 required: - action @@ -167884,10 +168108,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *771 + installation: *772 + marketplace_purchase: *799 + organization: *773 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -167973,7 +168197,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *774 sender: *4 required: - action @@ -168054,8 +168278,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 marketplace_purchase: title: Marketplace Purchase type: object @@ -168141,9 +168365,9 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + organization: *773 + previous_marketplace_purchase: *800 + repository: *774 sender: *4 required: - action @@ -168223,12 +168447,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + enterprise: *771 + installation: *772 + marketplace_purchase: *799 + organization: *773 + previous_marketplace_purchase: *800 + repository: *774 sender: *4 required: - action @@ -168330,11 +168554,11 @@ webhooks: type: string required: - to - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168436,11 +168660,11 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168519,11 +168743,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168601,11 +168825,11 @@ webhooks: type: string enum: - added - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 scope: description: The scope of the membership. Currently, can only be `team`. @@ -168683,7 +168907,7 @@ webhooks: required: - login - id - team: &797 + team: &801 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -168913,11 +169137,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 scope: description: The scope of the membership. Currently, can only be `team`. @@ -168996,7 +169220,7 @@ webhooks: required: - login - id - team: *797 + team: *801 required: - action - scope @@ -169078,8 +169302,8 @@ webhooks: type: string enum: - checks_requested - installation: *768 - merge_group: &798 + installation: *772 + merge_group: &802 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -169098,15 +169322,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *418 + head_commit: *420 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169192,10 +169416,10 @@ webhooks: - merged - invalidated - dequeued - installation: *768 - merge_group: *798 - organization: *769 - repository: *770 + installation: *772 + merge_group: *802 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169268,7 +169492,7 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *771 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -169377,12 +169601,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *768 - organization: *769 + installation: *772 + organization: *773 repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -169462,11 +169686,11 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169545,9 +169769,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - milestone: &799 + enterprise: *771 + installation: *772 + milestone: &803 title: Milestone description: A collection of related issues and pull requests. type: object @@ -169689,8 +169913,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169769,11 +169993,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169883,11 +170107,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169967,11 +170191,11 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - milestone: *799 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *803 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170050,11 +170274,11 @@ webhooks: type: string enum: - blocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *791 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170133,11 +170357,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *791 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170216,9 +170440,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - membership: &800 + enterprise: *771 + installation: *772 + membership: &804 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -170328,8 +170552,8 @@ webhooks: - role - organization_url - user - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170407,11 +170631,11 @@ webhooks: type: string enum: - member_added - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + membership: *804 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170490,8 +170714,8 @@ webhooks: type: string enum: - member_invited - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -170613,10 +170837,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 - user: *787 + user: *791 required: - action - invitation @@ -170694,11 +170918,11 @@ webhooks: type: string enum: - member_removed - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + membership: *804 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170785,11 +171009,11 @@ webhooks: properties: from: type: string - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + membership: *804 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170866,9 +171090,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 package: description: Information about the package. type: object @@ -171391,7 +171615,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &801 + items: &805 title: Ruby Gems metadata type: object properties: @@ -171488,7 +171712,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -171564,9 +171788,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 package: description: Information about the package. type: object @@ -171928,7 +172152,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *805 source_url: type: string format: uri @@ -171999,7 +172223,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -172179,12 +172403,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *767 + enterprise: *771 id: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - id @@ -172261,7 +172485,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &802 + personal_access_token_request: &806 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -172411,10 +172635,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *767 - organization: *769 + enterprise: *771 + organization: *773 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -172491,11 +172715,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *806 + enterprise: *771 + organization: *773 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -172571,11 +172795,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *806 + enterprise: *771 + organization: *773 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -172650,11 +172874,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *802 - organization: *769 - enterprise: *767 + personal_access_token_request: *806 + organization: *773 + enterprise: *771 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -172759,7 +172983,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *803 + last_response: *807 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -172791,8 +173015,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 zen: description: Random string of GitHub zen. @@ -173037,10 +173261,10 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: &804 + enterprise: *771 + installation: *772 + organization: *773 + project_card: &808 title: Project Card type: object properties: @@ -173163,7 +173387,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *774 sender: *4 required: - action @@ -173244,11 +173468,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_card: *808 + repository: *774 sender: *4 required: - action @@ -173328,9 +173552,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 project_card: title: Project Card type: object @@ -173460,7 +173684,7 @@ webhooks: repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -173554,11 +173778,11 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_card: *808 + repository: *774 sender: *4 required: - action @@ -173652,9 +173876,9 @@ webhooks: - from required: - column_id - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 project_card: allOf: - title: Project Card @@ -173851,7 +174075,7 @@ webhooks: type: string required: - after_id - repository: *770 + repository: *774 sender: *4 required: - action @@ -173931,10 +174155,10 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - organization: *769 - project: &806 + enterprise: *771 + installation: *772 + organization: *773 + project: &810 title: Project type: object properties: @@ -174061,7 +174285,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *774 sender: *4 required: - action @@ -174141,10 +174365,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_column: &805 + enterprise: *771 + installation: *772 + organization: *773 + project_column: &809 title: Project Column type: object properties: @@ -174184,7 +174408,7 @@ webhooks: - name - created_at - updated_at - repository: *770 + repository: *774 sender: *4 required: - action @@ -174263,14 +174487,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 + enterprise: *771 + installation: *772 + organization: *773 + project_column: *809 repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -174359,11 +174583,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_column: *809 + repository: *774 sender: *4 required: - action @@ -174443,11 +174667,11 @@ webhooks: type: string enum: - moved - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_column: *809 + repository: *774 sender: *4 required: - action @@ -174527,11 +174751,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 + repository: *774 sender: *4 required: - action @@ -174611,14 +174835,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project: *806 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -174719,11 +174943,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 + repository: *774 sender: *4 required: - action @@ -174802,11 +175026,11 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 + repository: *774 sender: *4 required: - action @@ -174887,9 +175111,9 @@ webhooks: type: string enum: - closed - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -174970,9 +175194,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -175053,9 +175277,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -175176,9 +175400,9 @@ webhooks: type: string to: type: string - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -175261,7 +175485,7 @@ webhooks: type: string enum: - archived - changes: &810 + changes: &814 type: object properties: archived_at: @@ -175277,9 +175501,9 @@ webhooks: - string - 'null' format: date-time - installation: *768 - organization: *769 - projects_v2_item: &807 + installation: *772 + organization: *773 + projects_v2_item: &811 title: Projects v2 Item description: An item belonging to a project type: object @@ -175297,7 +175521,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *283 + content_type: *285 creator: *4 created_at: type: string @@ -175419,9 +175643,9 @@ webhooks: - 'null' to: type: string - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -175503,9 +175727,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -175586,9 +175810,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -175693,7 +175917,7 @@ webhooks: oneOf: - type: string - type: integer - - &808 + - &812 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -175717,7 +175941,7 @@ webhooks: required: - id - name - - &809 + - &813 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -175757,8 +175981,8 @@ webhooks: oneOf: - type: string - type: integer - - *808 - - *809 + - *812 + - *813 type: - 'null' - string @@ -175781,9 +176005,9 @@ webhooks: - 'null' required: - body - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -175880,9 +176104,9 @@ webhooks: type: - string - 'null' - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -175965,10 +176189,10 @@ webhooks: type: string enum: - restored - changes: *810 - installation: *768 - organization: *769 - projects_v2_item: *807 + changes: *814 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -176050,9 +176274,9 @@ webhooks: type: string enum: - reopened - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -176133,9 +176357,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *772 + organization: *773 + projects_v2_status_update: *815 sender: *4 required: - action @@ -176216,9 +176440,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *772 + organization: *773 + projects_v2_status_update: *815 sender: *4 required: - action @@ -176364,9 +176588,9 @@ webhooks: - string - 'null' format: date - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *772 + organization: *773 + projects_v2_status_update: *815 sender: *4 required: - action @@ -176437,10 +176661,10 @@ webhooks: title: public event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - repository @@ -176517,13 +176741,13 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - number: &812 + assignee: *791 + enterprise: *771 + installation: *772 + number: &816 description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -178748,7 +178972,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -178876,7 +179100,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -178958,10 +179182,10 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -181177,7 +181401,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -181307,7 +181531,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *774 sender: *4 required: - action @@ -181389,10 +181613,10 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -183608,7 +183832,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -183738,7 +183962,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *774 sender: *4 required: - action @@ -183820,13 +184044,13 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: &813 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: &817 allOf: - - *600 + - *604 - type: object properties: allow_auto_merge: @@ -183888,7 +184112,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *770 + repository: *774 sender: *4 required: - action @@ -183969,12 +184193,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -184054,12 +184278,12 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 - installation: *768 - milestone: *280 - number: *812 - organization: *769 - pull_request: &814 + enterprise: *771 + installation: *772 + milestone: *282 + number: *816 + organization: *773 + pull_request: &818 title: Pull Request type: object properties: @@ -186276,7 +186500,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -186404,7 +186628,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -186484,10 +186708,10 @@ webhooks: type: string enum: - dequeued - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -188708,7 +188932,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -188851,7 +189075,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *770 + repository: *774 sender: *4 required: - action @@ -188975,12 +189199,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -189061,10 +189285,10 @@ webhooks: type: string enum: - enqueued - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -191285,7 +191509,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -191413,7 +191637,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -191493,11 +191717,11 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + label: *790 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -193721,7 +193945,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -193849,7 +194073,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -193930,10 +194154,10 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -196155,7 +196379,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -196283,7 +196507,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -196363,13 +196587,13 @@ webhooks: type: string enum: - milestoned - enterprise: *767 - installation: *768 - milestone: *280 - number: *812 - organization: *769 - pull_request: *814 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *282 + number: *816 + organization: *773 + pull_request: *818 + repository: *774 sender: *4 required: - action @@ -196449,12 +196673,12 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -196535,12 +196759,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -196620,12 +196844,12 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -197000,9 +197224,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: type: object properties: @@ -199113,7 +199337,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -199236,7 +199460,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *774 sender: *4 required: - action @@ -199316,7 +199540,7 @@ webhooks: type: string enum: - deleted - comment: &816 + comment: &820 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -199609,9 +199833,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: type: object properties: @@ -201710,7 +201934,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -201833,7 +202057,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *774 sender: *4 required: - action @@ -201913,11 +202137,11 @@ webhooks: type: string enum: - edited - changes: *815 - comment: *816 - enterprise: *767 - installation: *768 - organization: *769 + changes: *819 + comment: *820 + enterprise: *771 + installation: *772 + organization: *773 pull_request: type: object properties: @@ -204019,7 +204243,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -204142,7 +204366,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *774 sender: *4 required: - action @@ -204223,9 +204447,9 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -206337,7 +206561,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -206462,7 +206686,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *774 review: description: The review that was affected. type: object @@ -206713,9 +206937,9 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -208824,8 +209048,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: &817 + repository: *774 + review: &821 description: The review that was affected. type: object properties: @@ -209063,12 +209287,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -211291,7 +211515,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -211419,7 +211643,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_reviewer: title: User type: @@ -211505,12 +211729,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -213740,7 +213964,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -213868,7 +214092,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214063,12 +214287,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -216292,7 +216516,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -216421,7 +216645,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_reviewer: title: User type: @@ -216508,12 +216732,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -218728,7 +218952,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -218857,7 +219081,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_team: title: Team description: Groups of organization members that gives permissions @@ -219041,9 +219265,9 @@ webhooks: type: string enum: - submitted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -221158,7 +221382,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -221283,8 +221507,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: *817 + repository: *774 + review: *821 sender: *4 required: - action @@ -221364,9 +221588,9 @@ webhooks: type: string enum: - resolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -223390,7 +223614,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -223515,7 +223739,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *774 sender: *4 thread: type: object @@ -223912,9 +224136,9 @@ webhooks: type: string enum: - unresolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -225922,7 +226146,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -226046,7 +226270,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *774 sender: *4 thread: type: object @@ -226439,11 +226663,11 @@ webhooks: type: string enum: - stacked - enterprise: *767 - installation: *768 - stack: *597 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + stack: *601 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -228667,7 +228891,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -228795,7 +229019,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -228881,10 +229105,10 @@ webhooks: type: string before: type: string - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -231095,7 +231319,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -231223,7 +231447,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -231305,11 +231529,11 @@ webhooks: type: string enum: - unassigned - assignee: *818 - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + assignee: *822 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -233535,7 +233759,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -233663,7 +233887,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -233743,11 +233967,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + label: *790 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -235962,7 +236186,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -236090,7 +236314,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -236171,10 +236395,10 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -238380,7 +238604,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -238507,7 +238731,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -238710,7 +238934,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *767 + enterprise: *771 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -238805,8 +239029,8 @@ webhooks: - url - author - committer - installation: *768 - organization: *769 + installation: *772 + organization: *773 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -239405,9 +239629,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 registry_package: type: object properties: @@ -239884,7 +240108,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *801 + items: *805 summary: type: string tag_name: @@ -239940,7 +240164,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -240018,9 +240242,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 registry_package: type: object properties: @@ -240332,7 +240556,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *805 summary: type: string tag_name: @@ -240382,7 +240606,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -240459,10 +240683,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - release: &819 + enterprise: *771 + installation: *772 + organization: *773 + release: &823 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -240793,7 +241017,7 @@ webhooks: - updated_at - zipball_url - body - repository: *770 + repository: *774 sender: *4 required: - action @@ -240870,11 +241094,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *823 + repository: *774 sender: *4 required: - action @@ -240991,11 +241215,11 @@ webhooks: type: boolean required: - to - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *823 + repository: *774 sender: *4 required: - action @@ -241073,9 +241297,9 @@ webhooks: type: string enum: - prereleased - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -241411,7 +241635,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *774 sender: *4 required: - action @@ -241487,10 +241711,10 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - release: &820 + enterprise: *771 + installation: *772 + organization: *773 + release: &824 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -241823,7 +242047,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *774 sender: *4 required: - action @@ -241899,11 +242123,11 @@ webhooks: type: string enum: - released - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *823 + repository: *774 sender: *4 required: - action @@ -241979,11 +242203,11 @@ webhooks: type: string enum: - unpublished - enterprise: *767 - installation: *768 - organization: *769 - release: *820 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *824 + repository: *774 sender: *4 required: - action @@ -242059,11 +242283,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *686 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_advisory: *690 sender: *4 required: - action @@ -242139,11 +242363,11 @@ webhooks: type: string enum: - reported - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *686 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_advisory: *690 sender: *4 required: - action @@ -242219,10 +242443,10 @@ webhooks: type: string enum: - archived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -242299,10 +242523,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -242380,10 +242604,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -242468,10 +242692,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -242586,10 +242810,10 @@ webhooks: - 'null' items: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -242661,10 +242885,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 status: type: string @@ -242745,10 +242969,10 @@ webhooks: type: string enum: - privatized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -242825,10 +243049,10 @@ webhooks: type: string enum: - publicized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -242922,10 +243146,10 @@ webhooks: - name required: - repository - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243005,11 +243229,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_ruleset: *322 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_ruleset: *324 sender: *4 required: - action @@ -243087,11 +243311,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_ruleset: *322 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_ruleset: *324 sender: *4 required: - action @@ -243169,11 +243393,11 @@ webhooks: type: string enum: - edited - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_ruleset: *322 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_ruleset: *324 changes: type: object properties: @@ -243192,16 +243416,16 @@ webhooks: properties: added: type: array - items: *296 + items: *298 deleted: type: array - items: *296 + items: *298 updated: type: array items: type: object properties: - condition: *296 + condition: *298 changes: type: object properties: @@ -243234,16 +243458,16 @@ webhooks: properties: added: type: array - items: *622 + items: *626 deleted: type: array - items: *622 + items: *626 updated: type: array items: type: object properties: - rule: *622 + rule: *626 changes: type: object properties: @@ -243480,10 +243704,10 @@ webhooks: - from required: - owner - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243561,10 +243785,10 @@ webhooks: type: string enum: - unarchived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243642,7 +243866,7 @@ webhooks: type: string enum: - create - alert: &821 + alert: &825 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -243767,10 +243991,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -243980,10 +244204,10 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244061,11 +244285,11 @@ webhooks: type: string enum: - reopen - alert: *821 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *825 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244267,10 +244491,10 @@ webhooks: enum: - fixed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244348,17 +244572,17 @@ webhooks: type: string enum: - assigned - alert: &823 + alert: &827 type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri @@ -244495,12 +244719,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *822 + metadata: *826 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244578,11 +244802,11 @@ webhooks: type: string enum: - created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244663,11 +244887,11 @@ webhooks: type: string enum: - created - alert: *823 - installation: *768 - location: *824 - organization: *769 - repository: *770 + alert: *827 + installation: *772 + location: *828 + organization: *773 + repository: *774 sender: *4 required: - location @@ -244905,11 +245129,11 @@ webhooks: type: string enum: - metadata_created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244986,11 +245210,11 @@ webhooks: type: string enum: - metadata_removed - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245067,11 +245291,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245149,11 +245373,11 @@ webhooks: type: string enum: - reopened - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245231,11 +245455,11 @@ webhooks: type: string enum: - resolved - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245313,12 +245537,12 @@ webhooks: type: string enum: - unassigned - alert: *823 + alert: *827 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245396,11 +245620,11 @@ webhooks: type: string enum: - validated - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245530,10 +245754,10 @@ webhooks: - organization - enterprise - - repository: *770 - enterprise: *767 - installation: *768 - organization: *769 + repository: *774 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -245611,11 +245835,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: &825 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + security_advisory: &829 description: The details of the security advisory, including summary, description, and severity. type: object @@ -245788,11 +246012,11 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: *825 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + security_advisory: *829 sender: *4 required: - action @@ -245865,10 +246089,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -246041,11 +246265,11 @@ webhooks: from: type: object properties: - security_and_analysis: *295 - enterprise: *767 - installation: *768 - organization: *769 - repository: *341 + security_and_analysis: *297 + enterprise: *771 + installation: *772 + organization: *773 + repository: *343 sender: *4 required: - changes @@ -246123,12 +246347,12 @@ webhooks: type: string enum: - cancelled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: &826 + sponsorship: &830 type: object properties: created_at: @@ -246433,12 +246657,12 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - sponsorship @@ -246526,12 +246750,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - changes @@ -246608,17 +246832,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &827 + effective_date: &831 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - sponsorship @@ -246692,7 +246916,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &828 + changes: &832 type: object properties: tier: @@ -246736,13 +246960,13 @@ webhooks: - from required: - tier - effective_date: *827 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + effective_date: *831 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - changes @@ -246819,13 +247043,13 @@ webhooks: type: string enum: - tier_changed - changes: *828 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + changes: *832 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - changes @@ -246899,10 +247123,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -246986,10 +247210,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -247423,15 +247647,15 @@ webhooks: type: - string - 'null' - enterprise: *767 + enterprise: *771 id: description: The unique identifier of the status. type: integer - installation: *768 + installation: *772 name: type: string - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 sha: description: The Commit SHA. @@ -247547,9 +247771,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247638,9 +247862,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247729,9 +247953,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247820,9 +248044,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247898,12 +248122,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - team: &829 + team: &833 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -248133,9 +248357,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -248605,7 +248829,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -248681,9 +248905,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -249153,7 +249377,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -249230,9 +249454,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -249702,7 +249926,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -249846,9 +250070,9 @@ webhooks: - from required: - permissions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -250318,7 +250542,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - changes @@ -250396,9 +250620,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -250868,7 +251092,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -250944,10 +251168,10 @@ webhooks: type: string enum: - started - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -251020,17 +251244,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *767 + enterprise: *771 inputs: type: - object - 'null' additionalProperties: true - installation: *768 - organization: *769 + installation: *772 + organization: *773 ref: type: string - repository: *770 + repository: *774 sender: *4 workflow: type: string @@ -251112,10 +251336,10 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: allOf: @@ -251371,7 +251595,7 @@ webhooks: type: string required: - conclusion - deployment: *498 + deployment: *502 required: - action - repository @@ -251450,10 +251674,10 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: allOf: @@ -251735,7 +251959,7 @@ webhooks: required: - status - steps - deployment: *498 + deployment: *502 required: - action - repository @@ -251814,10 +252038,10 @@ webhooks: type: string enum: - queued - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: type: object @@ -251963,7 +252187,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *502 required: - action - repository @@ -252042,10 +252266,10 @@ webhooks: type: string enum: - waiting - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: type: object @@ -252192,7 +252416,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *502 required: - action - repository @@ -252272,12 +252496,12 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Workflow Run type: object @@ -253296,12 +253520,12 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Workflow Run type: object @@ -254305,12 +254529,12 @@ webhooks: type: string enum: - requested - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 2fce530d0..238a49172 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -123900,6 +123900,353 @@ } } }, + "/orgs/{org}/code-scanning/ai-scan": { + "get": { + "summary": "Get the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the AI Scan setting stored on an organization.\n\nThe response reports the value stored on the organization. Organization respects enterprise policy.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + }, + "patch": { + "summary": "Update the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates the AI Scan setting stored on an organization.\n\nThe organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings update", + "description": "The AI Scan organization setting to apply", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scna. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -366483,6 +366830,366 @@ } } }, + "/repos/{owner}/{repo}/code-scanning/ai-scan": { + "get": { + "summary": "Get AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + }, + "patch": { + "summary": "Update AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement update for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether to enable or disable AI Scan for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "enabled": { + "summary": "Enable AI Scan", + "value": { + "pr_scan": "enabled" + } + }, + "disabled": { + "summary": "Disable AI Scan", + "value": { + "pr_scan": "disabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + } + }, "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for a repository", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 6f716ae77..a1e48f9cc 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -938,7 +938,7 @@ paths: - subscriptions_url - type - url - type: &330 + type: &332 type: string description: The type of credit the user is receiving. enum: @@ -1131,7 +1131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &689 + - &693 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4394,7 +4394,7 @@ paths: schema: type: integer default: 30 - - &218 + - &220 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4403,7 +4403,7 @@ paths: required: false schema: type: string - - &219 + - &221 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4423,7 +4423,7 @@ paths: application/json: schema: type: array - items: &220 + items: &222 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4519,7 +4519,7 @@ paths: - installation_id - repository_id examples: - default: &221 + default: &223 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4654,7 +4654,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &224 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4789,7 +4789,7 @@ paths: - request - response examples: - default: &223 + default: &225 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -10511,7 +10511,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &191 type: array description: A list of default code security configurations items: @@ -10527,7 +10527,7 @@ paths: default configuration: *44 examples: - default: &190 + default: &192 value: - default_for_new_repos: public configuration: @@ -10989,7 +10989,7 @@ paths: default: value: default_for_new_repos: all - configuration: &188 + configuration: &190 value: id: 1325 target_type: organization @@ -11079,7 +11079,7 @@ paths: application/json: schema: type: array - items: &191 + items: &193 type: object description: Repositories associated with a code security configuration and attachment status @@ -11424,7 +11424,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &192 + repository: &194 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -12003,7 +12003,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *35 - - &200 + - &202 name: classification in: query description: |- @@ -12012,7 +12012,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &201 + - &203 name: state in: query description: |- @@ -12021,7 +12021,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &202 + - &204 name: severity in: query description: |- @@ -12030,7 +12030,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &203 + - &205 name: ecosystem in: query description: |- @@ -12039,14 +12039,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &204 + - &206 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &205 + - &207 name: epss_percentage in: query description: |- @@ -12058,7 +12058,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &487 + - &491 name: has in: query description: |- @@ -12072,7 +12072,7 @@ paths: type: string enum: - patch - - &206 + - &208 name: assignee in: query description: |- @@ -12081,7 +12081,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &207 + - &209 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12091,7 +12091,7 @@ paths: enum: - development - runtime - - &208 + - &210 name: relationship in: query description: |- @@ -12101,7 +12101,7 @@ paths: > We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. schema: type: string - - &209 + - &211 name: sort in: query description: |- @@ -12127,11 +12127,11 @@ paths: application/json: schema: type: array - items: &210 + items: &212 type: object description: A Dependabot alert. properties: - number: &178 + number: &180 type: integer description: The security alert number. readOnly: true @@ -12198,7 +12198,7 @@ paths: - transitive - inconclusive - - security_advisory: &488 + security_advisory: &492 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12431,29 +12431,29 @@ paths: - withdrawn_at version: '2026-03-10' security_vulnerability: *61 - url: &181 + url: &183 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &182 + html_url: &184 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &179 + created_at: &181 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &180 + updated_at: &182 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &184 + dismissed_at: &186 type: - string - 'null' @@ -12484,7 +12484,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &183 + fixed_at: &185 type: - string - 'null' @@ -12492,7 +12492,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &489 + auto_dismissed_at: &493 type: - string - 'null' @@ -12500,7 +12500,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &490 + dismissal_request: &494 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12563,7 +12563,7 @@ paths: - repository additionalProperties: false examples: - default: &211 + default: &213 value: - number: 2 state: dismissed @@ -12950,7 +12950,7 @@ paths: description: Response content: application/json: - schema: &212 + schema: &214 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -12976,7 +12976,7 @@ paths: - *62 additionalProperties: false examples: - default: &213 + default: &215 value: default_level: public accessible_repositories: @@ -14350,7 +14350,7 @@ paths: properties: action: type: string - discussion: &783 + discussion: &787 title: Discussion description: A Discussion in a repository. type: object @@ -14851,7 +14851,7 @@ paths: milestone: anyOf: - type: 'null' - - &280 + - &282 title: Milestone description: A collection of related issues and pull requests. @@ -15023,7 +15023,7 @@ paths: timeline_url: type: string format: uri - type: &244 + type: &246 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -15136,7 +15136,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &701 + sub_issues_summary: &705 title: Sub-issues Summary type: object properties: @@ -15220,7 +15220,7 @@ paths: pin: anyOf: - type: 'null' - - &566 + - &570 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15241,7 +15241,7 @@ paths: minimized: anyOf: - type: 'null' - - &567 + - &571 title: Minimized Issue Comment description: Details about why an issue comment was minimized. @@ -15266,7 +15266,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &702 + issue_dependencies_summary: &706 title: Issue Dependencies Summary type: object properties: @@ -15285,7 +15285,7 @@ paths: - total_blocking issue_field_values: type: array - items: &548 + items: &552 title: Issue Field Value description: A value assigned to an issue field type: object @@ -16145,7 +16145,7 @@ paths: type: string release: allOf: - - &612 + - &616 title: Release description: A release. type: object @@ -16227,7 +16227,7 @@ paths: author: *4 assets: type: array - items: &613 + items: &617 title: Release Asset description: Data related to a release. type: object @@ -16859,7 +16859,7 @@ paths: url: type: string format: uri - user: &710 + user: &714 title: Public User description: Public User type: object @@ -18775,7 +18775,7 @@ paths: - closed - all default: open - - &247 + - &249 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18826,7 +18826,7 @@ paths: type: array items: *80 examples: - default: &248 + default: &250 value: - id: 1 node_id: MDU6SXNzdWUx @@ -20252,14 +20252,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &338 + - &340 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &339 + - &341 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20321,7 +20321,7 @@ paths: '404': *6 '403': *27 '304': *32 - '301': &342 + '301': &344 description: Moved permanently content: application/json: @@ -20343,7 +20343,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &586 + - &590 name: all description: If `true`, show notifications marked as read. in: query @@ -20351,7 +20351,7 @@ paths: schema: type: boolean default: false - - &587 + - &591 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20361,7 +20361,7 @@ paths: type: boolean default: false - *85 - - &588 + - &592 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -20743,7 +20743,7 @@ paths: type: boolean examples: - false - security_and_analysis: &295 + security_and_analysis: &297 type: - object - 'null' @@ -20960,7 +20960,7 @@ paths: - url - subscription_url examples: - default: &589 + default: &593 value: - id: '1' repository: @@ -22988,7 +22988,7 @@ paths: parameters: - *72 - *114 - - &761 + - &765 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -23100,7 +23100,7 @@ paths: - *114 - *115 - *116 - - &762 + - &766 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -23108,7 +23108,7 @@ paths: schema: type: string - *119 - - &763 + - &767 name: sku description: The SKU to query for usage. in: query @@ -24123,7 +24123,7 @@ paths: type: integer repository_cache_usages: type: array - items: &349 + items: &351 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25511,7 +25511,7 @@ paths: - all - local_only - selected - selected_actions_url: &354 + selected_actions_url: &356 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -25594,7 +25594,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &360 type: object properties: days: @@ -25636,7 +25636,7 @@ paths: required: true content: application/json: - schema: &359 + schema: &361 type: object properties: days: @@ -25693,7 +25693,7 @@ paths: required: - approval_policy examples: - default: &360 + default: &362 value: approval_policy: first_time_contributors '404': *6 @@ -25752,7 +25752,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 type: object required: - run_workflows_from_fork_pull_requests @@ -25806,7 +25806,7 @@ paths: required: true content: application/json: - schema: &362 + schema: &364 type: object required: - run_workflows_from_fork_pull_requests @@ -26441,7 +26441,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &365 type: object properties: default_workflow_permissions: &146 @@ -26492,7 +26492,7 @@ paths: required: false content: application/json: - schema: &364 + schema: &366 type: object properties: default_workflow_permissions: *146 @@ -26985,7 +26985,7 @@ paths: type: array items: *153 examples: - default: &199 + default: &201 value: total_count: 1 repositories: @@ -27711,7 +27711,7 @@ paths: application/json: schema: type: array - items: &365 + items: &367 title: Runner Application description: Runner Application type: object @@ -27736,7 +27736,7 @@ paths: - download_url - filename examples: - default: &366 + default: &368 value: - os: osx architecture: x64 @@ -27822,7 +27822,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &367 + '201': &369 description: Response content: application/json: @@ -27937,7 +27937,7 @@ paths: - token - expires_at examples: - default: &368 + default: &370 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27976,7 +27976,7 @@ paths: application/json: schema: *157 examples: - default: &369 + default: &371 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -28010,7 +28010,7 @@ paths: application/json: schema: *155 examples: - default: &370 + default: &372 value: id: 23 name: MBP @@ -28237,7 +28237,7 @@ paths: - *72 - *154 responses: - '200': &371 + '200': &373 description: Response content: application/json: @@ -28294,7 +28294,7 @@ paths: parameters: - *72 - *154 - - &372 + - &374 name: name description: The name of a self-hosted runner's custom label. in: path @@ -31266,12 +31266,12 @@ paths: required: - subject_digests examples: - default: &742 + default: &746 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &743 + withPredicateType: &747 value: subject_digests: - sha256:abc123 @@ -31330,7 +31330,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &744 + default: &748 value: attestations_subject_digests: - sha256:abc: @@ -31696,7 +31696,7 @@ paths: initiator: type: string examples: - default: &398 + default: &400 value: attestations: - repository_id: 1 @@ -31904,7 +31904,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &198 + items: &200 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -31993,7 +31993,7 @@ paths: parent: anyOf: - type: 'null' - - &259 + - &261 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -32579,6 +32579,124 @@ paths: enabledForGitHubApps: true category: campaigns subcategory: campaigns + "/orgs/{org}/code-scanning/ai-scan": + get: + summary: Get the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the AI Scan setting stored on an organization. + + The response reports the value stored on the organization. Organization respects enterprise policy. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization + parameters: + - *72 + responses: + '200': + description: Response + content: + application/json: + schema: &178 + title: Code scanning AI Scan organization settings + description: The AI Scan organization setting + type: object + properties: + pr_scan: + description: 'Whether AI Scan on pull requests is enabled for + the organization. The organization setting respects enterprise + policy, and repositories inherit it: when disabled, repositories + cannot enable AI Scan; when enabled, repositories can still + opt out.' + type: string + enum: + - enabled + - disabled + examples: + - enabled + required: + - pr_scan + examples: + default: &179 + value: + pr_scan: enabled + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan + patch: + summary: Update the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates the AI Scan setting stored on an organization. + + The organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization + parameters: + - *72 + requestBody: + required: true + content: + application/json: + schema: + title: Code scanning AI Scan organization settings update + description: The AI Scan organization setting to apply + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the organization. Organization + respects enterprise policy. Disabled organizations prevent repositories + from enabling AI Scna. Enabled organizations enable AI Scan for + their repositories, but individual repositories can opt out. + type: string + enum: + - enabled + - disabled + examples: + - enabled + minProperties: 1 + additionalProperties: false + examples: + default: + value: + pr_scan: enabled + responses: + '200': + description: Response + content: + application/json: + schema: *178 + examples: + default: *179 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -32596,17 +32714,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *72 - - &424 + - &428 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &185 + schema: &187 type: string description: The name of the tool used to generate the code scanning analysis. - - &425 + - &429 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -32614,7 +32732,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &186 + schema: &188 type: - string - 'null' @@ -32630,7 +32748,7 @@ paths: be returned. in: query required: false - schema: &427 + schema: &431 type: string description: State of a code scanning alert. enum: @@ -32653,7 +32771,7 @@ paths: be returned. in: query required: false - schema: &428 + schema: &432 type: string description: Severity of a code scanning alert. enum: @@ -32682,18 +32800,18 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 - instances_url: &429 + number: *180 + created_at: *181 + updated_at: *182 + url: *183 + html_url: *184 + instances_url: &433 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &187 + state: &189 type: - string - 'null' @@ -32703,13 +32821,13 @@ paths: - dismissed - fixed - - fixed_at: *183 + fixed_at: *185 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *184 - dismissed_reason: &430 + dismissed_at: *186 + dismissed_reason: &434 type: - string - 'null' @@ -32721,14 +32839,14 @@ paths: - used in tests - mitigated - - dismissed_comment: &431 + dismissed_comment: &435 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &432 + rule: &436 type: object properties: id: @@ -32789,43 +32907,43 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &433 + tool: &437 type: object properties: - name: *185 + name: *187 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *186 - most_recent_instance: &434 + guid: *188 + most_recent_instance: &438 type: object properties: - ref: &426 + ref: &430 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &445 + analysis_key: &449 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &446 + environment: &450 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &447 + category: &451 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *187 + state: *189 commit_sha: type: string message: @@ -32839,7 +32957,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &448 + location: &452 type: object description: Describe a region within a file for the alert. properties: @@ -32860,7 +32978,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &449 + items: &453 type: - string - 'null' @@ -33497,7 +33615,7 @@ paths: application/json: schema: *44 examples: - default: *188 + default: *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33525,9 +33643,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '304': *32 '403': *27 '404': *6 @@ -33616,7 +33734,7 @@ paths: application/json: schema: *44 examples: - default: *188 + default: *190 '304': *32 '403': *27 '404': *6 @@ -34061,7 +34179,7 @@ paths: default: value: default_for_new_repos: all - configuration: *188 + configuration: *190 '403': *27 '404': *6 x-github: @@ -34114,13 +34232,13 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *192 + repository: *194 '403': *27 '404': *6 x-github: @@ -34160,7 +34278,7 @@ paths: type: integer codespaces: type: array - items: &249 + items: &251 type: object title: Codespace description: A codespace. @@ -34195,7 +34313,7 @@ paths: machine: anyOf: - type: 'null' - - &461 + - &465 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -34482,7 +34600,7 @@ paths: - pulls_url - recent_folders examples: - default: &250 + default: &252 value: total_count: 3 codespaces: @@ -35106,7 +35224,7 @@ paths: type: integer secrets: type: array - items: &193 + items: &195 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -35147,7 +35265,7 @@ paths: - updated_at - visibility examples: - default: &462 + default: &466 value: total_count: 2 secrets: @@ -35185,7 +35303,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &467 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -35220,7 +35338,7 @@ paths: - key_id - key examples: - default: &464 + default: &468 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35250,9 +35368,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: &466 + default: &470 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -35586,7 +35704,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &194 + items: &196 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -35983,9 +36101,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: &195 + default: &197 summary: Example response for an organization copilot space value: id: 84 @@ -36090,9 +36208,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 '403': *27 '404': *6 x-github: @@ -36221,9 +36339,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *195 + default: *197 '403': *27 '404': *6 '422': *15 @@ -36306,7 +36424,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &196 + items: &198 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -36531,7 +36649,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: user: value: @@ -36661,7 +36779,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: user: value: @@ -36812,7 +36930,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &197 + items: &199 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -36956,7 +37074,7 @@ paths: description: Resource created content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -36972,7 +37090,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -37027,7 +37145,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -37096,7 +37214,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -37338,7 +37456,7 @@ paths: currently being billed. seats: type: array - items: &252 + items: &254 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -37356,7 +37474,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *198 + - *200 - *64 type: - 'null' @@ -37974,7 +38092,7 @@ paths: - total_count - repositories examples: - default: *199 + default: *201 '500': *50 '401': *23 '403': *27 @@ -38500,12 +38618,12 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *72 - - *200 - - *201 - *202 - *203 - *204 - *205 + - *206 + - *207 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -38535,7 +38653,7 @@ paths: enum: - patch - deployment - - *206 + - *208 - name: runtime_risk in: query description: |- @@ -38544,9 +38662,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *207 - - *208 - *209 + - *210 + - *211 - *57 - *42 - *43 @@ -38558,9 +38676,9 @@ paths: application/json: schema: type: array - items: *210 + items: *212 examples: - default: *211 + default: *213 '304': *32 '400': *14 '403': *27 @@ -38609,9 +38727,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: - default: *213 + default: *215 '403': *27 '404': *6 x-github: @@ -38775,7 +38893,7 @@ paths: type: integer secrets: type: array - items: &214 + items: &216 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38854,7 +38972,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &497 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38873,7 +38991,7 @@ paths: - key_id - key examples: - default: &494 + default: &498 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38903,7 +39021,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -39210,7 +39328,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 title: Package description: A software package type: object @@ -39281,7 +39399,7 @@ paths: - created_at - updated_at examples: - default: &262 + default: &264 value: - id: 197 name: hello_docker @@ -39451,7 +39569,7 @@ paths: application/json: schema: type: array - items: &238 + items: &240 title: Organization Invitation description: Organization Invitation type: object @@ -39505,7 +39623,7 @@ paths: - invitation_teams_url - node_id examples: - default: &239 + default: &241 value: - id: 1 login: monalisa @@ -39572,7 +39690,7 @@ paths: application/json: schema: type: array - items: &215 + items: &217 title: Org Hook description: Org Hook type: object @@ -39757,9 +39875,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: &216 + default: &218 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39807,7 +39925,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *72 - - &217 + - &219 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -39820,9 +39938,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - default: *216 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -39850,7 +39968,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *72 - - *217 + - *219 requestBody: required: false content: @@ -39896,7 +40014,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: default: value: @@ -39938,7 +40056,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *72 - - *217 + - *219 responses: '204': description: Response @@ -39966,7 +40084,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *72 - - *217 + - *219 responses: '200': description: Response @@ -39997,7 +40115,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *72 - - *217 + - *219 requestBody: required: false content: @@ -40048,10 +40166,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *72 - - *217 - - *17 - - *218 - *219 + - *17 + - *220 + - *221 responses: '200': description: Response @@ -40059,9 +40177,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -40087,16 +40205,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *72 - - *217 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '400': *14 '422': *15 x-github: @@ -40122,7 +40240,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *72 - - *217 + - *219 - *16 responses: '202': *34 @@ -40152,7 +40270,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *72 - - *217 + - *219 responses: '204': description: Response @@ -40177,7 +40295,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *72 - - &228 + - &230 name: actor_type in: path description: The type of the actor @@ -40190,14 +40308,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &229 + - &231 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &224 + - &226 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -40205,7 +40323,7 @@ paths: required: true schema: type: string - - &225 + - &227 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -40302,12 +40420,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *72 - - *224 - - *225 + - *226 + - *227 - *19 - *17 - *57 - - &234 + - &236 name: sort description: The property to sort the results by. in: query @@ -40388,14 +40506,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *72 - - *224 - - *225 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: &226 + schema: &228 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -40411,7 +40529,7 @@ paths: type: integer format: int64 examples: - default: &227 + default: &229 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -40434,23 +40552,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *72 - - &230 + - &232 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *224 - - *225 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *226 + schema: *228 examples: - default: *227 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -40470,18 +40588,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *72 - - *224 - - *225 - - *228 - - *229 + - *226 + - *227 + - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *226 + schema: *228 examples: - default: *227 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -40501,9 +40619,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *72 - - *224 - - *225 - - &231 + - *226 + - *227 + - &233 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40516,7 +40634,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &234 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40532,7 +40650,7 @@ paths: type: integer format: int64 examples: - default: &233 + default: &235 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40571,18 +40689,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *72 - - *230 - - *224 - - *225 - - *231 + - *232 + - *226 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *233 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -40602,19 +40720,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *72 - - *228 - - *229 - - *224 - - *225 + - *230 - *231 + - *226 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *233 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -40634,13 +40752,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *72 - - *230 - - *224 - - *225 + - *232 + - *226 + - *227 - *19 - *17 - *57 - - *234 + - *236 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40724,7 +40842,7 @@ paths: application/json: schema: *20 examples: - default: &531 + default: &535 value: id: 1 account: @@ -40890,12 +41008,12 @@ paths: application/json: schema: anyOf: - - &236 + - &238 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &235 + limit: &237 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40923,7 +41041,7 @@ paths: properties: {} additionalProperties: false examples: - default: &237 + default: &239 value: limit: collaborators_only origin: organization @@ -40952,13 +41070,13 @@ paths: required: true content: application/json: - schema: &532 + schema: &536 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *235 + limit: *237 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40983,9 +41101,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *237 + default: *239 '422': *15 x-github: githubCloudOnly: false @@ -41195,9 +41313,9 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *63 '404': *6 @@ -41274,7 +41392,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *240 examples: default: value: @@ -41329,7 +41447,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *72 - - &240 + - &242 name: invitation_id description: The unique identifier of the invitation. in: path @@ -41360,7 +41478,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *72 - - *240 + - *242 - *17 - *19 responses: @@ -41370,9 +41488,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: &260 + default: &262 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -41415,7 +41533,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -41678,9 +41796,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: &242 + default: &244 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -41736,7 +41854,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *72 - - &243 + - &245 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -41846,9 +41964,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: *242 + default: *244 '404': *6 '422': *7 x-github: @@ -41873,7 +41991,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *72 - - *243 + - *245 responses: '204': *54 '404': *6 @@ -41903,9 +42021,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: &536 + default: &540 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -41991,9 +42109,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: &245 + default: &247 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -42026,7 +42144,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *72 - - &246 + - &248 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -42082,9 +42200,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 '404': *6 '422': *7 x-github: @@ -42109,7 +42227,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *72 - - *246 + - *248 responses: '204': description: Response @@ -42172,7 +42290,7 @@ paths: - closed - all default: open - - *247 + - *249 - name: type description: Can be the name of an issue type. in: query @@ -42203,7 +42321,7 @@ paths: type: array items: *80 examples: - default: *248 + default: *250 headers: Link: *63 '404': *6 @@ -42368,9 +42486,9 @@ paths: type: integer codespaces: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 '304': *32 '500': *50 '401': *23 @@ -42397,7 +42515,7 @@ paths: parameters: - *72 - *68 - - &251 + - &253 name: codespace_name in: path required: true @@ -42432,15 +42550,15 @@ paths: parameters: - *72 - *68 - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: &460 + default: &464 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42620,7 +42738,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *252 + schema: *254 examples: default: value: @@ -42696,7 +42814,7 @@ paths: description: Response content: application/json: - schema: &253 + schema: &255 title: Org Membership description: Org Membership type: object @@ -42765,7 +42883,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &254 + response-if-user-has-an-active-admin-membership-with-organization: &256 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42866,9 +42984,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: - response-if-user-already-had-membership-with-organization: *254 + response-if-user-already-had-membership-with-organization: *256 '422': *15 '403': *27 x-github: @@ -42946,7 +43064,7 @@ paths: application/json: schema: type: array - items: &255 + items: &257 title: Migration description: A migration. type: object @@ -43295,7 +43413,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -43474,7 +43592,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *72 - - &256 + - &258 name: migration_id description: The unique identifier of the migration. in: path @@ -43502,7 +43620,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -43672,7 +43790,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *72 - - *256 + - *258 responses: '302': description: Response @@ -43694,7 +43812,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *72 - - *256 + - *258 responses: '204': description: Response @@ -43718,8 +43836,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *72 - - *256 - - &725 + - *258 + - &729 name: repo_name description: repo_name parameter in: path @@ -43747,7 +43865,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *72 - - *256 + - *258 - *17 - *19 responses: @@ -43759,7 +43877,7 @@ paths: type: array items: *153 examples: - default: &267 + default: &269 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43932,7 +44050,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &258 + items: &260 title: Organization Role description: Organization roles type: object @@ -44109,7 +44227,7 @@ paths: parameters: - *72 - *73 - - &257 + - &259 name: role_id description: The unique identifier of the role. in: path @@ -44146,7 +44264,7 @@ paths: parameters: - *72 - *73 - - *257 + - *259 responses: '204': description: Response @@ -44199,7 +44317,7 @@ paths: parameters: - *72 - *68 - - *257 + - *259 responses: '204': description: Response @@ -44231,7 +44349,7 @@ paths: parameters: - *72 - *68 - - *257 + - *259 responses: '204': description: Response @@ -44260,13 +44378,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *72 - - *257 + - *259 responses: '200': description: Response content: application/json: - schema: *258 + schema: *260 examples: default: value: @@ -44317,7 +44435,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *72 - - *257 + - *259 - *17 - *19 responses: @@ -44396,7 +44514,7 @@ paths: parent: anyOf: - type: 'null' - - *259 + - *261 type: description: The ownership type of the team type: string @@ -44429,7 +44547,7 @@ paths: - type - parent examples: - default: *260 + default: *262 headers: Link: *63 '404': @@ -44459,7 +44577,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *72 - - *257 + - *259 - *17 - *19 responses: @@ -44488,7 +44606,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *259 + items: *261 name: type: - string @@ -44798,7 +44916,7 @@ paths: - nuget - container - *72 - - &726 + - &730 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44834,12 +44952,12 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *262 + default: *264 '403': *27 '401': *23 - '400': &728 + '400': &732 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44861,7 +44979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &263 + - &265 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -44879,7 +44997,7 @@ paths: - docker - nuget - container - - &264 + - &266 name: package_name description: The name of the package. in: path @@ -44892,7 +45010,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *263 examples: default: value: @@ -44944,8 +45062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 responses: '204': @@ -44978,8 +45096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 - name: token description: package token @@ -45012,8 +45130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 - *19 - *17 @@ -45034,7 +45152,7 @@ paths: application/json: schema: type: array - items: &265 + items: &267 title: Package Version description: A version of a software package type: object @@ -45169,10 +45287,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *263 - - *264 + - *265 + - *266 - *72 - - &266 + - &268 name: package_version_id description: Unique identifier of the package version. in: path @@ -45184,7 +45302,7 @@ paths: description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -45220,10 +45338,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *263 - - *264 - - *72 + - *265 - *266 + - *72 + - *268 responses: '204': description: Response @@ -45255,10 +45373,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *263 - - *264 - - *72 + - *265 - *266 + - *72 + - *268 responses: '204': description: Response @@ -45288,7 +45406,7 @@ paths: - *72 - *17 - *19 - - &268 + - &270 name: sort description: The property by which to sort the results. in: query @@ -45299,7 +45417,7 @@ paths: - created_at default: created_at - *57 - - &269 + - &271 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -45311,7 +45429,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &270 + - &272 name: repository description: The name of the repository to use to filter the results. in: query @@ -45320,7 +45438,7 @@ paths: type: string examples: - Hello-World - - &271 + - &273 name: permission description: The permission to use to filter the results. in: query @@ -45329,7 +45447,7 @@ paths: type: string examples: - issues_read - - &272 + - &274 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -45339,7 +45457,7 @@ paths: schema: type: string format: date-time - - &273 + - &275 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -45349,7 +45467,7 @@ paths: schema: type: string format: date-time - - &274 + - &276 name: token_id description: The ID of the token in: query @@ -45668,7 +45786,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -45694,14 +45812,14 @@ paths: - *72 - *17 - *19 - - *268 - - *57 - - *269 - *270 + - *57 - *271 - *272 - *273 - *274 + - *275 + - *276 responses: '500': *50 '422': *15 @@ -45985,7 +46103,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -46027,7 +46145,7 @@ paths: type: integer configurations: type: array - items: &275 + items: &277 title: Organization private registry description: Private registry configuration for an organization type: object @@ -46544,7 +46662,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &276 + org-private-registry-with-selected-visibility: &278 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -46642,9 +46760,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '404': *6 x-github: githubCloudOnly: false @@ -46896,7 +47014,7 @@ paths: application/json: schema: type: array - items: &277 + items: &279 title: Projects v2 Project description: A projects v2 project type: object @@ -46970,7 +47088,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &811 + - &815 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -47055,7 +47173,7 @@ paths: - deleted_at - deleted_by examples: - default: &278 + default: &280 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -47158,7 +47276,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &279 + - &281 name: project_number description: The project's number. in: path @@ -47171,9 +47289,9 @@ paths: description: Response content: application/json: - schema: *277 + schema: *279 examples: - default: *278 + default: *280 headers: Link: *63 '304': *32 @@ -47196,7 +47314,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *72 - - *279 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -47230,7 +47348,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 title: Projects v2 Item description: An item belonging to a project type: object @@ -47244,7 +47362,7 @@ paths: content: oneOf: - *80 - - &435 + - &440 title: Pull Request Simple description: Pull Request Simple type: object @@ -47364,7 +47482,7 @@ paths: milestone: anyOf: - type: 'null' - - *280 + - *282 active_lock_reason: type: - string @@ -47413,7 +47531,7 @@ paths: items: *4 requested_teams: type: array - items: *198 + items: *200 head: type: object properties: @@ -47457,7 +47575,7 @@ paths: _links: type: object properties: - comments: &281 + comments: &283 title: Link description: Hypermedia Link type: object @@ -47466,13 +47584,13 @@ paths: type: string required: - href - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -47483,7 +47601,7 @@ paths: - review_comment - self author_association: *77 - auto_merge: &596 + auto_merge: &600 title: Auto merge description: The status of auto merging a pull request. type: @@ -47509,7 +47627,7 @@ paths: - merge_method - commit_title - commit_message - stack: &597 + stack: &601 title: Pull Request Stack description: The stack information associated with a pull request. @@ -47697,7 +47815,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &283 + content_type: &285 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -47741,7 +47859,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &285 + draft_issue: &287 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47815,7 +47933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *279 + - *281 - *72 - *17 - *42 @@ -47827,7 +47945,7 @@ paths: application/json: schema: type: array - items: &282 + items: &284 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47980,7 +48098,7 @@ paths: - updated_at - project_url examples: - default: &748 + default: &752 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48110,7 +48228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *279 + - *281 - *72 requestBody: required: true @@ -48157,7 +48275,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &749 + items: &753 type: object properties: name: @@ -48194,7 +48312,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &750 + iteration_configuration: &754 type: object description: The configuration for iteration fields. required: @@ -48251,7 +48369,7 @@ paths: value: name: Due date data_type: date - single_select_field: &751 + single_select_field: &755 summary: Create a single select field value: name: Priority @@ -48278,7 +48396,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &752 + iteration_field: &756 summary: Create an iteration field value: name: Sprint @@ -48298,9 +48416,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *282 + schema: *284 examples: - text_field: &753 + text_field: &757 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -48309,7 +48427,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &754 + number_field: &758 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -48318,7 +48436,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &755 + date_field: &759 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -48327,7 +48445,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &756 + single_select_field: &760 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48361,7 +48479,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &757 + iteration_field: &761 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -48406,8 +48524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *279 - - &758 + - *281 + - &762 name: field_id description: The unique identifier of the field. in: path @@ -48420,9 +48538,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: &759 + default: &763 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48478,7 +48596,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *279 + - *281 - *72 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -48511,7 +48629,7 @@ paths: application/json: schema: type: array - items: &286 + items: &288 title: Projects v2 Item description: An item belonging to a project type: object @@ -48528,7 +48646,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *283 + content_type: *285 content: type: - object @@ -48578,7 +48696,7 @@ paths: - updated_at - archived_at examples: - default: &287 + default: &289 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -49276,7 +49394,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *72 - - *279 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -49346,22 +49464,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *32 '403': *27 '401': *23 @@ -49381,9 +49499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *279 + - *281 - *72 - - &288 + - &290 name: item_id description: The unique identifier of the project item. in: path @@ -49409,9 +49527,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -49432,9 +49550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *279 + - *281 - *72 - - *288 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49507,13 +49625,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -49533,9 +49651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *279 + - *281 - *72 - - *288 + - *290 responses: '204': description: Response @@ -49559,7 +49677,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *72 - - *279 + - *281 requestBody: required: true content: @@ -49674,7 +49792,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &739 + schema: &743 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -49778,7 +49896,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &289 + value: &291 value: id: 1 number: 1 @@ -49824,10 +49942,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *32 '403': *27 '401': *23 @@ -49855,9 +49973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *279 + - *281 - *72 - - &760 + - &764 name: view_number description: The number that identifies the project view. in: path @@ -49889,9 +50007,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -49924,7 +50042,7 @@ paths: application/json: schema: type: array - items: &290 + items: &292 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -50002,7 +50120,7 @@ paths: - property_name - value_type examples: - default: &291 + default: &293 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -50062,7 +50180,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *290 + items: *292 minItems: 1 maxItems: 100 required: @@ -50092,9 +50210,9 @@ paths: application/json: schema: type: array - items: *290 + items: *292 examples: - default: *291 + default: *293 '403': *27 '404': *6 x-github: @@ -50116,7 +50234,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *72 - - &292 + - &294 name: custom_property_name description: The custom property name in: path @@ -50128,9 +50246,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: &293 + default: &295 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -50165,7 +50283,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *72 - - *292 + - *294 requestBody: required: true content: @@ -50247,9 +50365,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *293 + default: *295 '403': *27 '404': *6 x-github: @@ -50273,7 +50391,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *72 - - *292 + - *294 responses: '204': *54 '403': *27 @@ -50337,7 +50455,7 @@ paths: - octocat/Hello-World properties: type: array - items: &294 + items: &296 title: Custom Property Value description: Custom property name and associated value type: object @@ -50429,7 +50547,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - repository_names - properties @@ -50621,7 +50739,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -50824,7 +50942,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &343 title: Full Repository description: Full Repository type: object @@ -51302,7 +51420,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &479 + code_of_conduct: &483 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -51332,7 +51450,7 @@ paths: - key - name - html_url - security_and_analysis: *295 + security_and_analysis: *297 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -51427,7 +51545,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &343 + default: &345 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51960,7 +52078,7 @@ paths: - *72 - *17 - *19 - - &621 + - &625 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51979,7 +52097,7 @@ paths: application/json: schema: type: array - items: &322 + items: &324 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -52014,7 +52132,7 @@ paths: source: type: string description: The name of the source - enforcement: &298 + enforcement: &300 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -52027,7 +52145,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &299 + items: &301 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -52099,7 +52217,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &296 + - &298 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -52123,7 +52241,7 @@ paths: match. items: type: string - - &300 + - &302 title: Organization ruleset conditions type: object description: |- @@ -52137,7 +52255,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *296 + - *298 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -52171,7 +52289,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *296 + - *298 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -52193,7 +52311,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *296 + - *298 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -52206,7 +52324,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &297 + items: &299 title: Repository ruleset property targeting definition type: object @@ -52239,7 +52357,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *297 + items: *299 required: - repository_property type: @@ -52247,12 +52365,12 @@ paths: - object rules: type: array - items: &622 + items: &626 title: Repository Rule type: object description: A repository rule. oneOf: - - &301 + - &303 title: creation description: Only allow users with bypass permission to create matching refs. @@ -52264,7 +52382,7 @@ paths: type: string enum: - creation - - &302 + - &304 title: update description: Only allow users with bypass permission to update matching refs. @@ -52285,7 +52403,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &303 + - &305 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -52297,7 +52415,7 @@ paths: type: string enum: - deletion - - &304 + - &306 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -52309,7 +52427,7 @@ paths: type: string enum: - required_linear_history - - &619 + - &623 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -52387,7 +52505,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &305 + - &307 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -52411,7 +52529,7 @@ paths: type: string required: - required_deployment_environments - - &306 + - &308 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -52423,7 +52541,7 @@ paths: type: string enum: - required_signatures - - &307 + - &309 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -52566,7 +52684,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &308 + - &310 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -52614,7 +52732,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &309 + - &311 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -52626,7 +52744,7 @@ paths: type: string enum: - non_fast_forward - - &310 + - &312 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -52663,7 +52781,7 @@ paths: required: - operator - pattern - - &311 + - &313 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -52700,7 +52818,7 @@ paths: required: - operator - pattern - - &312 + - &314 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -52737,7 +52855,7 @@ paths: required: - operator - pattern - - &313 + - &315 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -52774,7 +52892,7 @@ paths: required: - operator - pattern - - &314 + - &316 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -52811,7 +52929,7 @@ paths: required: - operator - pattern - - &319 + - &321 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -52861,7 +52979,7 @@ paths: - repository_id required: - workflows - - &320 + - &322 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -52922,7 +53040,7 @@ paths: - tool required: - code_scanning_tools - - &321 + - &323 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -52948,7 +53066,7 @@ paths: type: boolean description: Copilot automatically reviews each new push to the pull request. - - &620 + - &624 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -52960,7 +53078,7 @@ paths: type: string enum: - license_compliance_scanning - - &315 + - &317 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -52985,7 +53103,7 @@ paths: type: string required: - restricted_file_paths - - &316 + - &318 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -53009,7 +53127,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &317 + - &319 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -53032,7 +53150,7 @@ paths: type: string required: - restricted_file_extensions - - &318 + - &320 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -53130,22 +53248,20 @@ paths: - push - repository default: branch - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *300 + items: *301 + conditions: *302 rules: type: array description: An array of rules within the ruleset. - items: &324 + items: &326 title: Repository Rule type: object description: A repository rule. oneOf: - - *301 - - *302 - *303 - *304 - *305 @@ -53165,6 +53281,8 @@ paths: - *319 - *320 - *321 + - *322 + - *323 required: - name - enforcement @@ -53202,9 +53320,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: &323 + default: &325 value: id: 21 name: super cool ruleset @@ -53260,7 +53378,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *72 - - &623 + - &627 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -53275,7 +53393,7 @@ paths: in: query schema: type: string - - &624 + - &628 name: time_period description: |- The time period to filter by. @@ -53291,14 +53409,14 @@ paths: - week - month default: day - - &625 + - &629 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &626 + - &630 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -53311,7 +53429,7 @@ paths: - bypass - all default: all - - &627 + - &631 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -53334,7 +53452,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &632 title: Rule Suites description: Response type: array @@ -53390,7 +53508,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &629 + default: &633 value: - id: 21 actor_id: 12 @@ -53434,7 +53552,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *72 - - &630 + - &634 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53450,7 +53568,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &635 title: Rule Suite description: Response type: object @@ -53557,7 +53675,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &632 + default: &636 value: id: 21 actor_id: 12 @@ -53630,9 +53748,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 '404': *6 '500': *50 put: @@ -53676,16 +53794,16 @@ paths: - tag - push - repository - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *300 + items: *301 + conditions: *302 rules: description: An array of rules within the ruleset. type: array - items: *324 + items: *326 examples: default: value: @@ -53720,9 +53838,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *323 + default: *325 '404': *6 '422': *15 '500': *50 @@ -53780,7 +53898,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 title: Ruleset version type: object description: The historical version of a ruleset @@ -53804,7 +53922,7 @@ paths: type: string format: date-time examples: - default: &634 + default: &638 value: - version_id: 3 actor: @@ -53857,9 +53975,9 @@ paths: description: Response content: application/json: - schema: &635 + schema: &639 allOf: - - *325 + - *327 - type: object required: - state @@ -53929,7 +54047,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *72 - - &636 + - &640 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -53940,7 +54058,7 @@ paths: enum: - open - resolved - - &637 + - &641 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -53950,7 +54068,7 @@ paths: required: false schema: type: string - - &638 + - &642 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -53961,7 +54079,7 @@ paths: required: false schema: type: string - - &639 + - &643 name: exclude_providers in: query description: |- @@ -53972,7 +54090,7 @@ paths: required: false schema: type: string - - &640 + - &644 name: providers in: query description: |- @@ -53983,7 +54101,7 @@ paths: required: false schema: type: string - - &641 + - &645 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -53992,7 +54110,7 @@ paths: required: false schema: type: string - - &642 + - &646 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -54011,7 +54129,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &643 + - &647 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -54026,7 +54144,7 @@ paths: - *57 - *19 - *17 - - &644 + - &648 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -54036,7 +54154,7 @@ paths: required: false schema: type: string - - &645 + - &649 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -54046,7 +54164,7 @@ paths: required: false schema: type: string - - &646 + - &650 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -54055,7 +54173,7 @@ paths: required: false schema: type: string - - &647 + - &651 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -54064,7 +54182,7 @@ paths: schema: type: boolean default: false - - &648 + - &652 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -54073,7 +54191,7 @@ paths: schema: type: boolean default: false - - &649 + - &653 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -54082,7 +54200,7 @@ paths: schema: type: boolean default: false - - &650 + - &654 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -54093,7 +54211,7 @@ paths: required: false schema: type: boolean - - &651 + - &655 name: included_metadata in: query description: |- @@ -54104,7 +54222,7 @@ paths: required: false schema: type: string - - &652 + - &656 name: owner_email_hash in: query description: |- @@ -54126,27 +54244,27 @@ paths: items: type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &653 + state: &657 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &654 + resolution: &658 type: - string - 'null' @@ -54265,14 +54383,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &655 + - &659 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &657 + - &661 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -54336,7 +54454,7 @@ paths: - blob_url - commit_sha - commit_url - - &658 + - &662 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -54397,7 +54515,7 @@ paths: - page_url - commit_sha - commit_url - - &659 + - &663 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -54419,7 +54537,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &660 + - &664 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -54441,7 +54559,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &661 + - &665 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -54463,7 +54581,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &662 + - &666 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -54478,7 +54596,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &663 + - &667 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -54493,7 +54611,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &664 + - &668 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -54508,7 +54626,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &665 + - &669 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -54530,7 +54648,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &666 + - &670 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -54552,7 +54670,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &667 + - &671 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -54574,7 +54692,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &668 + - &672 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -54596,7 +54714,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &669 + - &673 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -54846,7 +54964,7 @@ paths: subcategory: custom-patterns parameters: - *72 - - &670 + - &674 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -54857,7 +54975,7 @@ paths: enum: - published - unpublished - - &671 + - &675 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -54868,7 +54986,7 @@ paths: enum: - enabled - disabled - - &672 + - &676 name: sort description: The property to sort the results by. in: query @@ -54890,7 +55008,7 @@ paths: application/json: schema: type: array - items: &326 + items: &328 title: Secret Scanning Custom Pattern description: A custom pattern for secret scanning. type: object @@ -54942,7 +55060,7 @@ paths: description: List of regexes that the secret must not match. items: type: string - custom_pattern_version: &327 + custom_pattern_version: &329 type: - string - 'null' @@ -54967,7 +55085,7 @@ paths: - state - push_protection_enabled examples: - default: &673 + default: &677 value: - id: 1 name: Example Custom Pattern @@ -55030,7 +55148,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &674 + items: &678 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -55067,7 +55185,7 @@ paths: items: type: string examples: - default: &675 + default: &679 value: patterns: - name: Example Custom Pattern @@ -55091,9 +55209,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *326 + items: *328 examples: - default: &676 + default: &680 value: created_patterns: - id: 1 @@ -55145,7 +55263,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &677 + items: &681 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -55199,7 +55317,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &678 + items: &682 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -55209,7 +55327,7 @@ paths: pattern_id: type: integer description: The ID of the custom pattern to delete. - custom_pattern_version: *327 + custom_pattern_version: *329 post_delete_action: type: string description: |- @@ -55222,7 +55340,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &679 + default: &683 value: patterns: - pattern_id: 2 @@ -55233,7 +55351,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': &328 + '412': &330 description: Precondition Failed content: application/json: @@ -55268,7 +55386,7 @@ paths: required: true content: application/json: - schema: &680 + schema: &684 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -55307,9 +55425,9 @@ paths: description: Updated list of regexes that the secret must not match. items: type: string - custom_pattern_version: *327 + custom_pattern_version: *329 examples: - default: &681 + default: &685 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -55324,9 +55442,9 @@ paths: description: Pattern updated successfully. content: application/json: - schema: *326 + schema: *328 examples: - default: &682 + default: &686 value: id: 1 name: Example Custom Pattern @@ -55346,7 +55464,7 @@ paths: '400': *14 '403': *27 '404': *6 - '412': *328 + '412': *330 '422': *15 "/orgs/{org}/secret-scanning/pattern-configurations": get: @@ -55379,11 +55497,11 @@ paths: related to push protection. type: object properties: - pattern_config_version: *327 + pattern_config_version: *329 provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &329 + items: &331 type: object properties: token_type: @@ -55452,7 +55570,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *329 + items: *331 examples: default: value: @@ -55509,7 +55627,7 @@ paths: schema: type: object properties: - pattern_config_version: *327 + pattern_config_version: *329 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -55535,7 +55653,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *327 + custom_pattern_version: *329 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -55633,7 +55751,7 @@ paths: application/json: schema: type: array - items: &686 + items: &690 description: A repository security advisory. type: object properties: @@ -55877,7 +55995,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 credits_detailed: type: - array @@ -55888,7 +56006,7 @@ paths: type: object properties: user: *4 - type: *330 + type: *332 state: type: string description: The state of the user's acceptance of the @@ -55914,7 +56032,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *198 + items: *200 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -55984,7 +56102,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &687 + default: &691 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -56371,7 +56489,7 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: default: value: @@ -56726,7 +56844,7 @@ paths: type: integer network_configurations: type: array - items: &331 + items: &333 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -56879,9 +56997,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: &332 + default: &334 value: id: 123456789ABCDEF name: My network configuration @@ -56910,7 +57028,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *72 - - &333 + - &335 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -56922,9 +57040,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 headers: Link: *63 x-github: @@ -56946,7 +57064,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *72 - - *333 + - *335 requestBody: required: true content: @@ -56999,9 +57117,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: - default: *332 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57021,7 +57139,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *72 - - *333 + - *335 responses: '204': description: Response @@ -57143,9 +57261,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 headers: Link: *63 '403': *27 @@ -57243,7 +57361,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -57317,7 +57435,7 @@ paths: parent: anyOf: - type: 'null' - - *259 + - *261 members_count: type: integer examples: @@ -57650,7 +57768,7 @@ paths: - repos_count - organization examples: - default: &335 + default: &337 value: id: 1 node_id: MDQ6VGVhbTE= @@ -57738,9 +57856,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -57831,16 +57949,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '201': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 '422': *15 '403': *27 @@ -57870,7 +57988,7 @@ paths: responses: '204': description: Response - '422': &336 + '422': &338 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -57904,12 +58022,12 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *63 - '422': *336 + '422': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57956,7 +58074,7 @@ paths: application/json: schema: type: array - items: &704 + items: &708 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -58099,7 +58217,7 @@ paths: - type - url examples: - default: &705 + default: &709 value: - login: octocat id: 1 @@ -58158,7 +58276,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &339 title: Team Membership description: Team Membership type: object @@ -58186,7 +58304,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &706 + response-if-user-is-a-team-maintainer: &710 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -58249,9 +58367,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: &707 + response-if-users-membership-with-team-is-now-pending: &711 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -58329,7 +58447,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -58360,14 +58478,14 @@ paths: parameters: - *72 - *73 - - *338 - - *339 + - *340 + - *341 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &708 + schema: &712 title: Team Repository description: A team's access to a repository. type: object @@ -59095,8 +59213,8 @@ paths: parameters: - *72 - *73 - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -59143,8 +59261,8 @@ paths: parameters: - *72 - *73 - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -59179,9 +59297,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - response-if-child-teams-exist: &709 + response-if-child-teams-exist: &713 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -59334,7 +59452,7 @@ paths: resources: type: object properties: - core: &340 + core: &342 title: Rate Limit type: object properties: @@ -59351,21 +59469,21 @@ paths: - remaining - reset - used - graphql: *340 - search: *340 - code_search: *340 - source_import: *340 - integration_manifest: *340 - actions_runner_registration: *340 - scim: *340 - dependency_snapshots: *340 - dependency_sbom: *340 - code_scanning_autofix: *340 - copilot_usage_records: *340 + graphql: *342 + search: *342 + code_search: *342 + source_import: *342 + integration_manifest: *342 + actions_runner_registration: *342 + scim: *342 + dependency_snapshots: *342 + dependency_sbom: *342 + code_scanning_autofix: *342 + copilot_usage_records: *342 required: - core - search - rate: *340 + rate: *342 required: - rate - resources @@ -59479,14 +59597,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: default-response: summary: Default response @@ -59997,7 +60115,7 @@ paths: version: '2026-03-10' '403': *27 '404': *6 - '301': *342 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60015,8 +60133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -60327,10 +60445,10 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 - '307': &344 + default: *345 + '307': &346 description: Temporary Redirect content: application/json: @@ -60359,8 +60477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -60382,7 +60500,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *344 + '307': *346 '404': *6 '409': *49 x-github: @@ -60406,11 +60524,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - - &376 + - &378 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -60433,7 +60551,7 @@ paths: type: integer artifacts: type: array - items: &345 + items: &347 title: Artifact description: An artifact type: object @@ -60528,7 +60646,7 @@ paths: - expires_at - updated_at examples: - default: &377 + default: &379 value: total_count: 2 artifacts: @@ -60589,9 +60707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *338 - - *339 - - &346 + - *340 + - *341 + - &348 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60603,7 +60721,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *347 examples: default: value: @@ -60641,9 +60759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *338 - - *339 - - *346 + - *340 + - *341 + - *348 responses: '204': description: Response @@ -60667,9 +60785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *338 - - *339 - - *346 + - *340 + - *341 + - *348 - name: archive_format in: path required: true @@ -60679,7 +60797,7 @@ paths: '302': description: Response headers: - Location: &496 + Location: &500 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string @@ -60704,14 +60822,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &347 + schema: &349 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -60745,13 +60863,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *347 + schema: *349 examples: selected_actions: *37 responses: @@ -60780,14 +60898,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &348 + schema: &350 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -60821,13 +60939,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *348 + schema: *350 examples: selected_actions: *39 responses: @@ -60858,14 +60976,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: default: value: @@ -60891,11 +61009,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - - &350 + - &352 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -60929,7 +61047,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 title: Repository actions caches description: Repository actions caches type: object @@ -60979,7 +61097,7 @@ paths: - total_count - actions_caches examples: - default: &352 + default: &354 value: total_count: 1 actions_caches: @@ -61011,23 +61129,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *338 - - *339 + - *340 + - *341 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *350 + - *352 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *352 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61047,8 +61165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *338 - - *339 + - *340 + - *341 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61077,8 +61195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *43 responses: @@ -61161,8 +61279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -61318,9 +61436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *338 - - *339 - - &353 + - *340 + - *341 + - &355 name: job_id description: The unique identifier of the job. in: path @@ -61333,7 +61451,7 @@ paths: description: Response content: application/json: - schema: &380 + schema: &382 title: Job description: Information of a job execution in a workflow run type: object @@ -61682,9 +61800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *338 - - *339 - - *353 + - *340 + - *341 + - *355 responses: '302': description: Response @@ -61712,9 +61830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *338 - - *339 - - *353 + - *340 + - *341 + - *355 requestBody: required: false content: @@ -61765,8 +61883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Status response @@ -61825,8 +61943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -61894,8 +62012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -61913,7 +62031,7 @@ paths: type: integer secrets: type: array - items: &382 + items: &384 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -61934,7 +62052,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &385 value: total_count: 2 secrets: @@ -61967,8 +62085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -61986,7 +62104,7 @@ paths: type: integer variables: type: array - items: &384 + items: &386 title: Actions Variable type: object properties: @@ -62020,7 +62138,7 @@ paths: - created_at - updated_at examples: - default: &385 + default: &387 value: total_count: 2 variables: @@ -62053,8 +62171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -62063,11 +62181,11 @@ paths: schema: type: object properties: - enabled: &355 + enabled: &357 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *354 + selected_actions_url: *356 sha_pinning_required: *139 required: - enabled @@ -62096,8 +62214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -62108,7 +62226,7 @@ paths: schema: type: object properties: - enabled: *355 + enabled: *357 allowed_actions: *138 sha_pinning_required: *139 required: @@ -62140,14 +62258,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &356 + schema: &358 type: object properties: access_level: @@ -62164,7 +62282,7 @@ paths: required: - access_level examples: - default: &357 + default: &359 value: access_level: organization x-github: @@ -62188,15 +62306,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 responses: '204': description: Response @@ -62220,14 +62338,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *358 + schema: *360 examples: default: value: @@ -62251,8 +62369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Empty response for successful settings update @@ -62262,7 +62380,7 @@ paths: required: true content: application/json: - schema: *359 + schema: *361 examples: default: summary: Set retention days @@ -62286,8 +62404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -62295,7 +62413,7 @@ paths: application/json: schema: *140 examples: - default: *360 + default: *362 '404': *6 x-github: enabledForGitHubApps: true @@ -62314,8 +62432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -62349,14 +62467,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *361 + schema: *363 examples: default: *141 '403': *27 @@ -62378,13 +62496,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *362 + schema: *364 examples: default: *141 responses: @@ -62410,8 +62528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -62438,8 +62556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -62471,14 +62589,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: default: *148 x-github: @@ -62501,8 +62619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Success response @@ -62513,7 +62631,7 @@ paths: required: true content: application/json: - schema: *364 + schema: *366 examples: default: *148 x-github: @@ -62542,8 +62660,8 @@ paths: in: query schema: type: string - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -62588,8 +62706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: version description: The runner version to look up. in: path @@ -62656,8 +62774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -62665,9 +62783,9 @@ paths: application/json: schema: type: array - items: *365 + items: *367 examples: - default: *366 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62689,8 +62807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -62733,7 +62851,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *367 + '201': *369 '404': *6 '422': *7 '409': *49 @@ -62764,8 +62882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -62773,7 +62891,7 @@ paths: application/json: schema: *157 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62801,8 +62919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -62810,7 +62928,7 @@ paths: application/json: schema: *157 examples: - default: *369 + default: *371 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62832,8 +62950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: '200': @@ -62842,7 +62960,7 @@ paths: application/json: schema: *155 examples: - default: *370 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62863,8 +62981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: '204': @@ -62891,8 +63009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: '200': *159 @@ -62917,8 +63035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 requestBody: required: true @@ -62967,8 +63085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 requestBody: required: true @@ -63018,11 +63136,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 responses: - '200': *371 + '200': *373 '404': *6 x-github: githubCloudOnly: false @@ -63049,10 +63167,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *154 - - *372 + - *374 responses: '200': *159 '404': *6 @@ -63080,9 +63198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *338 - - *339 - - &388 + - *340 + - *341 + - &390 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -63090,7 +63208,7 @@ paths: required: false schema: type: string - - &389 + - &391 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63098,7 +63216,7 @@ paths: required: false schema: type: string - - &390 + - &392 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63107,7 +63225,7 @@ paths: required: false schema: type: string - - &391 + - &393 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -63134,7 +63252,7 @@ paths: - pending - *17 - *19 - - &392 + - &394 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -63143,7 +63261,7 @@ paths: schema: type: string format: date-time - - &373 + - &375 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63152,14 +63270,14 @@ paths: schema: type: boolean default: false - - &393 + - &395 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &394 + - &396 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63182,7 +63300,7 @@ paths: type: integer workflow_runs: type: array - items: &374 + items: &376 title: Workflow Run description: An invocation of a workflow type: object @@ -63362,7 +63480,7 @@ paths: head_commit: anyOf: - type: 'null' - - &418 + - &420 title: Simple Commit description: A commit. type: object @@ -63477,7 +63595,7 @@ paths: - workflow_url - pull_requests examples: - default: &395 + default: &397 value: total_count: 1 workflow_runs: @@ -63713,24 +63831,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *338 - - *339 - - &375 + - *340 + - *341 + - &377 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *373 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: &378 + default: &380 value: id: 30433642 name: Build @@ -63971,9 +64089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '204': description: Response @@ -63996,9 +64114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '200': description: Response @@ -64126,9 +64244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '201': description: Response @@ -64161,12 +64279,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 - *17 - *19 - - *376 + - *378 - *57 responses: '200': @@ -64183,9 +64301,9 @@ paths: type: integer artifacts: type: array - items: *345 + items: *347 examples: - default: *377 + default: *379 headers: Link: *63 x-github: @@ -64209,25 +64327,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *338 - - *339 - - *375 - - &379 + - *340 + - *341 + - *377 + - &381 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *373 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *378 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64250,10 +64368,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *338 - - *339 - - *375 - - *379 + - *340 + - *341 + - *377 + - *381 - *17 - *19 responses: @@ -64271,9 +64389,9 @@ paths: type: integer jobs: type: array - items: *380 + items: *382 examples: - default: &381 + default: &383 value: total_count: 1 jobs: @@ -64386,10 +64504,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *338 - - *339 - - *375 - - *379 + - *340 + - *341 + - *377 + - *381 responses: '302': description: Response @@ -64417,9 +64535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '202': description: Response @@ -64465,9 +64583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 - *17 - *42 - *43 @@ -64644,9 +64762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: true content: @@ -64713,9 +64831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '202': description: Response @@ -64748,9 +64866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -64780,9 +64898,9 @@ paths: type: integer jobs: type: array - items: *380 + items: *382 examples: - default: *381 + default: *383 headers: Link: *63 x-github: @@ -64807,9 +64925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '302': description: Response @@ -64836,9 +64954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '204': description: Response @@ -64865,9 +64983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '200': description: Response @@ -64936,7 +65054,7 @@ paths: items: type: object properties: - type: &503 + type: &507 type: string description: The type of reviewer. enum: @@ -64947,7 +65065,7 @@ paths: reviewer: anyOf: - *4 - - *198 + - *200 required: - environment - wait_timer @@ -65022,9 +65140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: true content: @@ -65074,7 +65192,7 @@ paths: application/json: schema: type: array - items: &498 + items: &502 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65186,7 +65304,7 @@ paths: - created_at - updated_at examples: - default: &499 + default: &503 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65242,9 +65360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: false content: @@ -65289,9 +65407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 requestBody: required: false content: @@ -65345,9 +65463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *338 - - *339 - - *375 + - *340 + - *341 + - *377 responses: '200': description: Response @@ -65484,8 +65602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -65503,9 +65621,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -65530,8 +65648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -65561,17 +65679,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: - default: &396 + default: &398 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65597,8 +65715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -65656,8 +65774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -65683,8 +65801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -65702,9 +65820,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -65727,8 +65845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -65780,17 +65898,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &397 + default: &399 value: name: USERNAME value: octocat @@ -65816,8 +65934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 requestBody: required: true @@ -65860,8 +65978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '204': @@ -65887,8 +66005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -65906,7 +66024,7 @@ paths: type: integer workflows: type: array - items: &386 + items: &388 title: Workflow description: A GitHub Actions workflow type: object @@ -66024,9 +66142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *338 - - *339 - - &387 + - *340 + - *341 + - &389 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66041,7 +66159,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: default: value: @@ -66074,9 +66192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '204': description: Response @@ -66101,9 +66219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -66201,9 +66319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '204': description: Response @@ -66230,19 +66348,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *338 - - *339 - - *387 - - *388 + - *340 + - *341 - *389 - *390 - *391 - - *17 - - *19 - *392 - - *373 - *393 + - *17 + - *19 - *394 + - *375 + - *395 + - *396 responses: '200': description: Response @@ -66258,9 +66376,9 @@ paths: type: integer workflow_runs: type: array - items: *374 + items: *376 examples: - default: *395 + default: *397 headers: Link: *63 x-github: @@ -66292,9 +66410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *338 - - *339 - - *387 + - *340 + - *341 + - *389 responses: '200': description: Response @@ -66355,8 +66473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *338 - - *339 + - *340 + - *341 - *57 - *17 - *42 @@ -66529,8 +66647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -66548,9 +66666,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -66574,8 +66692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -66593,9 +66711,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -66620,8 +66738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -66639,9 +66757,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -66666,8 +66784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -66697,17 +66815,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: - default: *396 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66729,8 +66847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -66788,8 +66906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -66815,8 +66933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#list-repository-variables parameters: - - *338 - - *339 + - *340 + - *341 - *170 - *19 responses: @@ -66834,9 +66952,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -66859,8 +66977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#create-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -66912,17 +67030,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#get-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *397 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66943,8 +67061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#update-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 requestBody: required: true @@ -66987,8 +67105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 responses: '204': @@ -67010,8 +67128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -67048,8 +67166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *338 - - *339 + - *340 + - *341 - name: assignee in: path required: true @@ -67085,8 +67203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -67196,8 +67314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *42 - *43 @@ -67254,7 +67372,7 @@ paths: initiator: type: string examples: - default: *398 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67288,8 +67406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -67297,7 +67415,7 @@ paths: application/json: schema: type: array - items: &399 + items: &401 title: Autolink reference description: An autolink reference. type: object @@ -67356,8 +67474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -67396,9 +67514,9 @@ paths: description: response content: application/json: - schema: *399 + schema: *401 examples: - default: &400 + default: &402 value: id: 1 key_prefix: TICKET- @@ -67429,9 +67547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *338 - - *339 - - &401 + - *340 + - *341 + - &403 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67443,9 +67561,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 '404': *6 x-github: githubCloudOnly: false @@ -67465,9 +67583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *338 - - *339 - - *401 + - *340 + - *341 + - *403 responses: '204': description: Response @@ -67491,8 +67609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response if Dependabot is enabled @@ -67542,8 +67660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -67564,8 +67682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -67585,8 +67703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *338 - - *339 + - *340 + - *341 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67624,7 +67742,7 @@ paths: - url protected: type: boolean - protection: &403 + protection: &405 title: Branch Protection description: Branch Protection type: object @@ -67667,7 +67785,7 @@ paths: required: - contexts - checks - enforce_admins: &406 + enforce_admins: &408 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67684,7 +67802,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &408 + required_pull_request_reviews: &410 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67706,7 +67824,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *198 + items: *200 apps: description: The list of apps with review dismissal access. @@ -67738,7 +67856,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *198 + items: *200 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67768,7 +67886,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &405 + restrictions: &407 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67831,7 +67949,7 @@ paths: type: string teams: type: array - items: *198 + items: *200 apps: type: array items: @@ -68061,9 +68179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *338 - - *339 - - &404 + - *340 + - *341 + - &406 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -68077,14 +68195,14 @@ paths: description: Response content: application/json: - schema: &414 + schema: &416 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &471 + commit: &475 title: Commit description: Commit type: object @@ -68123,7 +68241,7 @@ paths: author: anyOf: - type: 'null' - - &402 + - &404 title: Git User description: Metaproperties for Git author/committer information. @@ -68145,7 +68263,7 @@ paths: committer: anyOf: - type: 'null' - - *402 + - *404 message: type: string examples: @@ -68169,7 +68287,7 @@ paths: required: - sha - url - verification: &521 + verification: &525 title: Verification type: object properties: @@ -68249,7 +68367,7 @@ paths: type: integer files: type: array - items: &481 + items: &485 title: Diff Entry description: Diff Entry type: object @@ -68345,7 +68463,7 @@ paths: - self protected: type: boolean - protection: *403 + protection: *405 protection_url: type: string format: uri @@ -68454,7 +68572,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *342 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -68476,15 +68594,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: default: value: @@ -68678,9 +68796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -68940,7 +69058,7 @@ paths: url: type: string format: uri - required_status_checks: &411 + required_status_checks: &413 title: Status Check Policy description: Status Check Policy type: object @@ -69021,7 +69139,7 @@ paths: items: *4 teams: type: array - items: *198 + items: *200 apps: type: array items: *5 @@ -69039,7 +69157,7 @@ paths: items: *4 teams: type: array - items: *198 + items: *200 apps: type: array items: *5 @@ -69099,7 +69217,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *405 + restrictions: *407 required_conversation_resolution: type: object properties: @@ -69211,9 +69329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -69238,17 +69356,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: &407 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69270,17 +69388,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *407 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69299,9 +69417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -69326,17 +69444,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: &409 + default: &411 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69432,9 +69550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69532,9 +69650,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *410 examples: - default: *409 + default: *411 '422': *15 x-github: githubCloudOnly: false @@ -69555,9 +69673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -69584,17 +69702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: &410 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69617,17 +69735,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: - default: *410 + default: *412 '404': *6 x-github: githubCloudOnly: false @@ -69647,9 +69765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -69674,17 +69792,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: &412 + default: &414 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69710,9 +69828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69764,9 +69882,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *413 examples: - default: *412 + default: *414 '404': *6 '422': *15 x-github: @@ -69788,9 +69906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -69814,9 +69932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -69850,9 +69968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69919,9 +70037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -69985,9 +70103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: content: application/json: @@ -70053,15 +70171,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: default: value: @@ -70152,9 +70270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '204': description: Response @@ -70177,9 +70295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -70189,7 +70307,7 @@ paths: type: array items: *5 examples: - default: &413 + default: &415 value: - id: 1 slug: octoapp @@ -70246,9 +70364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70282,7 +70400,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -70303,9 +70421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70339,7 +70457,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -70360,9 +70478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70396,7 +70514,7 @@ paths: type: array items: *5 examples: - default: *413 + default: *415 '422': *15 x-github: githubCloudOnly: false @@ -70418,9 +70536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -70428,9 +70546,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -70450,9 +70568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -70488,9 +70606,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -70511,9 +70629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: false content: @@ -70549,9 +70667,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -70572,9 +70690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: content: application/json: @@ -70609,9 +70727,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 '422': *15 x-github: githubCloudOnly: false @@ -70633,9 +70751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 responses: '200': description: Response @@ -70669,9 +70787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70729,9 +70847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70789,9 +70907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70851,9 +70969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 requestBody: required: true content: @@ -70875,7 +70993,7 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: default: value: @@ -70991,8 +71109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -71271,7 +71389,7 @@ paths: description: Response content: application/json: - schema: &415 + schema: &417 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71407,7 +71525,7 @@ paths: check. type: array items: *83 - deployment: &772 + deployment: &776 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71694,9 +71812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *338 - - *339 - - &416 + - *340 + - *341 + - &418 name: check_run_id description: The unique identifier of the check run. in: path @@ -71709,9 +71827,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: &417 + default: &419 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71811,9 +71929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *338 - - *339 - - *416 + - *340 + - *341 + - *418 requestBody: required: true content: @@ -72053,9 +72171,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *417 examples: - default: *417 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72075,9 +72193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *338 - - *339 - - *416 + - *340 + - *341 + - *418 - *17 - *19 responses: @@ -72187,9 +72305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *338 - - *339 - - *416 + - *340 + - *341 + - *418 responses: '201': description: Response @@ -72233,8 +72351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -72256,7 +72374,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &419 + schema: &421 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72354,7 +72472,7 @@ paths: - string - 'null' format: date-time - head_commit: *418 + head_commit: *420 latest_check_runs_count: type: integer check_runs_url: @@ -72382,7 +72500,7 @@ paths: - check_runs_url - pull_requests examples: - default: &420 + default: &422 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72673,9 +72791,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72694,8 +72812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -73004,9 +73122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *338 - - *339 - - &421 + - *340 + - *341 + - &423 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73018,9 +73136,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: - default: *420 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73043,17 +73161,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *338 - - *339 - - *421 - - &476 + - *340 + - *341 + - *423 + - &480 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &477 + - &481 name: status description: Returns check runs with the specified `status`. in: query @@ -73092,9 +73210,9 @@ paths: type: integer check_runs: type: array - items: *415 + items: *417 examples: - default: &478 + default: &482 value: total_count: 1 check_runs: @@ -73196,9 +73314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *338 - - *339 - - *421 + - *340 + - *341 + - *423 responses: '201': description: Response @@ -73227,8 +73345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *57 - *42 @@ -73250,7 +73368,7 @@ paths: application/json: schema: type: array - items: &422 + items: &424 description: Code quality finding type: object properties: @@ -73380,7 +73498,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &423 + '403': &425 description: Response if the user is not authorized to access Code quality for this repository. content: @@ -73407,8 +73525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *338 - - *339 + - *340 + - *341 - name: finding_number in: path description: The number that identifies a finding. @@ -73420,7 +73538,7 @@ paths: description: Response content: application/json: - schema: *422 + schema: *424 examples: default: value: @@ -73449,7 +73567,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *423 + '403': *425 '404': *6 '503': *112 x-github: @@ -73471,8 +73589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -73554,7 +73672,7 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *423 + '403': *425 '404': *6 '503': *112 x-github: @@ -73575,8 +73693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -73696,6 +73814,122 @@ paths: enabledForGitHubApps: true category: code-quality subcategory: code-quality + "/repos/{owner}/{repo}/code-scanning/ai-scan": + get: + summary: Get AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository + parameters: + - *340 + - *341 + responses: + '200': + description: Response + content: + application/json: + schema: &426 + description: AI Scan enablement for a repository. + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the repository. + type: string + enum: + - enabled + - disabled + required: + - pr_scan + examples: + default: &427 + value: + pr_scan: enabled + '403': &439 + description: Response if GitHub Advanced Security is not enabled for this + repository + content: + application/json: + schema: *3 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning + patch: + summary: Update AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository + parameters: + - *340 + - *341 + requestBody: + required: true + content: + application/json: + schema: + description: AI Scan enablement update for a repository. + type: object + properties: + pr_scan: + description: Whether to enable or disable AI Scan for the repository. + type: string + enum: + - enabled + - disabled + minProperties: 1 + additionalProperties: false + examples: + enabled: + summary: Enable AI Scan + value: + pr_scan: enabled + disabled: + summary: Disable AI Scan + value: + pr_scan: disabled + responses: + '200': + description: Response + content: + application/json: + schema: *426 + examples: + default: *427 + '403': &443 + description: Response if the repository is archived or if GitHub Advanced + Security is not enabled for this repository + content: + application/json: + schema: *3 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning "/repos/{owner}/{repo}/code-scanning/alerts": get: summary: List code scanning alerts for a repository @@ -73714,21 +73948,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *338 - - *339 - - *424 - - *425 + - *340 + - *341 + - *428 + - *429 - *19 - *17 - - &443 + - &447 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *426 - - &444 + schema: *430 + - &448 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73753,13 +73987,13 @@ paths: be returned. in: query required: false - schema: *427 + schema: *431 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *428 + schema: *432 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -73778,24 +74012,24 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 - instances_url: *429 - state: *187 - fixed_at: *183 + number: *180 + created_at: *181 + updated_at: *182 + url: *183 + html_url: *184 + instances_url: *433 + state: *189 + fixed_at: *185 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *184 - dismissed_reason: *430 - dismissed_comment: *431 - rule: *432 - tool: *433 - most_recent_instance: *434 + dismissed_at: *186 + dismissed_reason: *434 + dismissed_comment: *435 + rule: *436 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: anyOf: - type: 'null' @@ -73918,12 +74152,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *32 - '403': &436 - description: Response if GitHub Advanced Security is not enabled for this - repository - content: - application/json: - schema: *3 + '403': *439 '404': *6 '503': *112 x-github: @@ -73945,9 +74174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *338 - - *339 - - &437 + - *340 + - *341 + - &441 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73955,30 +74184,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *178 + schema: *180 responses: '200': description: Response content: application/json: - schema: &438 + schema: &442 type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 - instances_url: *429 - state: *187 - fixed_at: *183 + number: *180 + created_at: *181 + updated_at: *182 + url: *183 + html_url: *184 + instances_url: *433 + state: *189 + fixed_at: *185 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *184 - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_at: *186 + dismissed_reason: *434 + dismissed_comment: *435 rule: type: object properties: @@ -74040,8 +74269,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *433 - most_recent_instance: *434 + tool: *437 + most_recent_instance: *438 dismissal_approved_by: anyOf: - type: 'null' @@ -74052,7 +74281,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *435 + items: *440 required: - number - created_at @@ -74141,7 +74370,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *32 - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -74161,9 +74390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 requestBody: required: true content: @@ -74178,8 +74407,8 @@ paths: enum: - open - dismissed - dismissed_reason: *430 - dismissed_comment: *431 + dismissed_reason: *434 + dismissed_comment: *435 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -74207,7 +74436,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: default: value: @@ -74283,12 +74512,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &442 - description: Response if the repository is archived or if GitHub Advanced - Security is not enabled for this repository - content: - application/json: - schema: *3 + '403': *443 '404': *6 '503': *112 x-github: @@ -74310,15 +74534,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 responses: '200': description: Response content: application/json: - schema: &439 + schema: &444 type: object properties: status: @@ -74345,13 +74569,13 @@ paths: - description - started_at examples: - default: &440 + default: &445 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &441 + '400': &446 description: Bad Request content: application/json: @@ -74362,7 +74586,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *436 + '403': *439 '404': *6 '500': *50 x-github: @@ -74387,29 +74611,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 responses: '200': description: OK content: application/json: - schema: *439 + schema: *444 examples: - default: *440 + default: *445 '202': description: Accepted content: application/json: - schema: *439 + schema: *444 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *441 + '400': *446 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74441,9 +74665,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 requestBody: required: false content: @@ -74489,8 +74713,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *441 - '403': *442 + '400': *446 + '403': *443 '404': *6 '422': description: Unprocessable Entity @@ -74514,13 +74738,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 - *19 - *17 - - *443 - - *444 + - *447 + - *448 responses: '200': description: Response @@ -74531,10 +74755,10 @@ paths: items: type: object properties: - ref: *426 - analysis_key: *445 - environment: *446 - category: *447 + ref: *430 + analysis_key: *449 + environment: *450 + category: *451 state: type: - string @@ -74551,7 +74775,7 @@ paths: properties: text: type: string - location: *448 + location: *452 html_url: type: string classifications: @@ -74559,7 +74783,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *449 + items: *453 examples: default: value: @@ -74596,7 +74820,7 @@ paths: end_column: 50 classifications: - source - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -74630,25 +74854,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *338 - - *339 - - *424 - - *425 + - *340 + - *341 + - *428 + - *429 - *19 - *17 - - *444 + - *448 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *426 + schema: *430 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &450 + schema: &454 type: string description: An identifier for the upload. examples: @@ -74670,23 +74894,23 @@ paths: application/json: schema: type: array - items: &451 + items: &455 type: object properties: - ref: *426 - commit_sha: &459 + ref: *430 + commit_sha: &463 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *445 + analysis_key: *449 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *447 + category: *451 error: type: string examples: @@ -74711,8 +74935,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *450 - tool: *433 + sarif_id: *454 + tool: *437 deletable: type: boolean warning: @@ -74774,7 +74998,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -74810,8 +75034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74824,7 +75048,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *455 examples: response: summary: application/json response @@ -74878,7 +75102,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *436 + '403': *439 '404': *6 '422': description: Response if analysis could not be processed @@ -74965,8 +75189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75022,7 +75246,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *442 + '403': *443 '404': *6 '503': *112 x-github: @@ -75044,8 +75268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -75053,7 +75277,7 @@ paths: application/json: schema: type: array - items: &452 + items: &456 title: CodeQL Database description: A CodeQL database. type: object @@ -75165,7 +75389,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -75194,8 +75418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -75207,7 +75431,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *456 examples: default: value: @@ -75239,9 +75463,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &485 + '302': &489 description: Found - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -75263,8 +75487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *338 - - *339 + - *340 + - *341 - name: language in: path description: The language of the CodeQL database. @@ -75274,7 +75498,7 @@ paths: responses: '204': description: Response - '403': *442 + '403': *443 '404': *6 '503': *112 x-github: @@ -75302,8 +75526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -75312,7 +75536,7 @@ paths: type: object additionalProperties: false properties: - language: &453 + language: &457 type: string description: The language targeted by the CodeQL query enum: @@ -75392,7 +75616,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &457 + schema: &461 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75402,7 +75626,7 @@ paths: description: The ID of the variant analysis. controller_repo: *62 actor: *4 - query_language: *453 + query_language: *457 query_pack_url: type: string description: The download url for the query pack. @@ -75450,7 +75674,7 @@ paths: items: type: object properties: - repository: &454 + repository: &458 title: Repository Identifier description: Repository Identifier type: object @@ -75492,7 +75716,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &458 + analysis_status: &462 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75524,7 +75748,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &455 + access_mismatch_repos: &459 type: object properties: repository_count: @@ -75539,7 +75763,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *454 + items: *458 required: - repository_count - repositories @@ -75562,8 +75786,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *455 - over_limit_repos: *455 + no_codeql_db_repos: *459 + over_limit_repos: *459 required: - access_mismatch_repos - not_found_repos @@ -75579,7 +75803,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &456 + value: &460 summary: Default response value: id: 1 @@ -75725,10 +75949,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *456 + value: *460 repository_lists: summary: Response for a successful variant analysis submission - value: *456 + value: *460 '404': *6 '422': description: Unable to process variant analysis submission @@ -75756,8 +75980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *338 - - *339 + - *340 + - *341 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75769,9 +75993,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *461 examples: - default: *456 + default: *460 '404': *6 '503': *112 x-github: @@ -75794,7 +76018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *338 + - *340 - name: repo in: path description: The name of the controller repository. @@ -75829,7 +76053,7 @@ paths: type: object properties: repository: *62 - analysis_status: *458 + analysis_status: *462 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75954,8 +76178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -76065,7 +76289,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *436 + '403': *439 '404': *6 '503': *112 x-github: @@ -76086,8 +76310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -76181,7 +76405,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *442 + '403': *443 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -76252,8 +76476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -76261,7 +76485,7 @@ paths: schema: type: object properties: - commit_sha: *459 + commit_sha: *463 ref: type: string description: |- @@ -76321,7 +76545,7 @@ paths: schema: type: object properties: - id: *450 + id: *454 url: type: string description: The REST API URL for checking the status of the upload. @@ -76335,7 +76559,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *442 + '403': *443 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -76358,8 +76582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *338 - - *339 + - *340 + - *341 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -76407,7 +76631,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *436 + '403': *439 '404': description: Not Found if the sarif id does not match any upload '503': *112 @@ -76432,8 +76656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -76514,8 +76738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -76643,8 +76867,8 @@ paths: parameters: - *17 - *19 - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -76660,7 +76884,7 @@ paths: type: integer codespaces: type: array - items: *249 + items: *251 examples: default: value: @@ -76958,8 +77182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -77023,17 +77247,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '400': *14 '401': *23 '403': *27 @@ -77062,8 +77286,8 @@ paths: parameters: - *17 - *19 - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -77127,8 +77351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -77165,9 +77389,9 @@ paths: type: integer machines: type: array - items: *461 + items: *465 examples: - default: &715 + default: &719 value: total_count: 2 machines: @@ -77207,8 +77431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -77295,8 +77519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -77365,8 +77589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -77384,7 +77608,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &469 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -77405,7 +77629,7 @@ paths: - created_at - updated_at examples: - default: *462 + default: *466 headers: Link: *63 x-github: @@ -77428,16 +77652,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *463 + schema: *467 examples: - default: *464 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77457,17 +77681,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *465 + schema: *469 examples: - default: *466 + default: *470 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77487,8 +77711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -77541,8 +77765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -77571,8 +77795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *338 - - *339 + - *340 + - *341 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77610,7 +77834,7 @@ paths: application/json: schema: type: array - items: &467 + items: &471 title: Collaborator description: Collaborator type: object @@ -77803,8 +78027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *338 - - *339 + - *340 + - *341 - *68 responses: '204': @@ -77851,8 +78075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *338 - - *339 + - *340 + - *341 - *68 requestBody: required: false @@ -77879,7 +78103,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &535 + schema: &539 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -78107,8 +78331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *338 - - *339 + - *340 + - *341 - *68 responses: '204': @@ -78140,8 +78364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *338 - - *339 + - *340 + - *341 - *68 responses: '200': @@ -78162,7 +78386,7 @@ paths: user: anyOf: - type: 'null' - - *467 + - *471 required: - permission - role_name @@ -78216,8 +78440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -78227,7 +78451,7 @@ paths: application/json: schema: type: array - items: &468 + items: &472 title: Commit Comment description: Commit Comment type: object @@ -78285,7 +78509,7 @@ paths: - created_at - updated_at examples: - default: &473 + default: &477 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78344,17 +78568,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': description: Response content: application/json: - schema: *468 + schema: *472 examples: - default: &474 + default: &478 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78411,8 +78635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -78435,7 +78659,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *472 examples: default: value: @@ -78486,8 +78710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -78509,8 +78733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78537,7 +78761,7 @@ paths: application/json: schema: type: array - items: &469 + items: &473 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -78581,7 +78805,7 @@ paths: - content - created_at examples: - default: &538 + default: &542 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -78626,8 +78850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -78660,9 +78884,9 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: &470 + default: &474 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -78691,9 +78915,9 @@ paths: description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -78715,10 +78939,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *338 - - *339 + - *340 + - *341 - *94 - - &539 + - &543 name: reaction_id description: The unique identifier of the reaction. in: path @@ -78773,8 +78997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *338 - - *339 + - *340 + - *341 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78830,9 +79054,9 @@ paths: application/json: schema: type: array - items: *471 + items: *475 examples: - default: &604 + default: &608 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78926,9 +79150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *338 - - *339 - - &472 + - *340 + - *341 + - &476 name: commit_sha description: The SHA of the commit. in: path @@ -79000,9 +79224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 - *17 - *19 responses: @@ -79012,9 +79236,9 @@ paths: application/json: schema: type: array - items: *468 + items: *472 examples: - default: *473 + default: *477 headers: Link: *63 x-github: @@ -79044,9 +79268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 requestBody: required: true content: @@ -79081,9 +79305,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *472 examples: - default: *474 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79111,9 +79335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 - *17 - *19 responses: @@ -79123,9 +79347,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: &595 + default: &599 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79662,11 +79886,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *338 - - *339 + - *340 + - *341 - *19 - *17 - - &475 + - &479 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -79681,9 +79905,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *475 examples: - default: &583 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79771,7 +79995,7 @@ paths: schema: type: string examples: - default: &482 + default: &486 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -79784,7 +80008,7 @@ paths: schema: type: string examples: - default: &483 + default: &487 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -79837,11 +80061,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *338 - - *339 - - *475 - - *476 - - *477 + - *340 + - *341 + - *479 + - *480 + - *481 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79875,9 +80099,9 @@ paths: type: integer check_runs: type: array - items: *415 + items: *417 examples: - default: *478 + default: *482 headers: Link: *63 x-github: @@ -79902,9 +80126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *338 - - *339 - - *475 + - *340 + - *341 + - *479 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79912,7 +80136,7 @@ paths: schema: type: integer example: 1 - - *476 + - *480 - *17 - *19 responses: @@ -79930,7 +80154,7 @@ paths: type: integer check_suites: type: array - items: *419 + items: *421 examples: default: value: @@ -80130,9 +80354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *338 - - *339 - - *475 + - *340 + - *341 + - *479 - *17 - *19 responses: @@ -80334,9 +80558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *338 - - *339 - - *475 + - *340 + - *341 + - *479 - *17 - *19 responses: @@ -80346,7 +80570,7 @@ paths: application/json: schema: type: array - items: &693 + items: &697 title: Status description: The status of a commit. type: object @@ -80427,7 +80651,7 @@ paths: site_admin: false headers: Link: *63 - '301': *342 + '301': *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80455,8 +80679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -80489,11 +80713,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *479 + - *483 code_of_conduct_file: anyOf: - type: 'null' - - &480 + - &484 title: Community Health File type: object properties: @@ -80513,19 +80737,19 @@ paths: contributing: anyOf: - type: 'null' - - *480 + - *484 readme: anyOf: - type: 'null' - - *480 + - *484 issue_template: anyOf: - type: 'null' - - *480 + - *484 pull_request_template: anyOf: - type: 'null' - - *480 + - *484 required: - code_of_conduct - code_of_conduct_file @@ -80654,8 +80878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *338 - - *339 + - *340 + - *341 - *19 - *17 - name: basehead @@ -80703,8 +80927,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *471 - merge_base_commit: *471 + base_commit: *475 + merge_base_commit: *475 status: type: string enum: @@ -80728,10 +80952,10 @@ paths: - 6 commits: type: array - items: *471 + items: *475 files: type: array - items: *481 + items: *485 required: - url - html_url @@ -80977,12 +81201,12 @@ paths: schema: type: string examples: - default: *482 + default: *486 application/vnd.github.patch: schema: type: string examples: - default: *483 + default: *487 '404': *6 '500': *50 '503': *112 @@ -81027,8 +81251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *338 - - *339 + - *340 + - *341 - name: path description: path parameter in: path @@ -81198,7 +81422,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &484 + response-if-content-is-a-file-github-object: &488 summary: Response if content is a file value: type: file @@ -81335,7 +81559,7 @@ paths: - size - type - url - - &610 + - &614 title: Content File description: Content File type: object @@ -81553,7 +81777,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *484 + response-if-content-is-a-file: *488 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81622,7 +81846,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *485 + '302': *489 '304': *32 x-github: githubCloudOnly: false @@ -81675,8 +81899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *338 - - *339 + - *340 + - *341 - name: path description: path parameter in: path @@ -81771,7 +81995,7 @@ paths: description: Response content: application/json: - schema: &486 + schema: &490 title: File Commit description: File Commit type: object @@ -81927,7 +82151,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: example-for-creating-a-file: value: @@ -81981,7 +82205,7 @@ paths: schema: oneOf: - *3 - - &516 + - &520 description: Repository rule violation was detected type: object properties: @@ -82002,7 +82226,7 @@ paths: items: type: object properties: - placeholder_id: &683 + placeholder_id: &687 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -82034,8 +82258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *338 - - *339 + - *340 + - *341 - name: path description: path parameter in: path @@ -82096,7 +82320,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *490 examples: default: value: @@ -82151,8 +82375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *338 - - *339 + - *340 + - *341 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -82282,8 +82506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -82435,25 +82659,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *338 - - *339 - - *200 - - *201 + - *340 + - *341 - *202 - *203 - *204 + - *205 + - *206 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *205 - - *487 - - *206 - *207 + - *491 - *208 - *209 + - *210 + - *211 - *57 - *42 - *43 @@ -82465,11 +82689,11 @@ paths: application/json: schema: type: array - items: &491 + items: &495 type: object description: A Dependabot alert. properties: - number: *178 + number: *180 state: type: string description: The state of the Dependabot alert. @@ -82516,13 +82740,13 @@ paths: - transitive - inconclusive - - security_advisory: *488 + security_advisory: *492 security_vulnerability: *61 - url: *181 - html_url: *182 - created_at: *179 - updated_at: *180 - dismissed_at: *184 + url: *183 + html_url: *184 + created_at: *181 + updated_at: *182 + dismissed_at: *186 dismissed_by: anyOf: - type: 'null' @@ -82546,9 +82770,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *183 - auto_dismissed_at: *489 - dismissal_request: *490 + fixed_at: *185 + auto_dismissed_at: *493 + dismissal_request: *494 assignees: type: array description: The users assigned to this alert. @@ -82805,9 +83029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *338 - - *339 - - &492 + - *340 + - *341 + - &496 name: alert_number in: path description: |- @@ -82816,13 +83040,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *178 + schema: *180 responses: '200': description: Response content: application/json: - schema: *491 + schema: *495 examples: default: value: @@ -82955,9 +83179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *338 - - *339 - - *492 + - *340 + - *341 + - *496 requestBody: required: true content: @@ -83030,7 +83254,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: default: value: @@ -83161,8 +83385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -83180,7 +83404,7 @@ paths: type: integer secrets: type: array - items: &495 + items: &499 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -83234,16 +83458,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *493 + schema: *497 examples: - default: *494 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83263,15 +83487,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '200': description: Response content: application/json: - schema: *495 + schema: *499 examples: default: value: @@ -83297,8 +83521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 requestBody: required: true @@ -83351,8 +83575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *338 - - *339 + - *340 + - *341 - *161 responses: '204': @@ -83375,8 +83599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *338 - - *339 + - *340 + - *341 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -83556,8 +83780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -83819,8 +84043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: sbom_uuid in: path required: true @@ -83831,7 +84055,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *496 + Location: *500 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -83852,8 +84076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -83891,8 +84115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -83975,7 +84199,7 @@ paths: - version - url additionalProperties: false - metadata: &497 + metadata: &501 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84014,7 +84238,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *497 + metadata: *501 resolved: type: object description: A collection of resolved package dependencies. @@ -84028,7 +84252,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *497 + metadata: *501 relationship: type: string description: A notation of whether a dependency is requested @@ -84161,8 +84385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *338 - - *339 + - *340 + - *341 - name: sha description: The SHA recorded at creation time. in: query @@ -84203,9 +84427,9 @@ paths: application/json: schema: type: array - items: *498 + items: *502 examples: - default: *499 + default: *503 headers: Link: *63 x-github: @@ -84271,8 +84495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -84354,7 +84578,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: simple-example: summary: Simple example @@ -84427,9 +84651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *338 - - *339 - - &500 + - *340 + - *341 + - &504 name: deployment_id description: deployment_id parameter in: path @@ -84441,7 +84665,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *502 examples: default: value: @@ -84506,9 +84730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 responses: '204': description: Response @@ -84530,9 +84754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 - *17 - *19 responses: @@ -84542,7 +84766,7 @@ paths: application/json: schema: type: array - items: &501 + items: &505 title: Deployment Status description: The status of a deployment. type: object @@ -84706,9 +84930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 requestBody: required: true content: @@ -84783,9 +85007,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: &502 + default: &506 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84841,9 +85065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *338 - - *339 - - *500 + - *340 + - *341 + - *504 - name: status_id in: path required: true @@ -84854,9 +85078,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: *502 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -84881,8 +85105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -84939,8 +85163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -84958,7 +85182,7 @@ paths: - 5 environments: type: array - items: &504 + items: &508 title: Environment description: Details of a deployment environment type: object @@ -85020,7 +85244,7 @@ paths: type: string examples: - wait_timer - wait_timer: &506 + wait_timer: &510 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -85062,11 +85286,11 @@ paths: items: type: object properties: - type: *503 + type: *507 reviewer: anyOf: - *4 - - *198 + - *200 required: - id - node_id @@ -85089,7 +85313,7 @@ paths: - id - node_id - type - deployment_branch_policy: &507 + deployment_branch_policy: &511 type: - object - 'null' @@ -85206,9 +85430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *338 - - *339 - - &505 + - *340 + - *341 + - &509 name: environment_name in: path required: true @@ -85221,9 +85445,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: &508 + default: &512 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -85307,9 +85531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 requestBody: required: false content: @@ -85319,7 +85543,7 @@ paths: - object - 'null' properties: - wait_timer: *506 + wait_timer: *510 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -85338,14 +85562,14 @@ paths: items: type: object properties: - type: *503 + type: *507 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *507 + deployment_branch_policy: *511 additionalProperties: false examples: default: @@ -85365,9 +85589,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: *508 + default: *512 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -85391,9 +85615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 responses: '204': description: Default response @@ -85418,9 +85642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *17 - *19 responses: @@ -85439,7 +85663,7 @@ paths: - 2 branch_policies: type: array - items: &509 + items: &513 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85500,9 +85724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 requestBody: required: true content: @@ -85550,9 +85774,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - example-wildcard: &510 + example-wildcard: &514 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85594,10 +85818,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 - - &511 + - *340 + - *341 + - *509 + - &515 name: branch_policy_id in: path required: true @@ -85609,9 +85833,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85630,10 +85854,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 - - *511 + - *340 + - *341 + - *509 + - *515 requestBody: required: true content: @@ -85662,9 +85886,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *513 examples: - default: *510 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85683,10 +85907,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *338 - - *339 - - *505 - - *511 + - *340 + - *341 + - *509 + - *515 responses: '204': description: Response @@ -85711,9 +85935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *505 - - *339 - - *338 + - *509 + - *341 + - *340 responses: '200': description: List of deployment protection rules @@ -85730,7 +85954,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &512 + items: &516 title: Deployment protection rule description: Deployment protection rule type: object @@ -85752,7 +85976,7 @@ paths: for the environment. examples: - true - app: &513 + app: &517 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85855,9 +86079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *505 - - *339 - - *338 + - *509 + - *341 + - *340 requestBody: content: application/json: @@ -85878,9 +86102,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *512 + schema: *516 examples: - default: &514 + default: &518 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85915,9 +86139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *505 - - *339 - - *338 + - *509 + - *341 + - *340 - *19 - *17 responses: @@ -85937,7 +86161,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *513 + items: *517 examples: default: value: @@ -85972,10 +86196,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *338 - - *339 - - *505 - - &515 + - *340 + - *341 + - *509 + - &519 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85987,9 +86211,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *516 examples: - default: *514 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86010,10 +86234,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *505 - - *339 - - *338 - - *515 + - *509 + - *341 + - *340 + - *519 responses: '204': description: Response @@ -86039,9 +86263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *17 - *19 responses: @@ -86059,9 +86283,9 @@ paths: type: integer secrets: type: array - items: *382 + items: *384 examples: - default: *383 + default: *385 headers: Link: *63 x-github: @@ -86086,9 +86310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 responses: '200': description: Response @@ -86118,18 +86342,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *161 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: - default: *396 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86151,9 +86375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *161 requestBody: required: true @@ -86211,9 +86435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *161 responses: '204': @@ -86239,9 +86463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *170 - *19 responses: @@ -86259,9 +86483,9 @@ paths: type: integer variables: type: array - items: *384 + items: *386 examples: - default: *385 + default: *387 headers: Link: *63 x-github: @@ -86284,9 +86508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 requestBody: required: true content: @@ -86338,18 +86562,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *338 - - *339 - - *505 + - *340 + - *341 + - *509 - *164 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *397 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86370,10 +86594,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 - - *505 + - *509 requestBody: required: true content: @@ -86415,10 +86639,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *338 - - *339 + - *340 + - *341 - *164 - - *505 + - *509 responses: '204': description: Response @@ -86440,8 +86664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -86509,8 +86733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *338 - - *339 + - *340 + - *341 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86669,8 +86893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -86703,9 +86927,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 '400': *14 '422': *15 '403': *27 @@ -86726,8 +86950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -86787,7 +87011,7 @@ paths: schema: oneOf: - *122 - - *516 + - *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86812,8 +87036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *338 - - *339 + - *340 + - *341 - name: file_sha in: path required: true @@ -86913,8 +87137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -87023,7 +87247,7 @@ paths: description: Response content: application/json: - schema: &517 + schema: &521 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -87250,15 +87474,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *338 - - *339 - - *472 + - *340 + - *341 + - *476 responses: '200': description: Response content: application/json: - schema: *517 + schema: *521 examples: default: value: @@ -87314,9 +87538,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *338 - - *339 - - &518 + - *340 + - *341 + - &522 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -87333,7 +87557,7 @@ paths: application/json: schema: type: array - items: &519 + items: &523 title: Git Reference description: Git references within a repository type: object @@ -87409,17 +87633,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *338 - - *339 - - *518 + - *340 + - *341 + - *522 responses: '200': description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: &520 + default: &524 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -87448,8 +87672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -87478,9 +87702,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -87506,9 +87730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *338 - - *339 - - *518 + - *340 + - *341 + - *522 requestBody: required: true content: @@ -87537,9 +87761,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '422': *15 '409': *49 x-github: @@ -87557,9 +87781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *338 - - *339 - - *518 + - *340 + - *341 + - *522 responses: '204': description: Response @@ -87614,8 +87838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -87682,7 +87906,7 @@ paths: description: Response content: application/json: - schema: &522 + schema: &526 title: Git Tag description: Metadata for a Git tag type: object @@ -87738,7 +87962,7 @@ paths: - sha - type - url - verification: *521 + verification: *525 required: - sha - url @@ -87748,7 +87972,7 @@ paths: - tag - message examples: - default: &523 + default: &527 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87821,8 +88045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *338 - - *339 + - *340 + - *341 - name: tag_sha in: path required: true @@ -87833,9 +88057,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *526 examples: - default: *523 + default: *527 '404': *6 '409': *49 x-github: @@ -87859,8 +88083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -87934,7 +88158,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &528 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -88036,8 +88260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *338 - - *339 + - *340 + - *341 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -88060,7 +88284,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *528 examples: default-response: summary: Default response @@ -88118,8 +88342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -88163,8 +88387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -88174,7 +88398,7 @@ paths: application/json: schema: type: array - items: &525 + items: &529 title: Webhook description: Webhooks for repositories. type: object @@ -88237,7 +88461,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &803 + last_response: &807 title: Hook Response type: object properties: @@ -88314,8 +88538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -88368,9 +88592,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *529 examples: - default: &526 + default: &530 value: type: Repository id: 12345678 @@ -88418,17 +88642,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '200': description: Response content: application/json: - schema: *525 + schema: *529 examples: - default: *526 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -88448,9 +88672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 requestBody: required: true content: @@ -88495,9 +88719,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *529 examples: - default: *526 + default: *530 '422': *15 '404': *6 x-github: @@ -88518,9 +88742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '204': description: Response @@ -88544,9 +88768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '200': description: Response @@ -88573,9 +88797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 requestBody: required: false content: @@ -88619,12 +88843,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *338 - - *339 - - *217 - - *17 - - *218 + - *340 + - *341 - *219 + - *17 + - *220 + - *221 responses: '200': description: Response @@ -88632,9 +88856,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 '400': *14 '422': *15 x-github: @@ -88653,18 +88877,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 - *16 responses: '200': description: Response content: application/json: - schema: *222 + schema: *224 examples: - default: *223 + default: *225 '400': *14 '422': *15 x-github: @@ -88683,9 +88907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 - *16 responses: '202': *34 @@ -88708,9 +88932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '204': description: Response @@ -88735,9 +88959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *338 - - *339 - - *217 + - *340 + - *341 + - *219 responses: '204': description: Response @@ -88760,8 +88984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response if immutable releases are enabled @@ -88809,8 +89033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '409': *49 @@ -88830,8 +89054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '409': *49 @@ -88888,14 +89112,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &527 + schema: &531 title: Import description: A repository import from an external source. type: object @@ -89002,7 +89226,7 @@ paths: - html_url - authors_url examples: - default: &530 + default: &534 value: vcs: subversion use_lfs: true @@ -89018,7 +89242,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &528 + '503': &532 description: Unavailable due to service under maintenance. content: application/json: @@ -89047,8 +89271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -89096,7 +89320,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *531 examples: default: value: @@ -89121,7 +89345,7 @@ paths: type: string '422': *15 '404': *6 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89149,8 +89373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -89202,7 +89426,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *531 examples: example-1: summary: Example 1 @@ -89250,7 +89474,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89273,12 +89497,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89304,9 +89528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *338 - - *339 - - &737 + - *340 + - *341 + - &741 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89320,7 +89544,7 @@ paths: application/json: schema: type: array - items: &529 + items: &533 title: Porter Author description: Porter Author type: object @@ -89374,7 +89598,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89399,8 +89623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *338 - - *339 + - *340 + - *341 - name: author_id in: path required: true @@ -89430,7 +89654,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *533 examples: default: value: @@ -89443,7 +89667,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89467,8 +89691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -89509,7 +89733,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89537,8 +89761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -89565,11 +89789,11 @@ paths: description: Response content: application/json: - schema: *527 + schema: *531 examples: - default: *530 + default: *534 '422': *15 - '503': *528 + '503': *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89592,8 +89816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -89601,8 +89825,8 @@ paths: application/json: schema: *20 examples: - default: *531 - '301': *342 + default: *535 + '301': *344 '404': *6 x-github: githubCloudOnly: false @@ -89622,8 +89846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -89631,12 +89855,12 @@ paths: application/json: schema: anyOf: - - *236 + - *238 - type: object properties: {} additionalProperties: false examples: - default: &533 + default: &537 value: limit: collaborators_only origin: repository @@ -89661,13 +89885,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *532 + schema: *536 examples: default: summary: Example request body @@ -89679,9 +89903,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: *533 + default: *537 '409': description: Response x-github: @@ -89703,8 +89927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -89731,8 +89955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -89786,13 +90010,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: &534 + schema: &538 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -89842,13 +90066,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: application/json: - schema: *534 + schema: *538 examples: default: summary: Example request body @@ -89881,8 +90105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -89935,8 +90159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -90012,8 +90236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -90023,9 +90247,9 @@ paths: application/json: schema: type: array - items: *535 + items: *539 examples: - default: &730 + default: &734 value: - id: 1 repository: @@ -90156,9 +90380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *338 - - *339 - - *240 + - *340 + - *341 + - *242 requestBody: required: false content: @@ -90187,7 +90411,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *539 examples: default: value: @@ -90318,9 +90542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *338 - - *339 - - *240 + - *340 + - *341 + - *242 responses: '204': description: Response @@ -90343,8 +90567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -90352,9 +90576,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: *536 + default: *540 '404': *6 x-github: githubCloudOnly: false @@ -90383,8 +90607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *338 - - *339 + - *340 + - *341 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -90446,7 +90670,7 @@ paths: required: false schema: type: string - - *247 + - *249 - name: sort description: What to sort results by. in: query @@ -90471,7 +90695,7 @@ paths: type: array items: *80 examples: - default: &546 + default: &550 value: - id: 1 node_id: MDU6SXNzdWUx @@ -90620,7 +90844,7 @@ paths: state_reason: completed headers: Link: *63 - '301': *342 + '301': *344 '422': *15 '404': *6 x-github: @@ -90649,8 +90873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -90773,7 +90997,7 @@ paths: application/json: schema: *80 examples: - default: &543 + default: &547 value: id: 1 node_id: MDU6SXNzdWUx @@ -90974,8 +91198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *102 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -90998,7 +91222,7 @@ paths: type: array items: *81 examples: - default: &545 + default: &549 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91057,8 +91281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': @@ -91067,7 +91291,7 @@ paths: application/json: schema: *81 examples: - default: &537 + default: &541 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91123,8 +91347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -91149,7 +91373,7 @@ paths: application/json: schema: *81 examples: - default: *537 + default: *541 '422': *15 x-github: githubCloudOnly: false @@ -91167,8 +91391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -91197,8 +91421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': @@ -91278,8 +91502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -91305,8 +91529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -91333,9 +91557,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -91356,8 +91580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -91390,16 +91614,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -91421,10 +91645,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *338 - - *339 + - *340 + - *341 - *94 - - *539 + - *543 responses: '204': description: Response @@ -91444,8 +91668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -91455,7 +91679,7 @@ paths: application/json: schema: type: array - items: &542 + items: &546 title: Issue Event description: Issue Event type: object @@ -91535,7 +91759,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *198 + requested_team: *200 dismissed_review: title: Issue Event Dismissed Review type: object @@ -91602,7 +91826,7 @@ paths: required: - from - to - issue_type: &540 + issue_type: &544 title: Issue Type description: The type of issue. type: @@ -91633,11 +91857,11 @@ paths: required: - id - name - prev_issue_type: *540 + prev_issue_type: *544 sub_issue: anyOf: - type: 'null' - - &541 + - &545 title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency @@ -91695,19 +91919,19 @@ paths: parent_issue: anyOf: - type: 'null' - - *541 + - *545 blocked_by: anyOf: - type: 'null' - - *541 + - *545 blocking: anyOf: - type: 'null' - - *541 + - *545 intent: anyOf: - type: 'null' - - &547 + - &551 title: Issue Event Intent description: The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` @@ -91929,8 +92153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *338 - - *339 + - *340 + - *341 - name: event_id in: path required: true @@ -91941,7 +92165,7 @@ paths: description: Response content: application/json: - schema: *542 + schema: *546 examples: default: value: @@ -92168,9 +92392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *338 - - *339 - - &544 + - *340 + - *341 + - &548 name: issue_number description: The number that identifies the issue. in: path @@ -92186,7 +92410,7 @@ paths: examples: default: summary: Issue - value: *543 + value: *547 pinned_comment: summary: Issue with pinned comment value: @@ -92391,7 +92615,7 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *342 + '301': *344 '404': *6 '410': *30 '304': *32 @@ -92418,9 +92642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -92791,11 +93015,11 @@ paths: - already_applied - issue_already_closed examples: - default: *543 + default: *547 '422': *15 '503': *112 '403': *27 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -92825,9 +93049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -92877,7 +93101,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92893,9 +93117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: content: application/json: @@ -92922,7 +93146,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92944,9 +93168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: assignee in: path required: true @@ -92986,9 +93210,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *85 - *17 - *19 @@ -93001,7 +93225,7 @@ paths: type: array items: *81 examples: - default: *545 + default: *549 headers: Link: *63 '404': *6 @@ -93034,9 +93258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -93060,7 +93284,7 @@ paths: application/json: schema: *81 examples: - default: *537 + default: *541 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -93095,9 +93319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -93109,10 +93333,10 @@ paths: type: array items: *80 examples: - default: *546 + default: *550 headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -93142,9 +93366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -93168,13 +93392,13 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *342 + '301': *344 '403': *27 '410': *30 '422': *15 @@ -93207,9 +93431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -93223,8 +93447,8 @@ paths: application/json: schema: *80 examples: - default: *543 - '301': *342 + default: *547 + '301': *344 '400': *14 '401': *23 '403': *27 @@ -93255,9 +93479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -93269,10 +93493,10 @@ paths: type: array items: *80 examples: - default: *546 + default: *550 headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -93291,9 +93515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -93307,7 +93531,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &553 + - &557 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -93348,7 +93572,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - label - id @@ -93360,7 +93584,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &558 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -93401,7 +93625,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - label - id @@ -93442,7 +93666,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - id - node_id @@ -93496,7 +93720,7 @@ paths: - performed_via_github_app - assignee - assigner - - &555 + - &559 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -93542,7 +93766,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &560 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -93588,7 +93812,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &561 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -93637,7 +93861,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &562 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -93666,7 +93890,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *198 + requested_team: *200 requested_reviewer: *4 required: - review_requester @@ -93679,7 +93903,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &563 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -93708,7 +93932,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *198 + requested_team: *200 requested_reviewer: *4 required: - review_requester @@ -93721,7 +93945,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &564 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -93777,7 +94001,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &565 title: Locked Issue Event description: Locked Issue Event type: object @@ -93822,7 +94046,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &566 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -93883,7 +94107,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &567 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -93944,7 +94168,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &564 + - &568 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -94005,7 +94229,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &565 + - &569 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -94063,7 +94287,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &572 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -94091,11 +94315,11 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *540 + issue_type: *544 intent: anyOf: - type: 'null' - - *547 + - *551 required: - issue_type - id @@ -94107,7 +94331,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &573 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -94135,11 +94359,11 @@ paths: anyOf: - type: 'null' - *5 - prev_issue_type: *540 + prev_issue_type: *544 intent: anyOf: - type: 'null' - - *547 + - *551 required: - prev_issue_type - id @@ -94151,7 +94375,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &574 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -94179,12 +94403,12 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *540 - prev_issue_type: *540 + issue_type: *544 + prev_issue_type: *544 intent: anyOf: - type: 'null' - - *547 + - *551 required: - issue_type - prev_issue_type @@ -94197,7 +94421,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &575 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -94228,7 +94452,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *541 + - *545 required: - sub_issue - id @@ -94240,7 +94464,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &576 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -94271,7 +94495,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *541 + - *545 required: - sub_issue - id @@ -94283,7 +94507,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &577 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -94314,7 +94538,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *541 + - *545 required: - parent_issue - id @@ -94326,7 +94550,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &578 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -94357,7 +94581,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *541 + - *545 required: - parent_issue - id @@ -94369,7 +94593,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &579 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -94400,7 +94624,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *541 + - *545 required: - blocked_by - id @@ -94412,7 +94636,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &580 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -94443,7 +94667,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *541 + - *545 required: - blocked_by - id @@ -94455,7 +94679,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &581 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -94486,7 +94710,7 @@ paths: blocking: anyOf: - type: 'null' - - *541 + - *545 required: - blocking - id @@ -94498,7 +94722,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &582 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -94529,7 +94753,7 @@ paths: blocking: anyOf: - type: 'null' - - *541 + - *545 required: - blocking - id @@ -94593,9 +94817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -94605,9 +94829,9 @@ paths: application/json: schema: type: array - items: *548 + items: *552 examples: - default: &549 + default: &553 value: - issue_field_id: 1 issue_field_name: DRI @@ -94647,7 +94871,7 @@ paths: color: green headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -94678,9 +94902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94752,9 +94976,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *548 + items: *552 examples: - default: *549 + default: *553 '400': *14 '403': *27 '404': *6 @@ -94790,9 +95014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -94859,9 +95083,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *548 + items: *552 examples: - default: *549 + default: *553 '400': *14 '403': *27 '404': *6 @@ -94892,10 +95116,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *338 - - *339 - - *544 - - *243 + - *340 + - *341 + - *548 + - *245 responses: '204': description: Issue field value deleted successfully @@ -94920,9 +95144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -94934,7 +95158,7 @@ paths: type: array items: *79 examples: - default: &550 + default: &554 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94952,7 +95176,7 @@ paths: default: false headers: Link: *63 - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -94970,9 +95194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -95052,8 +95276,8 @@ paths: type: array items: *79 examples: - default: *550 - '301': *342 + default: *554 + '301': *344 '404': *6 '410': *30 '422': *15 @@ -95072,9 +95296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -95136,8 +95360,8 @@ paths: type: array items: *79 examples: - default: *550 - '301': *342 + default: *554 + '301': *344 '404': *6 '410': *30 '422': *15 @@ -95156,13 +95380,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 responses: '204': description: Response - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -95183,9 +95407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: name in: path required: true @@ -95209,7 +95433,7 @@ paths: description: Something isn't working color: f29513 default: true - '301': *342 + '301': *344 '404': *6 '410': *30 x-github: @@ -95231,9 +95455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: false content: @@ -95280,9 +95504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 responses: '204': description: Response @@ -95312,9 +95536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 responses: '200': description: Response @@ -95322,8 +95546,8 @@ paths: application/json: schema: *80 examples: - default: *543 - '301': *342 + default: *547 + '301': *344 '404': *6 '410': *30 x-github: @@ -95342,9 +95566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -95370,9 +95594,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -95394,9 +95618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -95428,16 +95652,16 @@ paths: description: Response content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Response content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -95459,10 +95683,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *338 - - *339 - - *544 - - *539 + - *340 + - *341 + - *548 + - *543 responses: '204': description: Response @@ -95491,9 +95715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -95517,7 +95741,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -95551,9 +95775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 responses: @@ -95565,7 +95789,7 @@ paths: type: array items: *80 examples: - default: *546 + default: *550 headers: Link: *63 '404': *6 @@ -95597,9 +95821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -95628,7 +95852,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -95655,9 +95879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 requestBody: required: true content: @@ -95690,7 +95914,7 @@ paths: application/json: schema: *80 examples: - default: *543 + default: *547 '403': *27 '404': *6 '422': *7 @@ -95719,9 +95943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-issue-suggestions parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: state in: query required: false @@ -95758,7 +95982,7 @@ paths: application/json: schema: type: array - items: &551 + items: &555 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -95922,9 +96146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#approve-an-issue-suggestion parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: suggestion_id in: path required: true @@ -95936,9 +96160,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: &552 + default: &556 value: id: 12 issue_id: 4567 @@ -95976,9 +96200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - name: suggestion_id in: path required: true @@ -95990,9 +96214,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *555 examples: - default: *552 + default: *556 '403': *27 '404': *6 '422': *15 @@ -96012,9 +96236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *338 - - *339 - - *544 + - *340 + - *341 + - *548 - *17 - *19 - name: exclude @@ -96035,10 +96259,6 @@ paths: description: Timeline Event type: object anyOf: - - *553 - - *554 - - *555 - - *556 - *557 - *558 - *559 @@ -96048,6 +96268,10 @@ paths: - *563 - *564 - *565 + - *566 + - *567 + - *568 + - *569 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -96104,11 +96328,11 @@ paths: pin: anyOf: - type: 'null' - - *566 + - *570 minimized: anyOf: - type: 'null' - - *567 + - *571 required: - event - actor @@ -96384,7 +96608,7 @@ paths: type: string comments: type: array - items: &598 + items: &602 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -96625,7 +96849,7 @@ paths: type: string comments: type: array - items: *468 + items: *472 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -96657,7 +96881,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - id - node_id @@ -96742,7 +96966,7 @@ paths: intent: anyOf: - type: 'null' - - *547 + - *551 required: - id - node_id @@ -96753,10 +96977,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *568 - - *569 - - *570 - - *571 - *572 - *573 - *574 @@ -96764,6 +96984,10 @@ paths: - *576 - *577 - *578 + - *579 + - *580 + - *581 + - *582 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -97011,8 +97235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -97022,7 +97246,7 @@ paths: application/json: schema: type: array - items: &579 + items: &583 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -97090,8 +97314,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97127,9 +97351,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: &580 + default: &584 value: id: 1 key: ssh-rsa AAA... @@ -97163,9 +97387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *338 - - *339 - - &581 + - *340 + - *341 + - &585 name: key_id description: The unique identifier of the key. in: path @@ -97177,9 +97401,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: *580 + default: *584 '404': *6 x-github: githubCloudOnly: false @@ -97197,9 +97421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *338 - - *339 - - *581 + - *340 + - *341 + - *585 responses: '204': description: Response @@ -97219,8 +97443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -97232,7 +97456,7 @@ paths: type: array items: *79 examples: - default: *550 + default: *554 headers: Link: *63 '404': *6 @@ -97253,8 +97477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97292,7 +97516,7 @@ paths: application/json: schema: *79 examples: - default: &582 + default: &586 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -97324,8 +97548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *338 - - *339 + - *340 + - *341 - name: name in: path required: true @@ -97338,7 +97562,7 @@ paths: application/json: schema: *79 examples: - default: *582 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -97355,8 +97579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *338 - - *339 + - *340 + - *341 - name: name in: path required: true @@ -97426,8 +97650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *338 - - *339 + - *340 + - *341 - name: name in: path required: true @@ -97453,8 +97677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -97493,9 +97717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *338 - - *339 - - *443 + - *340 + - *341 + - *447 responses: '200': description: Response @@ -97642,8 +97866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97708,8 +97932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97743,9 +97967,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *471 + schema: *475 examples: - default: *583 + default: *587 '204': description: Response when already merged '404': @@ -97770,8 +97994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *338 - - *339 + - *340 + - *341 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -97812,7 +98036,7 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: default: value: @@ -97868,8 +98092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -97909,9 +98133,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: &584 + default: &588 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -97970,9 +98194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *338 - - *339 - - &585 + - *340 + - *341 + - &589 name: milestone_number description: The number that identifies the milestone. in: path @@ -97984,9 +98208,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *584 + default: *588 '404': *6 x-github: githubCloudOnly: false @@ -98003,9 +98227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *338 - - *339 - - *585 + - *340 + - *341 + - *589 requestBody: required: false content: @@ -98043,9 +98267,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *584 + default: *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98061,9 +98285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *338 - - *339 - - *585 + - *340 + - *341 + - *589 responses: '204': description: Response @@ -98084,9 +98308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *338 - - *339 - - *585 + - *340 + - *341 + - *589 - *17 - *19 responses: @@ -98098,7 +98322,7 @@ paths: type: array items: *79 examples: - default: *550 + default: *554 headers: Link: *63 x-github: @@ -98117,12 +98341,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *338 - - *339 - - *586 - - *587 + - *340 + - *341 + - *590 + - *591 - *85 - - *588 + - *592 - *17 - *19 responses: @@ -98134,7 +98358,7 @@ paths: type: array items: *105 examples: - default: *589 + default: *593 headers: Link: *63 x-github: @@ -98158,8 +98382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -98217,14 +98441,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: &590 + schema: &594 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -98368,7 +98592,7 @@ paths: - custom_404 - public examples: - default: &591 + default: &595 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -98409,8 +98633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -98465,9 +98689,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *594 examples: - default: *591 + default: *595 '422': *15 '409': *49 x-github: @@ -98490,8 +98714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -98591,8 +98815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -98618,8 +98842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -98629,7 +98853,7 @@ paths: application/json: schema: type: array - items: &592 + items: &596 title: Page Build description: Page Build type: object @@ -98721,8 +98945,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *338 - - *339 + - *340 + - *341 responses: '201': description: Response @@ -98769,16 +98993,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *592 + schema: *596 examples: - default: &593 + default: &597 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -98826,8 +99050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *338 - - *339 + - *340 + - *341 - name: build_id in: path required: true @@ -98838,9 +99062,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *596 examples: - default: *593 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98860,8 +99084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -98969,9 +99193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *338 - - *339 - - &594 + - *340 + - *341 + - &598 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -99029,9 +99253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *338 - - *339 - - *594 + - *340 + - *341 + - *598 responses: '204': *54 '404': *6 @@ -99058,8 +99282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -99354,8 +99578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Private vulnerability reporting status @@ -99392,8 +99616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '422': *14 @@ -99414,8 +99638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': *54 '422': *14 @@ -99437,8 +99661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -99446,7 +99670,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -99477,8 +99701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -99490,7 +99714,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *294 + items: *296 required: - properties examples: @@ -99540,8 +99764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *338 - - *339 + - *340 + - *341 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99601,9 +99825,9 @@ paths: application/json: schema: type: array - items: *435 + items: *440 examples: - default: *595 + default: *599 headers: Link: *63 '304': *32 @@ -99635,8 +99859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -99703,7 +99927,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &604 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -99832,7 +100056,7 @@ paths: milestone: anyOf: - type: 'null' - - *280 + - *282 active_lock_reason: type: - string @@ -99881,7 +100105,7 @@ paths: items: *4 requested_teams: type: array - items: *259 + items: *261 head: type: object properties: @@ -99919,14 +100143,14 @@ paths: _links: type: object properties: - comments: *281 - commits: *281 - statuses: *281 - html: *281 - issue: *281 - review_comments: *281 - review_comment: *281 - self: *281 + comments: *283 + commits: *283 + statuses: *283 + html: *283 + issue: *283 + review_comments: *283 + review_comment: *283 + self: *283 required: - comments - commits @@ -99937,8 +100161,8 @@ paths: - review_comment - self author_association: *77 - auto_merge: *596 - stack: *597 + auto_merge: *600 + stack: *601 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -100134,7 +100358,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &601 + default: &605 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100672,8 +100896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *338 - - *339 + - *340 + - *341 - name: sort in: query required: false @@ -100702,9 +100926,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: &603 + default: &607 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100781,17 +101005,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '200': description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: &599 + default: &603 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100866,8 +101090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -100890,9 +101114,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: *599 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100908,8 +101132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 + - *340 + - *341 - *94 responses: '204': @@ -100931,8 +101155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -100959,9 +101183,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -100982,8 +101206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *338 - - *339 + - *340 + - *341 - *94 requestBody: required: true @@ -101016,16 +101240,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -101047,10 +101271,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *338 - - *339 + - *340 + - *341 - *94 - - *539 + - *543 responses: '204': description: Response @@ -101093,9 +101317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *338 - - *339 - - &602 + - *340 + - *341 + - &606 name: pull_number description: The number that identifies the pull request. in: path @@ -101108,9 +101332,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 '304': *32 '404': *6 '406': @@ -101145,9 +101369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -101189,9 +101413,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 '422': *15 '403': *27 x-github: @@ -101213,9 +101437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: true content: @@ -101276,17 +101500,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '401': *23 '403': *27 '404': *6 @@ -101316,9 +101540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *102 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -101339,9 +101563,9 @@ paths: application/json: schema: type: array - items: *598 + items: *602 examples: - default: *603 + default: *607 headers: Link: *63 x-github: @@ -101374,9 +101598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: true content: @@ -101482,7 +101706,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: example-for-a-multi-line-comment: value: @@ -101570,9 +101794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *94 requestBody: required: true @@ -101595,7 +101819,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *602 examples: default: value: @@ -101681,9 +101905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *17 - *19 responses: @@ -101693,9 +101917,9 @@ paths: application/json: schema: type: array - items: *471 + items: *475 examples: - default: *604 + default: *608 headers: Link: *63 x-github: @@ -101725,9 +101949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *17 - *19 responses: @@ -101737,7 +101961,7 @@ paths: application/json: schema: type: array - items: *481 + items: *485 examples: default: value: @@ -101775,9 +101999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 responses: '204': description: Response if pull request has been merged @@ -101800,9 +102024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -101925,9 +102149,9 @@ paths: category: pulls subcategory: pulls parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -101980,7 +102204,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &605 + schema: &609 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -102065,7 +102289,7 @@ paths: merge queue content: application/json: - schema: *605 + schema: *609 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -102085,7 +102309,7 @@ paths: this pull request content: application/json: - schema: *605 + schema: *609 examples: response-if-a-merge-request-already-exists: value: @@ -102101,7 +102325,7 @@ paths: it is closed content: application/json: - schema: *605 + schema: *609 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -102133,9 +102357,9 @@ paths: category: pulls subcategory: pulls parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -102148,7 +102372,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *605 + schema: *609 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -102196,9 +102420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 responses: '200': description: Response @@ -102214,7 +102438,7 @@ paths: items: *4 teams: type: array - items: *198 + items: *200 required: - users - teams @@ -102273,9 +102497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -102312,7 +102536,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: default: value: @@ -102848,9 +103072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: true content: @@ -102884,7 +103108,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *440 examples: default: value: @@ -103400,9 +103624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 - *17 - *19 responses: @@ -103412,7 +103636,7 @@ paths: application/json: schema: type: array - items: &606 + items: &610 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -103568,9 +103792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -103660,9 +103884,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: &608 + default: &612 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103725,10 +103949,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - &607 + - *340 + - *341 + - *606 + - &611 name: review_id description: The unique identifier of the review. in: path @@ -103740,9 +103964,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: &609 + default: &613 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -103801,10 +104025,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 requestBody: required: true content: @@ -103827,7 +104051,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: default: value: @@ -103889,18 +104113,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 responses: '200': description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: *608 + default: *612 '422': *7 '404': *6 x-github: @@ -103927,10 +104151,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 - *17 - *19 responses: @@ -104028,9 +104252,9 @@ paths: _links: type: object properties: - self: *281 - html: *281 - pull_request: *281 + self: *283 + html: *283 + pull_request: *283 required: - self - html @@ -104188,10 +104412,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 requestBody: required: true content: @@ -104220,7 +104444,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: default: value: @@ -104283,10 +104507,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *338 - - *339 - - *602 - - *607 + - *340 + - *341 + - *606 + - *611 requestBody: required: true content: @@ -104321,9 +104545,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: - default: *609 + default: *613 '404': *6 '422': *7 '403': *27 @@ -104345,9 +104569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *338 - - *339 - - *602 + - *340 + - *341 + - *606 requestBody: required: false content: @@ -104411,8 +104635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *338 - - *339 + - *340 + - *341 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -104425,9 +104649,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: &611 + default: &615 value: type: file encoding: base64 @@ -104469,8 +104693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *338 - - *339 + - *340 + - *341 - name: dir description: The alternate path to look for a README file in: path @@ -104490,9 +104714,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *614 examples: - default: *611 + default: *615 '404': *6 '422': *15 x-github: @@ -104514,8 +104738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -104525,7 +104749,7 @@ paths: application/json: schema: type: array - items: *612 + items: *616 examples: default: value: @@ -104624,8 +104848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -104701,9 +104925,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: &616 + default: &620 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -104808,9 +105032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *338 - - *339 - - &614 + - *340 + - *341 + - &618 name: asset_id description: The unique identifier of the asset. in: path @@ -104822,9 +105046,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: &615 + default: &619 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -104859,7 +105083,7 @@ paths: type: User site_admin: false '404': *6 - '302': *485 + '302': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104875,9 +105099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *338 - - *339 - - *614 + - *340 + - *341 + - *618 requestBody: required: false content: @@ -104906,9 +105130,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *617 examples: - default: *615 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104924,9 +105148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *338 - - *339 - - *614 + - *340 + - *341 + - *618 responses: '204': description: Response @@ -104951,8 +105175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -105038,16 +105262,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -105065,8 +105289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *338 - - *339 + - *340 + - *341 - name: tag description: tag parameter in: path @@ -105079,9 +105303,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '404': *6 x-github: githubCloudOnly: false @@ -105103,9 +105327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *338 - - *339 - - &617 + - *340 + - *341 + - &621 name: release_id description: The unique identifier of the release. in: path @@ -105119,9 +105343,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '401': description: Unauthorized x-github: @@ -105145,9 +105369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 requestBody: required: false content: @@ -105211,9 +105435,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *616 + default: *620 '404': description: Not Found if the discussion category name is invalid content: @@ -105234,9 +105458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 responses: '204': description: Response @@ -105257,9 +105481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 - *17 - *19 responses: @@ -105269,7 +105493,7 @@ paths: application/json: schema: type: array - items: *613 + items: *617 examples: default: value: @@ -105350,9 +105574,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 - name: name in: query required: true @@ -105378,7 +105602,7 @@ paths: description: Response for successful upload content: application/json: - schema: *613 + schema: *617 examples: response-for-successful-upload: value: @@ -105433,9 +105657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -105459,9 +105683,9 @@ paths: application/json: schema: type: array - items: *469 + items: *473 examples: - default: *538 + default: *542 headers: Link: *63 '404': *6 @@ -105482,9 +105706,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *338 - - *339 - - *617 + - *340 + - *341 + - *621 requestBody: required: true content: @@ -105514,16 +105738,16 @@ paths: description: Reaction exists content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '201': description: Reaction created content: application/json: - schema: *469 + schema: *473 examples: - default: *470 + default: *474 '422': *15 x-github: githubCloudOnly: false @@ -105545,10 +105769,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *338 - - *339 - - *617 - - *539 + - *340 + - *341 + - *621 + - *543 responses: '204': description: Response @@ -105572,9 +105796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *338 - - *339 - - *404 + - *340 + - *341 + - *406 - *17 - *19 responses: @@ -105590,8 +105814,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *301 - - &618 + - *303 + - &622 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -105610,72 +105834,72 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *302 - - *618 - - allOf: - - *303 - - *618 - allOf: - *304 - - *618 - - allOf: - - *619 - - *618 + - *622 - allOf: - *305 - - *618 + - *622 - allOf: - *306 - - *618 + - *622 + - allOf: + - *623 + - *622 - allOf: - *307 - - *618 + - *622 - allOf: - *308 - - *618 + - *622 - allOf: - *309 - - *618 + - *622 - allOf: - *310 - - *618 + - *622 - allOf: - *311 - - *618 + - *622 - allOf: - *312 - - *618 + - *622 - allOf: - *313 - - *618 + - *622 - allOf: - *314 - - *618 + - *622 - allOf: - - *319 - - *618 + - *315 + - *622 - allOf: - - *320 - - *618 + - *316 + - *622 - allOf: - *321 - - *618 + - *622 - allOf: - - *620 - - *618 + - *322 + - *622 - allOf: - - *315 - - *618 + - *323 + - *622 - allOf: - - *316 - - *618 + - *624 + - *622 - allOf: - *317 - - *618 + - *622 - allOf: - *318 - - *618 + - *622 + - allOf: + - *319 + - *622 + - allOf: + - *320 + - *622 examples: default: value: @@ -105714,8 +105938,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - name: includes_parents @@ -105726,7 +105950,7 @@ paths: schema: type: boolean default: true - - *621 + - *625 responses: '200': description: Response @@ -105734,7 +105958,7 @@ paths: application/json: schema: type: array - items: *322 + items: *324 examples: default: value: @@ -105781,8 +106005,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 requestBody: description: Request body required: true @@ -105802,16 +106026,16 @@ paths: - tag - push default: branch - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *296 + items: *301 + conditions: *298 rules: type: array description: An array of rules within the ruleset. - items: *622 + items: *626 required: - name - enforcement @@ -105842,9 +106066,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: &633 + default: &637 value: id: 42 name: super cool ruleset @@ -105892,13 +106116,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *338 - - *339 - - *623 - - *624 - - *625 - - *626 + - *340 + - *341 - *627 + - *628 + - *629 + - *630 + - *631 - *17 - *19 responses: @@ -105906,9 +106130,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *632 examples: - default: *629 + default: *633 '404': *6 '500': *50 x-github: @@ -105929,17 +106153,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *338 - - *339 - - *630 + - *340 + - *341 + - *634 responses: '200': description: Response content: application/json: - schema: *631 + schema: *635 examples: - default: *632 + default: *636 '404': *6 '500': *50 x-github: @@ -105967,8 +106191,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105988,9 +106212,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *633 + default: *637 '404': *6 '500': *50 put: @@ -106008,8 +106232,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106034,16 +106258,16 @@ paths: - branch - tag - push - enforcement: *298 + enforcement: *300 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *299 - conditions: *296 + items: *301 + conditions: *298 rules: description: An array of rules within the ruleset. type: array - items: *622 + items: *626 examples: default: value: @@ -106071,9 +106295,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: - default: *633 + default: *637 '404': *6 '422': *15 '500': *50 @@ -106092,8 +106316,8 @@ paths: category: repos subcategory: rules parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106116,8 +106340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 - name: ruleset_id @@ -106133,9 +106357,9 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: - default: *634 + default: *638 '404': *6 '500': *50 x-github: @@ -106154,8 +106378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *338 - - *339 + - *340 + - *341 - name: ruleset_id description: The ID of the ruleset. in: path @@ -106173,7 +106397,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *639 examples: default: value: @@ -106228,28 +106452,28 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *338 - - *339 - - *636 - - *637 - - *638 - - *639 + - *340 + - *341 - *640 - *641 - *642 - *643 - - *57 - - *19 - - *17 - *644 - *645 - *646 - *647 + - *57 + - *19 + - *17 - *648 - *649 - *650 - *651 - *652 + - *653 + - *654 + - *655 + - *656 responses: '200': description: Response @@ -106260,21 +106484,21 @@ paths: items: type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolved_at: type: - string @@ -106380,7 +106604,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *655 + - *659 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -106539,32 +106763,32 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *338 - - *339 - - *437 - - *649 + - *340 + - *341 + - *441 + - *653 responses: '200': description: Response content: application/json: - schema: &656 + schema: &660 type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolved_at: type: - string @@ -106670,7 +106894,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *655 + - *659 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -106693,7 +106917,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &822 + metadata: &826 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -106766,9 +106990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 requestBody: required: true content: @@ -106776,8 +107000,8 @@ paths: schema: type: object properties: - state: *653 - resolution: *654 + state: *657 + resolution: *658 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -106825,7 +107049,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *660 examples: default: value: @@ -106927,9 +107151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *338 - - *339 - - *437 + - *340 + - *341 + - *441 - *19 - *17 responses: @@ -106940,7 +107164,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &824 + items: &828 type: object properties: type: @@ -106967,10 +107191,6 @@ paths: - commit details: oneOf: - - *657 - - *658 - - *659 - - *660 - *661 - *662 - *663 @@ -106980,6 +107200,10 @@ paths: - *667 - *668 - *669 + - *670 + - *671 + - *672 + - *673 examples: default: value: @@ -107068,11 +107292,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 - - *670 - - *671 - - *672 + - *340 + - *341 + - *674 + - *675 + - *676 - *57 - *42 - *43 @@ -107083,9 +107307,9 @@ paths: application/json: schema: type: array - items: *326 + items: *328 examples: - default: *673 + default: *677 headers: Link: *63 '403': *27 @@ -107108,8 +107332,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -107122,9 +107346,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *674 + items: *678 examples: - default: *675 + default: *679 responses: '201': description: All patterns created successfully. @@ -107136,9 +107360,9 @@ paths: created_patterns: type: array description: The list of successfully created custom patterns. - items: *326 + items: *328 examples: - default: *676 + default: *680 '400': *14 '403': *27 '404': *6 @@ -107162,7 +107386,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *677 + items: *681 delete: summary: Bulk delete repository custom patterns description: |- @@ -107181,8 +107405,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -107196,7 +107420,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *678 + items: *682 post_delete_action: type: string description: |- @@ -107209,14 +107433,14 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *679 + default: *683 responses: '204': description: All patterns deleted successfully. '400': *14 '403': *27 '404': *6 - '412': *328 + '412': *330 "/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": patch: summary: Update a repository custom pattern @@ -107236,8 +107460,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *338 - - *339 + - *340 + - *341 - name: pattern_id in: path required: true @@ -107248,21 +107472,21 @@ paths: required: true content: application/json: - schema: *680 + schema: *684 examples: - default: *681 + default: *685 responses: '200': description: Pattern updated successfully. content: application/json: - schema: *326 + schema: *328 examples: - default: *682 + default: *686 '400': *14 '403': *27 '404': *6 - '412': *328 + '412': *330 '422': *15 "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": post: @@ -107280,8 +107504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -107289,14 +107513,14 @@ paths: schema: type: object properties: - reason: &684 + reason: &688 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *683 + placeholder_id: *687 required: - reason - placeholder_id @@ -107313,7 +107537,7 @@ paths: schema: type: object properties: - reason: *684 + reason: *688 expire_at: type: - string @@ -107360,8 +107584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -107376,7 +107600,7 @@ paths: properties: incremental_scans: type: array - items: &685 + items: &689 description: Information on a single scan performed by secret scanning on the repository type: object @@ -107409,15 +107633,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *685 + items: *689 backfill_scans: type: array - items: *685 + items: *689 custom_pattern_backfill_scans: type: array items: allOf: - - *685 + - *689 - type: object properties: pattern_name: @@ -107430,7 +107654,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *685 + items: *689 examples: default: value: @@ -107495,8 +107719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *338 - - *339 + - *340 + - *341 - *57 - name: sort description: The property to sort the results by. @@ -107540,9 +107764,9 @@ paths: application/json: schema: type: array - items: *686 + items: *690 examples: - default: *687 + default: *691 '400': *14 '404': *6 x-github: @@ -107565,8 +107789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -107646,7 +107870,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -107736,9 +107960,9 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: &690 + default: &694 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -107962,7 +108186,7 @@ paths: description: Validation failed. content: application/json: - schema: &688 + schema: &692 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -108035,8 +108259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -108149,7 +108373,7 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: default: value: @@ -108281,7 +108505,7 @@ paths: description: Validation failed. content: application/json: - schema: *688 + schema: *692 examples: missing_section: value: @@ -108328,17 +108552,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 responses: '200': description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: *690 + default: *694 '403': *27 '404': *6 x-github: @@ -108362,9 +108586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 requestBody: required: true content: @@ -108444,7 +108668,7 @@ paths: login: type: string description: The username of the user credited. - type: *330 + type: *332 required: - login - type @@ -108535,10 +108759,10 @@ paths: description: Response content: application/json: - schema: *686 + schema: *690 examples: - default: *690 - add_credit: *690 + default: *694 + add_credit: *694 '403': *27 '404': *6 '422': @@ -108576,9 +108800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 responses: '202': *34 '400': *14 @@ -108605,17 +108829,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *338 - - *339 - - *689 + - *340 + - *341 + - *693 responses: '202': description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 '400': *14 '422': *15 '403': *27 @@ -108636,8 +108860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#list-pull-request-stacks parameters: - - *338 - - *339 + - *340 + - *341 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -108770,8 +108994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -108838,7 +109062,7 @@ paths: format: date-time pull_requests: type: array - items: &691 + items: &695 title: Pull Request Stack Pull Request type: object allOf: @@ -109065,8 +109289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -109115,7 +109339,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *695 examples: default: value: @@ -109235,8 +109459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -109308,7 +109532,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *695 examples: default: value: @@ -109515,8 +109739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack parameters: - - *338 - - *339 + - *340 + - *341 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -109565,7 +109789,7 @@ paths: format: date-time pull_requests: type: array - items: *691 + items: *695 examples: default: value: @@ -109671,8 +109895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -109766,8 +109990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#get-stargazer-count parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -109809,8 +110033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#get-repository-star-history parameters: - - *338 - - *339 + - *340 + - *341 - name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -109906,8 +110130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -109916,7 +110140,7 @@ paths: application/json: schema: type: array - items: &692 + items: &696 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -109949,8 +110173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -110028,8 +110252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -110123,8 +110347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -110278,8 +110502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -110289,7 +110513,7 @@ paths: application/json: schema: type: array - items: *692 + items: *696 examples: default: value: @@ -110322,8 +110546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *338 - - *339 + - *340 + - *341 - name: sha in: path required: true @@ -110379,7 +110603,7 @@ paths: description: Response content: application/json: - schema: *693 + schema: *697 examples: default: value: @@ -110433,8 +110657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -110466,14 +110690,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &694 + schema: &698 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -110546,8 +110770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: false content: @@ -110573,7 +110797,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *698 examples: default: value: @@ -110600,8 +110824,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -110621,8 +110845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -110704,8 +110928,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *338 - - *339 + - *340 + - *341 - name: ref in: path required: true @@ -110741,8 +110965,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *338 - - *339 + - *340 + - *341 - *17 - *19 responses: @@ -110752,9 +110976,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - default: *260 + default: *262 headers: Link: *63 '404': *6 @@ -110774,8 +110998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *338 - - *339 + - *340 + - *341 - *19 - *17 responses: @@ -110783,7 +111007,7 @@ paths: description: Response content: application/json: - schema: &695 + schema: &699 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -110795,7 +111019,7 @@ paths: required: - names examples: - default: &696 + default: &700 value: names: - octocat @@ -110818,8 +111042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -110850,9 +111074,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *699 examples: - default: *696 + default: *700 '404': *6 '422': *7 x-github: @@ -110873,9 +111097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *338 - - *339 - - &697 + - *340 + - *341 + - &701 name: per description: The time frame to display results for. in: query @@ -110906,7 +111130,7 @@ paths: - 128 clones: type: array - items: &698 + items: &702 title: Traffic type: object properties: @@ -110993,8 +111217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -111088,8 +111312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *338 - - *339 + - *340 + - *341 responses: '200': description: Response @@ -111152,9 +111376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *338 - - *339 - - *697 + - *340 + - *341 + - *701 responses: '200': description: Response @@ -111175,7 +111399,7 @@ paths: - 3782 views: type: array - items: *698 + items: *702 required: - uniques - count @@ -111252,8 +111476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *338 - - *339 + - *340 + - *341 requestBody: required: true content: @@ -111533,8 +111757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -111557,8 +111781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -111580,8 +111804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -111607,8 +111831,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *338 - - *339 + - *340 + - *341 - name: ref in: path required: true @@ -111700,9 +111924,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -111951,7 +112175,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &699 + text_matches: &703 title: Search Result Text Matches type: array items: @@ -112114,7 +112338,7 @@ paths: enum: - author-date - committer-date - - &700 + - &704 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -112183,7 +112407,7 @@ paths: committer: anyOf: - type: 'null' - - *402 + - *404 comment_count: type: integer message: @@ -112202,7 +112426,7 @@ paths: url: type: string format: uri - verification: *521 + verification: *525 required: - author - committer @@ -112217,7 +112441,7 @@ paths: committer: anyOf: - type: 'null' - - *402 + - *404 parents: type: array items: @@ -112234,7 +112458,7 @@ paths: type: number node_id: type: string - text_matches: *699 + text_matches: *703 required: - sha - node_id @@ -112426,7 +112650,7 @@ paths: - interactions - created - updated - - *700 + - *704 - *17 - *19 - name: advanced_search @@ -112540,11 +112764,11 @@ paths: type: - string - 'null' - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: type: string state_reason: @@ -112558,7 +112782,7 @@ paths: milestone: anyOf: - type: 'null' - - *280 + - *282 comments: type: integer created_at: @@ -112572,7 +112796,7 @@ paths: - string - 'null' format: date-time - text_matches: *699 + text_matches: *703 pull_request: type: object properties: @@ -112621,7 +112845,7 @@ paths: timeline_url: type: string format: uri - type: *244 + type: *246 performed_via_github_app: anyOf: - type: 'null' @@ -112882,7 +113106,7 @@ paths: enum: - created - updated - - *700 + - *704 - *17 - *19 responses: @@ -112927,7 +113151,7 @@ paths: - 'null' score: type: number - text_matches: *699 + text_matches: *703 required: - id - node_id @@ -113012,7 +113236,7 @@ paths: - forks - help-wanted-issues - updated - - *700 + - *704 - *17 - *19 responses: @@ -113258,7 +113482,7 @@ paths: - admin - pull - push - text_matches: *699 + text_matches: *703 temp_clone_token: type: string allow_merge_commit: @@ -113566,7 +113790,7 @@ paths: - string - 'null' format: uri - text_matches: *699 + text_matches: *703 related: type: - array @@ -113759,7 +113983,7 @@ paths: - followers - repositories - joined - - *700 + - *704 - *17 - *19 responses: @@ -113869,7 +114093,7 @@ paths: type: - boolean - 'null' - text_matches: *699 + text_matches: *703 blog: type: - string @@ -113951,7 +114175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &703 + - &707 name: team_id description: The unique identifier of the team. in: path @@ -113963,9 +114187,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: false @@ -113992,7 +114216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *703 + - *707 requestBody: required: true content: @@ -114062,16 +114286,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '201': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 '422': *15 '403': *27 @@ -114099,7 +114323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *703 + - *707 responses: '204': description: Response @@ -114128,7 +114352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *703 + - *707 - *17 - *19 responses: @@ -114138,9 +114362,9 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *63 x-github: @@ -114168,7 +114392,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *703 + - *707 - name: role description: Filters members returned by their role in the team. in: query @@ -114189,9 +114413,9 @@ paths: application/json: schema: type: array - items: *704 + items: *708 examples: - default: *705 + default: *709 headers: Link: *63 '404': *6 @@ -114219,7 +114443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -114256,7 +114480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -114296,7 +114520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -114333,16 +114557,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *703 + - *707 - *68 responses: '200': description: Response content: application/json: - schema: *337 + schema: *339 examples: - response-if-user-is-a-team-maintainer: *706 + response-if-user-is-a-team-maintainer: *710 '404': *6 x-github: githubCloudOnly: false @@ -114375,7 +114599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *703 + - *707 - *68 requestBody: required: false @@ -114401,9 +114625,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *339 examples: - response-if-users-membership-with-team-is-now-pending: *707 + response-if-users-membership-with-team-is-now-pending: *711 '403': description: Forbidden if team synchronization is set up '422': @@ -114437,7 +114661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *703 + - *707 - *68 responses: '204': @@ -114465,7 +114689,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *703 + - *707 - *17 - *19 responses: @@ -114477,7 +114701,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 '404': *6 @@ -114507,15 +114731,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *703 - - *338 - - *339 + - *707 + - *340 + - *341 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *708 + schema: *712 examples: alternative-response-with-extra-repository-information: value: @@ -114672,9 +114896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *703 - - *338 - - *339 + - *707 + - *340 + - *341 requestBody: required: false content: @@ -114724,9 +114948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *703 - - *338 - - *339 + - *707 + - *340 + - *341 responses: '204': description: Response @@ -114751,7 +114975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *703 + - *707 - *17 - *19 responses: @@ -114761,9 +114985,9 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: - response-if-child-teams-exist: *709 + response-if-child-teams-exist: *713 headers: Link: *63 '404': *6 @@ -114798,7 +115022,7 @@ paths: application/json: schema: oneOf: - - &711 + - &715 title: Private User description: Private User type: object @@ -115048,7 +115272,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *710 + - *714 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -115208,7 +115432,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *715 examples: default: value: @@ -115411,9 +115635,9 @@ paths: type: integer codespaces: type: array - items: *249 + items: *251 examples: - default: *250 + default: *252 '304': *32 '500': *50 '401': *23 @@ -115552,17 +115776,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '401': *23 '403': *27 '404': *6 @@ -115606,7 +115830,7 @@ paths: type: integer secrets: type: array - items: &712 + items: &716 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -115648,7 +115872,7 @@ paths: - visibility - selected_repositories_url examples: - default: *462 + default: *466 headers: Link: *63 x-github: @@ -115726,7 +115950,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *716 examples: default: value: @@ -115872,7 +116096,7 @@ paths: type: array items: *153 examples: - default: *199 + default: *201 '401': *23 '403': *27 '404': *6 @@ -116016,15 +116240,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '304': *32 '500': *50 '401': *23 @@ -116050,7 +116274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 requestBody: required: false content: @@ -116080,9 +116304,9 @@ paths: description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '401': *23 '403': *27 '404': *6 @@ -116104,7 +116328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '202': *34 '304': *32 @@ -116133,13 +116357,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '202': description: Response content: application/json: - schema: &713 + schema: &717 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -116192,7 +116416,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &714 + default: &718 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -116224,7 +116448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *251 + - *253 - name: export_id in: path required: true @@ -116237,9 +116461,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *714 + default: *718 '404': *6 x-github: githubCloudOnly: false @@ -116260,7 +116484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *251 + - *253 responses: '200': description: Response @@ -116276,9 +116500,9 @@ paths: type: integer machines: type: array - items: *461 + items: *465 examples: - default: *715 + default: *719 '304': *32 '500': *50 '401': *23 @@ -116307,7 +116531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *251 + - *253 requestBody: required: true content: @@ -116363,11 +116587,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *341 + repository: *343 machine: anyOf: - type: 'null' - - *461 + - *465 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -117164,15 +117388,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '304': *32 '500': *50 '400': *14 @@ -117204,15 +117428,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *251 + - *253 responses: '200': description: Response content: application/json: - schema: *249 + schema: *251 examples: - default: *460 + default: *464 '500': *50 '401': *23 '403': *27 @@ -117242,9 +117466,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: &727 + default: &731 value: - id: 197 name: hello_docker @@ -117345,7 +117569,7 @@ paths: application/json: schema: type: array - items: &716 + items: &720 title: Email description: Email type: object @@ -117415,9 +117639,9 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: - default: &729 + default: &733 value: - email: octocat@github.com verified: true @@ -117494,7 +117718,7 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: default: value: @@ -117752,7 +117976,7 @@ paths: application/json: schema: type: array - items: &717 + items: &721 title: GPG Key description: A unique encryption key type: object @@ -117897,7 +118121,7 @@ paths: - subkeys - revoked examples: - default: &746 + default: &750 value: - id: 3 name: Octocat's GPG Key @@ -117982,9 +118206,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *721 examples: - default: &718 + default: &722 value: id: 3 name: Octocat's GPG Key @@ -118041,7 +118265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &719 + - &723 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -118053,9 +118277,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *721 examples: - default: *718 + default: *722 '404': *6 '304': *32 '403': *27 @@ -118078,7 +118302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *719 + - *723 responses: '204': description: Response @@ -118366,12 +118590,12 @@ paths: application/json: schema: anyOf: - - *236 + - *238 - type: object properties: {} additionalProperties: false examples: - default: *237 + default: *239 '204': description: Response when there are no restrictions x-github: @@ -118395,7 +118619,7 @@ paths: required: true content: application/json: - schema: *532 + schema: *536 examples: default: value: @@ -118406,7 +118630,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *238 examples: default: value: @@ -118487,7 +118711,7 @@ paths: - closed - all default: open - - *247 + - *249 - name: sort description: What to sort results by. in: query @@ -118512,7 +118736,7 @@ paths: type: array items: *80 examples: - default: *248 + default: *250 headers: Link: *63 '404': *6 @@ -118545,7 +118769,7 @@ paths: application/json: schema: type: array - items: &720 + items: &724 title: Key description: Key type: object @@ -118648,9 +118872,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *724 examples: - default: &721 + default: &725 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118683,15 +118907,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *581 + - *585 responses: '200': description: Response content: application/json: - schema: *720 + schema: *724 examples: - default: *721 + default: *725 '404': *6 '304': *32 '403': *27 @@ -118714,7 +118938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *581 + - *585 responses: '204': description: Response @@ -118747,7 +118971,7 @@ paths: application/json: schema: type: array - items: &722 + items: &726 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -118826,7 +119050,7 @@ paths: - account - plan examples: - default: &723 + default: &727 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118888,9 +119112,9 @@ paths: application/json: schema: type: array - items: *722 + items: *726 examples: - default: *723 + default: *727 headers: Link: *63 '304': *32 @@ -118930,7 +119154,7 @@ paths: application/json: schema: type: array - items: *253 + items: *255 examples: default: value: @@ -119044,7 +119268,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *255 examples: default: value: @@ -119131,9 +119355,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *253 + schema: *255 examples: - default: &724 + default: &728 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -119180,9 +119404,9 @@ paths: processed asynchronously. content: application/json: - schema: *253 + schema: *255 examples: - default: *724 + default: *728 '403': *27 '404': *6 '422': *15 @@ -119211,7 +119435,7 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: default: value: @@ -119473,7 +119697,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -119653,7 +119877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *256 + - *258 - name: exclude in: query required: false @@ -119666,7 +119890,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -119860,7 +120084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *256 + - *258 responses: '302': description: Response @@ -119886,7 +120110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *256 + - *258 responses: '204': description: Response @@ -119915,8 +120139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *256 - - *725 + - *258 + - *729 responses: '204': description: Response @@ -119940,7 +120164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *256 + - *258 - *17 - *19 responses: @@ -119952,7 +120176,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 '404': *6 @@ -120049,7 +120273,7 @@ paths: - docker - nuget - container - - *726 + - *730 - *19 - *17 responses: @@ -120059,10 +120283,10 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *727 - '400': *728 + default: *731 + '400': *732 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120082,16 +120306,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: &747 + default: &751 value: id: 40201 name: octo-name @@ -120204,8 +120428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 responses: '204': description: Response @@ -120235,8 +120459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 - name: token description: package token schema: @@ -120268,8 +120492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *263 - - *264 + - *265 + - *266 - *19 - *17 - name: state @@ -120289,7 +120513,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -120338,15 +120562,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -120382,9 +120606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '204': description: Response @@ -120414,9 +120638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 responses: '204': description: Response @@ -120453,9 +120677,9 @@ paths: application/json: schema: type: array - items: *716 + items: *720 examples: - default: *729 + default: *733 headers: Link: *63 '304': *32 @@ -120568,7 +120792,7 @@ paths: type: array items: *76 examples: - default: &736 + default: &740 summary: Default response value: - id: 1296269 @@ -120886,9 +121110,9 @@ paths: description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *343 + default: *345 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120932,9 +121156,9 @@ paths: application/json: schema: type: array - items: *535 + items: *539 examples: - default: *730 + default: *734 headers: Link: *63 '304': *32 @@ -120957,7 +121181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *240 + - *242 responses: '204': description: Response @@ -120986,7 +121210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *240 + - *242 responses: '204': description: Response @@ -121019,7 +121243,7 @@ paths: application/json: schema: type: array - items: &731 + items: &735 title: Social account description: Social media account type: object @@ -121036,7 +121260,7 @@ paths: - provider - url examples: - default: &732 + default: &736 value: - provider: twitter url: https://twitter.com/github @@ -121099,9 +121323,9 @@ paths: application/json: schema: type: array - items: *731 + items: *735 examples: - default: *732 + default: *736 '422': *15 '304': *32 '404': *6 @@ -121189,7 +121413,7 @@ paths: application/json: schema: type: array - items: &733 + items: &737 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -121209,7 +121433,7 @@ paths: - title - created_at examples: - default: &764 + default: &768 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121274,9 +121498,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *737 examples: - default: &734 + default: &738 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121306,7 +121530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &735 + - &739 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121318,9 +121542,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *737 examples: - default: *734 + default: *738 '404': *6 '304': *32 '403': *27 @@ -121343,7 +121567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *735 + - *739 responses: '204': description: Response @@ -121372,7 +121596,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &765 + - &769 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -121397,11 +121621,11 @@ paths: type: array items: *76 examples: - default-response: *736 + default-response: *740 application/vnd.github.v3.star+json: schema: type: array - items: &766 + items: &770 title: Starred Repository description: Starred Repository type: object @@ -121557,8 +121781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response if this repository is starred by you @@ -121586,8 +121810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -121611,8 +121835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *338 - - *339 + - *340 + - *341 responses: '204': description: Response @@ -121647,7 +121871,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 '304': *32 @@ -121684,7 +121908,7 @@ paths: application/json: schema: type: array - items: *334 + items: *336 examples: default: value: @@ -121770,10 +121994,10 @@ paths: application/json: schema: oneOf: - - *711 - - *710 + - *715 + - *714 examples: - default-response: &740 + default-response: &744 summary: Default response value: login: octocat @@ -121808,7 +122032,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &741 + response-with-git-hub-plan-information: &745 summary: Response with GitHub plan information value: login: octocat @@ -121865,14 +122089,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &738 + - &742 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *279 + - *281 requestBody: required: true description: Details of the draft item to create in the project. @@ -121906,9 +122130,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - draft_issue: *285 + draft_issue: *287 '304': *32 '403': *27 '401': *23 @@ -121931,7 +122155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *737 + - *741 - *17 responses: '200': @@ -121966,8 +122190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *738 - - *279 + - *742 + - *281 requestBody: required: true content: @@ -122082,17 +122306,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *739 + schema: *743 examples: table_view: summary: Response for creating a table view - value: *289 + value: *291 board_view: summary: Response for creating a board view with filter - value: *289 + value: *291 roadmap_view: summary: Response for creating a roadmap view - value: *289 + value: *291 '304': *32 '403': *27 '401': *23 @@ -122138,11 +122362,11 @@ paths: application/json: schema: oneOf: - - *711 - - *710 + - *715 + - *714 examples: - default-response: *740 - response-with-git-hub-plan-information: *741 + default-response: *744 + response-with-git-hub-plan-information: *745 '404': *6 x-github: githubCloudOnly: false @@ -122192,8 +122416,8 @@ paths: required: - subject_digests examples: - default: *742 - withPredicateType: *743 + default: *746 + withPredicateType: *747 responses: '200': description: Response @@ -122247,7 +122471,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *744 + default: *748 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122467,7 +122691,7 @@ paths: initiator: type: string examples: - default: *398 + default: *400 '201': description: Response content: @@ -122548,7 +122772,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *194 + items: *196 examples: default: summary: Example response for listing user copilot spaces @@ -122763,9 +122987,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: &745 + default: &749 summary: Example response for a user copilot space value: id: 42 @@ -122864,9 +123088,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *745 + default: *749 '403': *27 '404': *6 x-github: @@ -122990,9 +123214,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *196 examples: - default: *745 + default: *749 '403': *27 '404': *6 '422': *15 @@ -123069,7 +123293,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *196 + items: *198 examples: default: value: @@ -123212,7 +123436,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: default: value: @@ -123323,7 +123547,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: default: value: @@ -123453,7 +123677,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *197 + items: *199 examples: default: value: @@ -123545,7 +123769,7 @@ paths: description: Resource created content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -123561,7 +123785,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -123614,7 +123838,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -123681,7 +123905,7 @@ paths: description: Response content: application/json: - schema: *197 + schema: *199 examples: default: value: @@ -123758,9 +123982,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *727 + default: *731 '403': *27 '401': *23 x-github: @@ -124150,9 +124374,9 @@ paths: application/json: schema: type: array - items: *717 + items: *721 examples: - default: *746 + default: *750 headers: Link: *63 x-github: @@ -124256,7 +124480,7 @@ paths: application/json: schema: *20 examples: - default: *531 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -124381,7 +124605,7 @@ paths: - docker - nuget - container - - *726 + - *730 - *68 - *19 - *17 @@ -124392,12 +124616,12 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *727 + default: *731 '403': *27 '401': *23 - '400': *728 + '400': *732 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -124417,17 +124641,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *747 + default: *751 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -124448,8 +124672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 responses: '204': @@ -124482,8 +124706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 - name: token description: package token @@ -124516,8 +124740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *263 - - *264 + - *265 + - *266 - *68 responses: '200': @@ -124526,7 +124750,7 @@ paths: application/json: schema: type: array - items: *265 + items: *267 examples: default: value: @@ -124584,16 +124808,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *263 - - *264 + - *265 - *266 + - *268 - *68 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: default: value: @@ -124628,10 +124852,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *263 - - *264 - - *68 + - *265 - *266 + - *68 + - *268 responses: '204': description: Response @@ -124663,10 +124887,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *263 - - *264 - - *68 + - *265 - *266 + - *68 + - *268 responses: '204': description: Response @@ -124707,9 +124931,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: Link: *63 '304': *32 @@ -124731,16 +124955,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *279 + - *281 - *68 responses: '200': description: Response content: application/json: - schema: *277 + schema: *279 examples: - default: *278 + default: *280 headers: Link: *63 '304': *32 @@ -124762,7 +124986,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *279 + - *281 - *68 - *17 - *42 @@ -124774,9 +124998,9 @@ paths: application/json: schema: type: array - items: *282 + items: *284 examples: - default: *748 + default: *752 headers: Link: *63 '304': *32 @@ -124798,7 +125022,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *68 - - *279 + - *281 requestBody: required: true content: @@ -124836,7 +125060,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *749 + items: *753 required: - name - data_type @@ -124852,7 +125076,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *750 + iteration_configuration: *754 required: - name - data_type @@ -124874,20 +125098,20 @@ paths: value: name: Due date data_type: date - single_select_field: *751 - iteration_field: *752 + single_select_field: *755 + iteration_field: *756 responses: '201': description: Response content: application/json: - schema: *282 + schema: *284 examples: - text_field: *753 - number_field: *754 - date_field: *755 - single_select_field: *756 - iteration_field: *757 + text_field: *757 + number_field: *758 + date_field: *759 + single_select_field: *760 + iteration_field: *761 '304': *32 '403': *27 '401': *23 @@ -124908,17 +125132,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *279 - - *758 + - *281 + - *762 - *68 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: *759 + default: *763 headers: Link: *63 '304': *32 @@ -124941,7 +125165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *279 + - *281 - *68 - *42 - *43 @@ -124974,9 +125198,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -124998,7 +125222,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *68 - - *279 + - *281 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -125068,22 +125292,22 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *285 + value: *287 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *285 + value: *287 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *285 + value: *287 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *285 + value: *287 '304': *32 '403': *27 '401': *23 @@ -125103,9 +125327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *279 + - *281 - *68 - - *288 + - *290 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -125125,9 +125349,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -125148,9 +125372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *279 + - *281 - *68 - - *288 + - *290 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -125223,13 +125447,13 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - text_field: *287 - number_field: *287 - date_field: *287 - single_select_field: *287 - iteration_field: *287 + text_field: *289 + number_field: *289 + date_field: *289 + single_select_field: *289 + iteration_field: *289 '401': *23 '403': *27 '404': *6 @@ -125249,9 +125473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *279 + - *281 - *68 - - *288 + - *290 responses: '204': description: Response @@ -125273,9 +125497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *279 + - *281 - *68 - - *760 + - *764 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -125301,9 +125525,9 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 headers: Link: *63 '304': *32 @@ -125524,7 +125748,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -125814,7 +126038,7 @@ paths: parameters: - *68 - *114 - - *761 + - *765 - *116 responses: '200': @@ -125913,9 +126137,9 @@ paths: - *114 - *115 - *116 - - *762 + - *766 - *119 - - *763 + - *767 responses: '200': description: Response when getting a billing usage summary @@ -126049,9 +126273,9 @@ paths: application/json: schema: type: array - items: *731 + items: *735 examples: - default: *732 + default: *736 headers: Link: *63 x-github: @@ -126081,9 +126305,9 @@ paths: application/json: schema: type: array - items: *733 + items: *737 examples: - default: *764 + default: *768 headers: Link: *63 x-github: @@ -126110,7 +126334,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *68 - - *765 + - *769 - *57 - *17 - *19 @@ -126122,11 +126346,11 @@ paths: schema: anyOf: - type: array - items: *766 + items: *770 - type: array items: *76 examples: - default-response: *736 + default-response: *740 headers: Link: *63 x-github: @@ -126157,7 +126381,7 @@ paths: type: array items: *153 examples: - default: *267 + default: *269 headers: Link: *63 x-github: @@ -126286,7 +126510,7 @@ webhooks: type: string enum: - disabled - enterprise: &767 + enterprise: &771 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -126355,7 +126579,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &768 + installation: &772 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -126376,7 +126600,7 @@ webhooks: required: - id - node_id - organization: &769 + organization: &773 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -126449,7 +126673,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &770 + repository: &774 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -127389,10 +127613,10 @@ webhooks: type: string enum: - enabled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -127468,11 +127692,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: &771 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + rule: &775 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -127695,11 +127919,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + rule: *775 sender: *4 required: - action @@ -127887,11 +128111,11 @@ webhooks: - everyone required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - rule: *771 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + rule: *775 sender: *4 required: - action @@ -127975,7 +128199,7 @@ webhooks: type: string enum: - completed - check_run: &773 + check_run: &777 title: CheckRun description: A check performed on the code of a given code change type: object @@ -128085,7 +128309,7 @@ webhooks: - examples: - neutral - deployment: *772 + deployment: *776 details_url: type: string examples: @@ -128183,10 +128407,10 @@ webhooks: - output - app - pull_requests - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 sender: *4 required: - check_run @@ -128577,11 +128801,11 @@ webhooks: type: string enum: - created - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *777 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 sender: *4 required: - check_run @@ -128975,11 +129199,11 @@ webhooks: type: string enum: - requested_action - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *777 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 requested_action: description: The action requested by the user. type: object @@ -129382,11 +129606,11 @@ webhooks: type: string enum: - rerequested - check_run: *773 - installation: *768 - enterprise: *767 - organization: *769 - repository: *770 + check_run: *777 + installation: *772 + enterprise: *771 + organization: *773 + repository: *774 sender: *4 required: - check_run @@ -130371,10 +130595,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -131088,10 +131312,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -131799,10 +132023,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -131971,7 +132195,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132124,20 +132348,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &774 + commit_oid: &778 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *767 - installation: *768 - organization: *769 - ref: &775 + enterprise: *771 + installation: *772 + organization: *773 + ref: &779 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *770 + repository: *774 sender: *4 required: - action @@ -132304,7 +132528,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132546,12 +132770,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -132649,7 +132873,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -132834,12 +133058,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -133008,7 +133232,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -133186,12 +133410,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -133292,7 +133516,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -133481,9 +133705,9 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -133491,7 +133715,7 @@ webhooks: type: - string - 'null' - repository: *770 + repository: *774 sender: *4 required: - action @@ -133590,7 +133814,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -133737,12 +133961,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *774 - enterprise: *767 - installation: *768 - organization: *769 - ref: *775 - repository: *770 + commit_oid: *778 + enterprise: *771 + installation: *772 + organization: *773 + ref: *779 + repository: *774 sender: *4 required: - action @@ -133911,7 +134135,7 @@ webhooks: required: - login - id - dismissed_comment: *431 + dismissed_comment: *435 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -134064,10 +134288,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -134327,10 +134551,10 @@ webhooks: - updated_at - author_association - body - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -134411,18 +134635,18 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *769 - pusher_type: &776 + organization: *773 + pusher_type: &780 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &777 + ref: &781 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -134432,7 +134656,7 @@ webhooks: enum: - tag - branch - repository: *770 + repository: *774 sender: *4 required: - ref @@ -134514,10 +134738,10 @@ webhooks: type: string enum: - created - definition: *290 - enterprise: *767 - installation: *768 - organization: *769 + definition: *292 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -134602,9 +134826,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -134681,10 +134905,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *290 - enterprise: *767 - installation: *768 - organization: *769 + definition: *292 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -134761,10 +134985,10 @@ webhooks: type: string enum: - updated - definition: *290 - enterprise: *767 - installation: *768 - organization: *769 + definition: *292 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -134841,19 +135065,19 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - repository: *770 - organization: *769 + enterprise: *771 + installation: *772 + repository: *774 + organization: *773 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *294 + items: *296 old_property_values: type: array description: The old custom property values for the repository. - items: *294 + items: *296 required: - action - repository @@ -134929,18 +135153,18 @@ webhooks: title: delete event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - pusher_type: *776 - ref: *777 + enterprise: *771 + installation: *772 + organization: *773 + pusher_type: *780 + ref: *781 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *770 + repository: *774 sender: *4 required: - ref @@ -135020,11 +135244,11 @@ webhooks: type: string enum: - assignees_changed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -135104,11 +135328,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -135189,11 +135413,11 @@ webhooks: type: string enum: - auto_reopened - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -135274,11 +135498,11 @@ webhooks: type: string enum: - created - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -135357,11 +135581,11 @@ webhooks: type: string enum: - dismissed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -135440,11 +135664,11 @@ webhooks: type: string enum: - fixed - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -135524,11 +135748,11 @@ webhooks: type: string enum: - reintroduced - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -135607,11 +135831,11 @@ webhooks: type: string enum: - reopened - alert: *491 - installation: *768 - organization: *769 - enterprise: *767 - repository: *770 + alert: *495 + installation: *772 + organization: *773 + enterprise: *771 + repository: *774 sender: *4 required: - action @@ -135688,9 +135912,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - key: &778 + enterprise: *771 + installation: *772 + key: &782 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -135728,8 +135952,8 @@ webhooks: - verified - created_at - read_only - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -135806,11 +136030,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - key: *778 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + key: *782 + organization: *773 + repository: *774 sender: *4 required: - action @@ -136377,12 +136601,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: &782 + workflow: &786 title: Workflow type: - object @@ -137133,13 +137357,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *498 + - *502 pull_requests: type: array - items: *600 - repository: *770 - organization: *769 - installation: *768 + items: *604 + repository: *774 + organization: *773 + installation: *772 sender: *4 responses: '200': @@ -137210,7 +137434,7 @@ webhooks: type: string enum: - approved - approver: &779 + approver: &783 type: object properties: avatar_url: @@ -137253,11 +137477,11 @@ webhooks: type: string comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: &780 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + reviewers: &784 type: array items: type: object @@ -137338,7 +137562,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &781 + workflow_job_run: &785 type: object properties: conclusion: @@ -138084,18 +138308,18 @@ webhooks: type: string enum: - rejected - approver: *779 + approver: *783 comment: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - reviewers: *780 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + reviewers: *784 sender: *4 since: type: string - workflow_job_run: *781 + workflow_job_run: *785 workflow_job_runs: type: array items: @@ -138812,13 +139036,13 @@ webhooks: type: string enum: - requested - enterprise: *767 + enterprise: *771 environment: type: string - installation: *768 - organization: *769 - repository: *770 - requestor: &787 + installation: *772 + organization: *773 + repository: *774 + requestor: &791 title: User type: - object @@ -140751,12 +140975,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Deployment Workflow Run type: @@ -141447,7 +141671,7 @@ webhooks: type: string enum: - answered - answer: &785 + answer: &789 type: object properties: author_association: @@ -141607,11 +141831,11 @@ webhooks: - created_at - updated_at - body - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141738,11 +141962,11 @@ webhooks: - from required: - category - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141825,11 +142049,11 @@ webhooks: type: string enum: - closed - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -141911,7 +142135,7 @@ webhooks: type: string enum: - created - comment: &784 + comment: &788 type: object properties: author_association: @@ -142071,11 +142295,11 @@ webhooks: - updated_at - body - reactions - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142158,12 +142382,12 @@ webhooks: type: string enum: - deleted - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *788 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142258,12 +142482,12 @@ webhooks: - from required: - body - comment: *784 - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + comment: *788 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142347,11 +142571,11 @@ webhooks: type: string enum: - created - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142433,11 +142657,11 @@ webhooks: type: string enum: - deleted - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142537,11 +142761,11 @@ webhooks: type: string required: - from - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142623,10 +142847,10 @@ webhooks: type: string enum: - labeled - discussion: *783 - enterprise: *767 - installation: *768 - label: &786 + discussion: *787 + enterprise: *771 + installation: *772 + label: &790 title: Label type: object properties: @@ -142659,8 +142883,8 @@ webhooks: - color - default - description - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142743,11 +142967,11 @@ webhooks: type: string enum: - locked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142829,11 +143053,11 @@ webhooks: type: string enum: - pinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -142915,11 +143139,11 @@ webhooks: type: string enum: - reopened - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -143004,16 +143228,16 @@ webhooks: changes: type: object properties: - new_discussion: *783 - new_repository: *770 + new_discussion: *787 + new_repository: *774 required: - new_discussion - new_repository - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -143096,10 +143320,10 @@ webhooks: type: string enum: - unanswered - discussion: *783 - old_answer: *785 - organization: *769 - repository: *770 + discussion: *787 + old_answer: *789 + organization: *773 + repository: *774 sender: *4 required: - action @@ -143181,12 +143405,12 @@ webhooks: type: string enum: - unlabeled - discussion: *783 - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -143269,11 +143493,11 @@ webhooks: type: string enum: - unlocked - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -143355,11 +143579,11 @@ webhooks: type: string enum: - unpinned - discussion: *783 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + discussion: *787 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -143432,7 +143656,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *767 + enterprise: *771 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -144110,9 +144334,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - forkee @@ -144258,9 +144482,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pages: description: The pages that were updated. type: array @@ -144298,7 +144522,7 @@ webhooks: - action - sha - html_url - repository: *770 + repository: *774 sender: *4 required: - pages @@ -144374,10 +144598,10 @@ webhooks: type: string enum: - created - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: &788 + organization: *773 + repositories: &792 description: An array of repository objects that the installation can access. type: array @@ -144403,8 +144627,8 @@ webhooks: - name - full_name - private - repository: *770 - requester: *787 + repository: *774 + requester: *791 sender: *4 required: - action @@ -144479,11 +144703,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -144560,11 +144784,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -144641,10 +144865,10 @@ webhooks: type: string enum: - added - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories_added: &789 + organization: *773 + repositories_added: &793 description: An array of repository objects, which were added to the installation. type: array @@ -144691,15 +144915,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *770 - repository_selection: &790 + repository: *774 + repository_selection: &794 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *787 + requester: *791 sender: *4 required: - action @@ -144778,10 +145002,10 @@ webhooks: type: string enum: - removed - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories_added: *789 + organization: *773 + repositories_added: *793 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -144809,9 +145033,9 @@ webhooks: - name - full_name - private - repository: *770 - repository_selection: *790 - requester: *787 + repository: *774 + repository_selection: *794 + requester: *791 sender: *4 required: - action @@ -144890,11 +145114,11 @@ webhooks: type: string enum: - suspend - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -145076,10 +145300,10 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 target_type: type: string @@ -145158,11 +145382,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *767 + enterprise: *771 installation: *20 - organization: *769 - repositories: *788 - repository: *770 + organization: *773 + repositories: *792 + repository: *774 requester: type: - 'null' @@ -145328,11 +145552,11 @@ webhooks: pin: anyOf: - type: 'null' - - *566 + - *570 minimized: anyOf: - type: 'null' - - *567 + - *571 user: title: User type: @@ -145418,8 +145642,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -146231,8 +146455,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146249,7 +146473,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -146593,8 +146817,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -146674,7 +146898,7 @@ webhooks: type: string enum: - deleted - comment: &791 + comment: &795 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -146831,11 +147055,11 @@ webhooks: pin: anyOf: - type: 'null' - - *566 + - *570 minimized: anyOf: - type: 'null' - - *567 + - *571 required: - url - html_url @@ -146849,8 +147073,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -147658,8 +147882,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147676,7 +147900,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -148022,8 +148246,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -148103,7 +148327,7 @@ webhooks: type: string enum: - edited - changes: &815 + changes: &819 description: The changes to the comment. type: object properties: @@ -148115,9 +148339,9 @@ webhooks: type: string required: - from - comment: *791 - enterprise: *767 - installation: *768 + comment: *795 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -148928,8 +149152,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148946,7 +149170,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -149290,8 +149514,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -149372,9 +149596,9 @@ webhooks: type: string enum: - pinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *795 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -150187,8 +150411,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150205,7 +150429,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -150551,8 +150775,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -150632,9 +150856,9 @@ webhooks: type: string enum: - unpinned - comment: *791 - enterprise: *767 - installation: *768 + comment: *795 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -151447,8 +151671,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151465,7 +151689,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -151811,8 +152035,8 @@ webhooks: - state - locked - assignee - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -151901,9 +152125,9 @@ webhooks: type: number blocking_issue: *80 blocking_issue_repo: *76 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -151992,9 +152216,9 @@ webhooks: type: number blocking_issue: *80 blocking_issue_repo: *76 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -152082,9 +152306,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -152173,9 +152397,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -152255,10 +152479,10 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - issue: &792 + assignee: *791 + enterprise: *771 + installation: *772 + issue: &796 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -153069,11 +153293,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153090,7 +153314,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -153193,8 +153417,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -153274,8 +153498,8 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -154091,11 +154315,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154112,7 +154336,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -154358,8 +154582,8 @@ webhooks: required: - state - closed_at - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -154438,8 +154662,8 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155246,11 +155470,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155267,7 +155491,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -155369,8 +155593,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -155449,8 +155673,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156280,11 +156504,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156301,7 +156525,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -156382,7 +156606,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &797 title: Milestone description: A collection of related issues and pull requests. type: object @@ -156525,8 +156749,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -156625,8 +156849,8 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157437,11 +157661,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157455,7 +157679,7 @@ webhooks: timeline_url: type: string format: uri - type: *244 + type: *246 title: description: Title of the issue type: string @@ -157561,9 +157785,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -157643,9 +157867,9 @@ webhooks: type: string enum: - field_added - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *771 + installation: *772 + issue: *796 issue_field: type: object description: The issue field whose value was set or updated on the @@ -157811,8 +158035,8 @@ webhooks: - id required: - from - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -157892,9 +158116,9 @@ webhooks: type: string enum: - field_removed - enterprise: *767 - installation: *768 - issue: *792 + enterprise: *771 + installation: *772 + issue: *796 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -157981,8 +158205,8 @@ webhooks: - 'null' required: - id - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -158062,8 +158286,8 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158873,11 +159097,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158891,7 +159115,7 @@ webhooks: timeline_url: type: string format: uri - type: *244 + type: *246 title: description: Title of the issue type: string @@ -158997,9 +159221,9 @@ webhooks: - active_lock_reason - body - reactions - label: *786 - organization: *769 - repository: *770 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -159079,8 +159303,8 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159915,11 +160139,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159933,7 +160157,7 @@ webhooks: timeline_url: type: string format: uri - type: *244 + type: *246 title: description: Title of the issue type: string @@ -160016,8 +160240,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -160096,8 +160320,8 @@ webhooks: type: string enum: - milestoned - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160926,11 +161150,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160947,7 +161171,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -161027,9 +161251,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *769 - repository: *770 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -161916,11 +162140,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162020,7 +162244,7 @@ webhooks: required: - login - id - type: *244 + type: *246 required: - id - number @@ -162512,8 +162736,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -163320,11 +163544,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163341,7 +163565,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -163447,8 +163671,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -163528,9 +163752,9 @@ webhooks: type: string enum: - pinned - enterprise: *767 - installation: *768 - issue: &794 + enterprise: *771 + installation: *772 + issue: &798 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -164335,11 +164559,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164356,7 +164580,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -164458,8 +164682,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -164538,8 +164762,8 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -165372,11 +165596,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165473,9 +165697,9 @@ webhooks: format: uri user_view_type: type: string - type: *244 - organization: *769 - repository: *770 + type: *246 + organization: *773 + repository: *774 sender: *4 required: - action @@ -166363,11 +166587,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166384,7 +166608,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -166977,11 +167201,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *798 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167061,12 +167285,12 @@ webhooks: type: string enum: - typed - enterprise: *767 - installation: *768 - issue: *792 - type: *244 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + type: *246 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167147,7 +167371,7 @@ webhooks: type: string enum: - unassigned - assignee: &818 + assignee: &822 title: User type: - object @@ -167219,11 +167443,11 @@ webhooks: required: - login - id - enterprise: *767 - installation: *768 - issue: *792 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167302,12 +167526,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - issue: *792 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -167387,8 +167611,8 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -168221,11 +168445,11 @@ webhooks: anyOf: - type: 'null' - *81 - sub_issues_summary: *701 - issue_dependencies_summary: *702 + sub_issues_summary: *705 + issue_dependencies_summary: *706 issue_field_values: type: array - items: *548 + items: *552 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168242,7 +168466,7 @@ webhooks: title: description: Title of the issue type: string - type: *244 + type: *246 updated_at: type: string format: date-time @@ -168322,8 +168546,8 @@ webhooks: format: uri user_view_type: type: string - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168403,11 +168627,11 @@ webhooks: type: string enum: - unpinned - enterprise: *767 - installation: *768 - issue: *794 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *798 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168486,12 +168710,12 @@ webhooks: type: string enum: - untyped - enterprise: *767 - installation: *768 - issue: *792 - type: *244 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + issue: *796 + type: *246 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168571,11 +168795,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168653,11 +168877,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168767,11 +168991,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - label: *786 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + label: *790 + organization: *773 + repository: *774 sender: *4 required: - action @@ -168853,9 +169077,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: &795 + enterprise: *771 + installation: *772 + marketplace_purchase: &799 title: Marketplace Purchase type: object required: @@ -168943,8 +169167,8 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: &796 + organization: *773 + previous_marketplace_purchase: &800 title: Marketplace Purchase type: object properties: @@ -169028,7 +169252,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *774 sender: *4 required: - action @@ -169108,10 +169332,10 @@ webhooks: - changed effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *771 + installation: *772 + marketplace_purchase: *799 + organization: *773 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -169199,7 +169423,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *774 sender: *4 required: - action @@ -169281,10 +169505,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 + enterprise: *771 + installation: *772 + marketplace_purchase: *799 + organization: *773 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -169370,7 +169594,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *770 + repository: *774 sender: *4 required: - action @@ -169451,8 +169675,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 marketplace_purchase: title: Marketplace Purchase type: object @@ -169538,9 +169762,9 @@ webhooks: type: integer unit_count: type: integer - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + organization: *773 + previous_marketplace_purchase: *800 + repository: *774 sender: *4 required: - action @@ -169620,12 +169844,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *767 - installation: *768 - marketplace_purchase: *795 - organization: *769 - previous_marketplace_purchase: *796 - repository: *770 + enterprise: *771 + installation: *772 + marketplace_purchase: *799 + organization: *773 + previous_marketplace_purchase: *800 + repository: *774 sender: *4 required: - action @@ -169727,11 +169951,11 @@ webhooks: type: string required: - to - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169833,11 +170057,11 @@ webhooks: type: - string - 'null' - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169916,11 +170140,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 sender: *4 required: - action @@ -169998,11 +170222,11 @@ webhooks: type: string enum: - added - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 scope: description: The scope of the membership. Currently, can only be `team`. @@ -170080,7 +170304,7 @@ webhooks: required: - login - id - team: &797 + team: &801 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -170310,11 +170534,11 @@ webhooks: type: string enum: - removed - enterprise: *767 - installation: *768 - member: *787 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + member: *791 + organization: *773 + repository: *774 scope: description: The scope of the membership. Currently, can only be `team`. @@ -170393,7 +170617,7 @@ webhooks: required: - login - id - team: *797 + team: *801 required: - action - scope @@ -170475,8 +170699,8 @@ webhooks: type: string enum: - checks_requested - installation: *768 - merge_group: &798 + installation: *772 + merge_group: &802 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -170495,15 +170719,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *418 + head_commit: *420 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170589,10 +170813,10 @@ webhooks: - merged - invalidated - dequeued - installation: *768 - merge_group: *798 - organization: *769 - repository: *770 + installation: *772 + merge_group: *802 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170665,7 +170889,7 @@ webhooks: type: string enum: - deleted - enterprise: *767 + enterprise: *771 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -170774,12 +170998,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *768 - organization: *769 + installation: *772 + organization: *773 repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -170859,11 +171083,11 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -170942,9 +171166,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - milestone: &799 + enterprise: *771 + installation: *772 + milestone: &803 title: Milestone description: A collection of related issues and pull requests. type: object @@ -171086,8 +171310,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171166,11 +171390,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171280,11 +171504,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - milestone: *793 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *797 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171364,11 +171588,11 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - milestone: *799 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *803 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171447,11 +171671,11 @@ webhooks: type: string enum: - blocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *791 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171530,11 +171754,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *787 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + blocked_user: *791 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171613,9 +171837,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - membership: &800 + enterprise: *771 + installation: *772 + membership: &804 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -171725,8 +171949,8 @@ webhooks: - role - organization_url - user - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171804,11 +172028,11 @@ webhooks: type: string enum: - member_added - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + membership: *804 + organization: *773 + repository: *774 sender: *4 required: - action @@ -171887,8 +172111,8 @@ webhooks: type: string enum: - member_invited - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -172010,10 +172234,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 - user: *787 + user: *791 required: - action - invitation @@ -172091,11 +172315,11 @@ webhooks: type: string enum: - member_removed - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + membership: *804 + organization: *773 + repository: *774 sender: *4 required: - action @@ -172182,11 +172406,11 @@ webhooks: properties: from: type: string - enterprise: *767 - installation: *768 - membership: *800 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + membership: *804 + organization: *773 + repository: *774 sender: *4 required: - action @@ -172263,9 +172487,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 package: description: Information about the package. type: object @@ -172788,7 +173012,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &801 + items: &805 title: Ruby Gems metadata type: object properties: @@ -172885,7 +173109,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -172961,9 +173185,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 package: description: Information about the package. type: object @@ -173325,7 +173549,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *805 source_url: type: string format: uri @@ -173396,7 +173620,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -173576,12 +173800,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *767 + enterprise: *771 id: type: integer - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - id @@ -173658,7 +173882,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &802 + personal_access_token_request: &806 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -173808,10 +174032,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *767 - organization: *769 + enterprise: *771 + organization: *773 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -173888,11 +174112,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *806 + enterprise: *771 + organization: *773 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -173968,11 +174192,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *802 - enterprise: *767 - organization: *769 + personal_access_token_request: *806 + enterprise: *771 + organization: *773 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -174047,11 +174271,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *802 - organization: *769 - enterprise: *767 + personal_access_token_request: *806 + organization: *773 + enterprise: *771 sender: *4 - installation: *768 + installation: *772 required: - action - personal_access_token_request @@ -174156,7 +174380,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *803 + last_response: *807 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -174188,8 +174412,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 zen: description: Random string of GitHub zen. @@ -174434,10 +174658,10 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: &804 + enterprise: *771 + installation: *772 + organization: *773 + project_card: &808 title: Project Card type: object properties: @@ -174560,7 +174784,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *774 sender: *4 required: - action @@ -174641,11 +174865,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_card: *808 + repository: *774 sender: *4 required: - action @@ -174725,9 +174949,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 project_card: title: Project Card type: object @@ -174857,7 +175081,7 @@ webhooks: repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -174951,11 +175175,11 @@ webhooks: - from required: - note - enterprise: *767 - installation: *768 - organization: *769 - project_card: *804 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_card: *808 + repository: *774 sender: *4 required: - action @@ -175049,9 +175273,9 @@ webhooks: - from required: - column_id - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 project_card: allOf: - title: Project Card @@ -175248,7 +175472,7 @@ webhooks: type: string required: - after_id - repository: *770 + repository: *774 sender: *4 required: - action @@ -175328,10 +175552,10 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - organization: *769 - project: &806 + enterprise: *771 + installation: *772 + organization: *773 + project: &810 title: Project type: object properties: @@ -175458,7 +175682,7 @@ webhooks: - creator - created_at - updated_at - repository: *770 + repository: *774 sender: *4 required: - action @@ -175538,10 +175762,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project_column: &805 + enterprise: *771 + installation: *772 + organization: *773 + project_column: &809 title: Project Column type: object properties: @@ -175581,7 +175805,7 @@ webhooks: - name - created_at - updated_at - repository: *770 + repository: *774 sender: *4 required: - action @@ -175660,14 +175884,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 + enterprise: *771 + installation: *772 + organization: *773 + project_column: *809 repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -175756,11 +175980,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_column: *809 + repository: *774 sender: *4 required: - action @@ -175840,11 +176064,11 @@ webhooks: type: string enum: - moved - enterprise: *767 - installation: *768 - organization: *769 - project_column: *805 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project_column: *809 + repository: *774 sender: *4 required: - action @@ -175924,11 +176148,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 + repository: *774 sender: *4 required: - action @@ -176008,14 +176232,14 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - project: *806 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 repository: anyOf: - type: 'null' - - *770 + - *774 sender: *4 required: - action @@ -176116,11 +176340,11 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 + repository: *774 sender: *4 required: - action @@ -176199,11 +176423,11 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - organization: *769 - project: *806 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + project: *810 + repository: *774 sender: *4 required: - action @@ -176284,9 +176508,9 @@ webhooks: type: string enum: - closed - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -176367,9 +176591,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -176450,9 +176674,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -176573,9 +176797,9 @@ webhooks: type: string to: type: string - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -176658,7 +176882,7 @@ webhooks: type: string enum: - archived - changes: &810 + changes: &814 type: object properties: archived_at: @@ -176674,9 +176898,9 @@ webhooks: - string - 'null' format: date-time - installation: *768 - organization: *769 - projects_v2_item: &807 + installation: *772 + organization: *773 + projects_v2_item: &811 title: Projects v2 Item description: An item belonging to a project type: object @@ -176694,7 +176918,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *283 + content_type: *285 creator: *4 created_at: type: string @@ -176816,9 +177040,9 @@ webhooks: - 'null' to: type: string - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -176900,9 +177124,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -176983,9 +177207,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -177090,7 +177314,7 @@ webhooks: oneOf: - type: string - type: integer - - &808 + - &812 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -177114,7 +177338,7 @@ webhooks: required: - id - name - - &809 + - &813 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -177154,8 +177378,8 @@ webhooks: oneOf: - type: string - type: integer - - *808 - - *809 + - *812 + - *813 type: - 'null' - string @@ -177178,9 +177402,9 @@ webhooks: - 'null' required: - body - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -177277,9 +177501,9 @@ webhooks: type: - string - 'null' - installation: *768 - organization: *769 - projects_v2_item: *807 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -177362,10 +177586,10 @@ webhooks: type: string enum: - restored - changes: *810 - installation: *768 - organization: *769 - projects_v2_item: *807 + changes: *814 + installation: *772 + organization: *773 + projects_v2_item: *811 sender: *4 required: - action @@ -177447,9 +177671,9 @@ webhooks: type: string enum: - reopened - installation: *768 - organization: *769 - projects_v2: *277 + installation: *772 + organization: *773 + projects_v2: *279 sender: *4 required: - action @@ -177530,9 +177754,9 @@ webhooks: type: string enum: - created - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *772 + organization: *773 + projects_v2_status_update: *815 sender: *4 required: - action @@ -177613,9 +177837,9 @@ webhooks: type: string enum: - deleted - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *772 + organization: *773 + projects_v2_status_update: *815 sender: *4 required: - action @@ -177761,9 +177985,9 @@ webhooks: - string - 'null' format: date - installation: *768 - organization: *769 - projects_v2_status_update: *811 + installation: *772 + organization: *773 + projects_v2_status_update: *815 sender: *4 required: - action @@ -177834,10 +178058,10 @@ webhooks: title: public event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - repository @@ -177914,13 +178138,13 @@ webhooks: type: string enum: - assigned - assignee: *787 - enterprise: *767 - installation: *768 - number: &812 + assignee: *791 + enterprise: *771 + installation: *772 + number: &816 description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -180163,7 +180387,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -180292,7 +180516,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -180389,10 +180613,10 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -182626,7 +182850,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -182757,7 +182981,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *774 sender: *4 required: - action @@ -182854,10 +183078,10 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -185091,7 +185315,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -185222,7 +185446,7 @@ webhooks: - draft reason: type: string - repository: *770 + repository: *774 sender: *4 required: - action @@ -185319,13 +185543,13 @@ webhooks: type: string enum: - closed - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: &813 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: &817 allOf: - - *600 + - *604 - type: object properties: allow_auto_merge: @@ -185387,7 +185611,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *770 + repository: *774 sender: *4 required: - action @@ -185468,12 +185692,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -185553,12 +185777,12 @@ webhooks: type: string enum: - demilestoned - enterprise: *767 - installation: *768 - milestone: *280 - number: *812 - organization: *769 - pull_request: &814 + enterprise: *771 + installation: *772 + milestone: *282 + number: *816 + organization: *773 + pull_request: &818 title: Pull Request type: object properties: @@ -187779,7 +188003,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -187950,7 +188174,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *770 + repository: *774 sender: *4 required: - action @@ -188030,10 +188254,10 @@ webhooks: type: string enum: - dequeued - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -190258,7 +190482,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -190402,7 +190626,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *770 + repository: *774 sender: *4 required: - action @@ -190534,12 +190758,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -190620,10 +190844,10 @@ webhooks: type: string enum: - enqueued - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -192848,7 +193072,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -192977,7 +193201,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -193065,11 +193289,11 @@ webhooks: type: string enum: - labeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + label: *790 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -195311,7 +195535,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -195440,7 +195664,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -195536,10 +195760,10 @@ webhooks: type: string enum: - locked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -197779,7 +198003,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -197908,7 +198132,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -198003,13 +198227,13 @@ webhooks: type: string enum: - milestoned - enterprise: *767 - installation: *768 - milestone: *280 - number: *812 - organization: *769 - pull_request: *814 - repository: *770 + enterprise: *771 + installation: *772 + milestone: *282 + number: *816 + organization: *773 + pull_request: *818 + repository: *774 sender: *4 required: - action @@ -198089,12 +198313,12 @@ webhooks: type: string enum: - opened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -198175,12 +198399,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -198260,12 +198484,12 @@ webhooks: type: string enum: - reopened - enterprise: *767 - installation: *768 - number: *812 - organization: *769 - pull_request: *813 - repository: *770 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 + pull_request: *817 + repository: *774 sender: *4 required: - action @@ -198640,9 +198864,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: type: object properties: @@ -200771,7 +200995,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -200895,7 +201119,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *774 sender: *4 required: - action @@ -200990,7 +201214,7 @@ webhooks: type: string enum: - deleted - comment: &816 + comment: &820 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -201283,9 +201507,9 @@ webhooks: - start_side - side - reactions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: type: object properties: @@ -203402,7 +203626,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -203526,7 +203750,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *774 sender: *4 required: - action @@ -203621,11 +203845,11 @@ webhooks: type: string enum: - edited - changes: *815 - comment: *816 - enterprise: *767 - installation: *768 - organization: *769 + changes: *819 + comment: *820 + enterprise: *771 + installation: *772 + organization: *773 pull_request: type: object properties: @@ -205745,7 +205969,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -205869,7 +206093,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *770 + repository: *774 sender: *4 required: - action @@ -205965,9 +206189,9 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -208097,7 +208321,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -208223,7 +208447,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *774 review: description: The review that was affected. type: object @@ -208489,9 +208713,9 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -210605,8 +210829,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: &817 + repository: *774 + review: &821 description: The review that was affected. type: object properties: @@ -210852,12 +211076,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -213098,7 +213322,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -213227,7 +213451,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_reviewer: title: User type: @@ -213313,12 +213537,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -215566,7 +215790,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -215695,7 +215919,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_team: title: Team description: Groups of organization members that gives permissions @@ -215913,12 +216137,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -218160,7 +218384,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -218290,7 +218514,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_reviewer: title: User type: @@ -218377,12 +218601,12 @@ webhooks: type: string enum: - review_requested - enterprise: *767 - installation: *768 + enterprise: *771 + installation: *772 number: description: The pull request number. type: integer - organization: *769 + organization: *773 pull_request: title: Pull Request type: object @@ -220615,7 +220839,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. @@ -220745,7 +220969,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 requested_team: title: Team description: Groups of organization members that gives permissions @@ -220952,9 +221176,9 @@ webhooks: type: string enum: - submitted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -223087,7 +223311,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -223213,8 +223437,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 - review: *817 + repository: *774 + review: *821 sender: *4 required: - action @@ -223309,9 +223533,9 @@ webhooks: type: string enum: - resolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -225339,7 +225563,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -225465,7 +225689,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *774 sender: *4 thread: type: object @@ -225870,9 +226094,9 @@ webhooks: type: string enum: - unresolved - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 pull_request: title: Simple Pull Request type: object @@ -227884,7 +228108,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: type: string enum: @@ -228009,7 +228233,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *770 + repository: *774 sender: *4 thread: type: object @@ -228410,11 +228634,11 @@ webhooks: type: string enum: - stacked - enterprise: *767 - installation: *768 - stack: *597 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + stack: *601 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -230656,7 +230880,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -230785,7 +231009,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -230886,10 +231110,10 @@ webhooks: type: string before: type: string - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -233118,7 +233342,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -233247,7 +233471,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -233344,11 +233568,11 @@ webhooks: type: string enum: - unassigned - assignee: *818 - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + assignee: *822 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -235592,7 +235816,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -235721,7 +235945,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -235816,11 +236040,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *767 - installation: *768 - label: *786 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + label: *790 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -238053,7 +238277,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -238182,7 +238406,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -238278,10 +238502,10 @@ webhooks: type: string enum: - unlocked - enterprise: *767 - installation: *768 - number: *812 - organization: *769 + enterprise: *771 + installation: *772 + number: *816 + organization: *773 pull_request: title: Pull Request type: object @@ -240505,7 +240729,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *597 + stack: *601 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -240633,7 +240857,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *770 + repository: *774 sender: *4 required: - action @@ -240851,7 +241075,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *767 + enterprise: *771 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -240946,8 +241170,8 @@ webhooks: - url - author - committer - installation: *768 - organization: *769 + installation: *772 + organization: *773 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -241546,9 +241770,9 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 registry_package: type: object properties: @@ -242025,7 +242249,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *801 + items: *805 summary: type: string tag_name: @@ -242081,7 +242305,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -242159,9 +242383,9 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 registry_package: type: object properties: @@ -242473,7 +242697,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *801 + items: *805 summary: type: string tag_name: @@ -242523,7 +242747,7 @@ webhooks: - owner - package_version - registry - repository: *770 + repository: *774 sender: *4 required: - action @@ -242600,10 +242824,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - release: &819 + enterprise: *771 + installation: *772 + organization: *773 + release: &823 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -242934,7 +243158,7 @@ webhooks: - updated_at - zipball_url - body - repository: *770 + repository: *774 sender: *4 required: - action @@ -243011,11 +243235,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *823 + repository: *774 sender: *4 required: - action @@ -243132,11 +243356,11 @@ webhooks: type: boolean required: - to - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *823 + repository: *774 sender: *4 required: - action @@ -243214,9 +243438,9 @@ webhooks: type: string enum: - prereleased - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -243552,7 +243776,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *774 sender: *4 required: - action @@ -243628,10 +243852,10 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - release: &820 + enterprise: *771 + installation: *772 + organization: *773 + release: &824 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -243964,7 +244188,7 @@ webhooks: - string - 'null' format: uri - repository: *770 + repository: *774 sender: *4 required: - action @@ -244040,11 +244264,11 @@ webhooks: type: string enum: - released - enterprise: *767 - installation: *768 - organization: *769 - release: *819 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *823 + repository: *774 sender: *4 required: - action @@ -244120,11 +244344,11 @@ webhooks: type: string enum: - unpublished - enterprise: *767 - installation: *768 - organization: *769 - release: *820 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + release: *824 + repository: *774 sender: *4 required: - action @@ -244200,11 +244424,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *686 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_advisory: *690 sender: *4 required: - action @@ -244280,11 +244504,11 @@ webhooks: type: string enum: - reported - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_advisory: *686 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_advisory: *690 sender: *4 required: - action @@ -244360,10 +244584,10 @@ webhooks: type: string enum: - archived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244440,10 +244664,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244521,10 +244745,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244609,10 +244833,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244727,10 +244951,10 @@ webhooks: - 'null' items: type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244802,10 +245026,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 status: type: string @@ -244886,10 +245110,10 @@ webhooks: type: string enum: - privatized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -244966,10 +245190,10 @@ webhooks: type: string enum: - publicized - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245063,10 +245287,10 @@ webhooks: - name required: - repository - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245146,11 +245370,11 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_ruleset: *322 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_ruleset: *324 sender: *4 required: - action @@ -245228,11 +245452,11 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_ruleset: *322 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_ruleset: *324 sender: *4 required: - action @@ -245310,11 +245534,11 @@ webhooks: type: string enum: - edited - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - repository_ruleset: *322 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + repository_ruleset: *324 changes: type: object properties: @@ -245333,16 +245557,16 @@ webhooks: properties: added: type: array - items: *296 + items: *298 deleted: type: array - items: *296 + items: *298 updated: type: array items: type: object properties: - condition: *296 + condition: *298 changes: type: object properties: @@ -245375,16 +245599,16 @@ webhooks: properties: added: type: array - items: *622 + items: *626 deleted: type: array - items: *622 + items: *626 updated: type: array items: type: object properties: - rule: *622 + rule: *626 changes: type: object properties: @@ -245621,10 +245845,10 @@ webhooks: - from required: - owner - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245702,10 +245926,10 @@ webhooks: type: string enum: - unarchived - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -245783,7 +246007,7 @@ webhooks: type: string enum: - create - alert: &821 + alert: &825 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -245908,10 +246132,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246121,10 +246345,10 @@ webhooks: type: string enum: - dismissed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246202,11 +246426,11 @@ webhooks: type: string enum: - reopen - alert: *821 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *825 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246408,10 +246632,10 @@ webhooks: enum: - fixed - open - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246489,17 +246713,17 @@ webhooks: type: string enum: - assigned - alert: &823 + alert: &827 type: object properties: - number: *178 - created_at: *179 + number: *180 + created_at: *181 updated_at: anyOf: - type: 'null' - - *180 - url: *181 - html_url: *182 + - *182 + url: *183 + html_url: *184 locations_url: type: string format: uri @@ -246636,12 +246860,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *822 + metadata: *826 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246719,11 +246943,11 @@ webhooks: type: string enum: - created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -246804,11 +247028,11 @@ webhooks: type: string enum: - created - alert: *823 - installation: *768 - location: *824 - organization: *769 - repository: *770 + alert: *827 + installation: *772 + location: *828 + organization: *773 + repository: *774 sender: *4 required: - location @@ -247046,11 +247270,11 @@ webhooks: type: string enum: - metadata_created - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247127,11 +247351,11 @@ webhooks: type: string enum: - metadata_removed - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247208,11 +247432,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247290,11 +247514,11 @@ webhooks: type: string enum: - reopened - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247372,11 +247596,11 @@ webhooks: type: string enum: - resolved - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247454,12 +247678,12 @@ webhooks: type: string enum: - unassigned - alert: *823 + alert: *827 assignee: *4 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247537,11 +247761,11 @@ webhooks: type: string enum: - validated - alert: *823 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + alert: *827 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -247671,10 +247895,10 @@ webhooks: - organization - enterprise - - repository: *770 - enterprise: *767 - installation: *768 - organization: *769 + repository: *774 + enterprise: *771 + installation: *772 + organization: *773 sender: *4 required: - action @@ -247752,11 +247976,11 @@ webhooks: type: string enum: - published - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: &825 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + security_advisory: &829 description: The details of the security advisory, including summary, description, and severity. type: object @@ -247960,11 +248184,11 @@ webhooks: type: string enum: - updated - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 - security_advisory: *825 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 + security_advisory: *829 sender: *4 required: - action @@ -248037,10 +248261,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -248234,11 +248458,11 @@ webhooks: from: type: object properties: - security_and_analysis: *295 - enterprise: *767 - installation: *768 - organization: *769 - repository: *341 + security_and_analysis: *297 + enterprise: *771 + installation: *772 + organization: *773 + repository: *343 sender: *4 required: - changes @@ -248316,12 +248540,12 @@ webhooks: type: string enum: - cancelled - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: &826 + sponsorship: &830 type: object properties: created_at: @@ -248626,12 +248850,12 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - sponsorship @@ -248719,12 +248943,12 @@ webhooks: type: string required: - from - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - changes @@ -248801,17 +249025,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &827 + effective_date: &831 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - sponsorship @@ -248885,7 +249109,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &828 + changes: &832 type: object properties: tier: @@ -248929,13 +249153,13 @@ webhooks: - from required: - tier - effective_date: *827 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + effective_date: *831 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - changes @@ -249012,13 +249236,13 @@ webhooks: type: string enum: - tier_changed - changes: *828 - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + changes: *832 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - sponsorship: *826 + sponsorship: *830 required: - action - changes @@ -249092,10 +249316,10 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -249179,10 +249403,10 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -249616,15 +249840,15 @@ webhooks: type: - string - 'null' - enterprise: *767 + enterprise: *771 id: description: The unique identifier of the status. type: integer - installation: *768 + installation: *772 name: type: string - organization: *769 - repository: *770 + organization: *773 + repository: *774 sender: *4 sha: description: The Commit SHA. @@ -249740,9 +249964,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -249831,9 +250055,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -249922,9 +250146,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -250013,9 +250237,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *80 - installation: *768 - organization: *769 - repository: *770 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -250091,12 +250315,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - team: &829 + team: &833 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -250326,9 +250550,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -250798,7 +251022,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -250874,9 +251098,9 @@ webhooks: type: string enum: - created - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -251346,7 +251570,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -251423,9 +251647,9 @@ webhooks: type: string enum: - deleted - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -251895,7 +252119,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -252039,9 +252263,9 @@ webhooks: - from required: - permissions - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -252511,7 +252735,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - changes @@ -252589,9 +252813,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *767 - installation: *768 - organization: *769 + enterprise: *771 + installation: *772 + organization: *773 repository: title: Repository description: A git repository @@ -253061,7 +253285,7 @@ webhooks: - topics - visibility sender: *4 - team: *829 + team: *833 required: - action - team @@ -253137,10 +253361,10 @@ webhooks: type: string enum: - started - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 required: - action @@ -253213,17 +253437,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *767 + enterprise: *771 inputs: type: - object - 'null' additionalProperties: true - installation: *768 - organization: *769 + installation: *772 + organization: *773 ref: type: string - repository: *770 + repository: *774 sender: *4 workflow: type: string @@ -253305,10 +253529,10 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: allOf: @@ -253564,7 +253788,7 @@ webhooks: type: string required: - conclusion - deployment: *498 + deployment: *502 required: - action - repository @@ -253643,10 +253867,10 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: allOf: @@ -253928,7 +254152,7 @@ webhooks: required: - status - steps - deployment: *498 + deployment: *502 required: - action - repository @@ -254007,10 +254231,10 @@ webhooks: type: string enum: - queued - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: type: object @@ -254156,7 +254380,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *502 required: - action - repository @@ -254235,10 +254459,10 @@ webhooks: type: string enum: - waiting - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 workflow_job: type: object @@ -254385,7 +254609,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *498 + deployment: *502 required: - action - repository @@ -254465,12 +254689,12 @@ webhooks: type: string enum: - completed - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Workflow Run type: object @@ -255489,12 +255713,12 @@ webhooks: type: string enum: - in_progress - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Workflow Run type: object @@ -256498,12 +256722,12 @@ webhooks: type: string enum: - requested - enterprise: *767 - installation: *768 - organization: *769 - repository: *770 + enterprise: *771 + installation: *772 + organization: *773 + repository: *774 sender: *4 - workflow: *782 + workflow: *786 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index ad3a5199a..3b1951fa1 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -177294,6 +177294,353 @@ } } }, + "/orgs/{org}/code-scanning/ai-scan": { + "get": { + "summary": "Get the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the AI Scan setting stored on an organization.\n\nThe response reports the value stored on the organization. Organization respects enterprise policy.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + }, + "patch": { + "summary": "Update the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates the AI Scan setting stored on an organization.\n\nThe organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings update", + "description": "The AI Scan organization setting to apply", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scna. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -424721,6 +425068,366 @@ } } }, + "/repos/{owner}/{repo}/code-scanning/ai-scan": { + "get": { + "summary": "Get AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + }, + "patch": { + "summary": "Update AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement update for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether to enable or disable AI Scan for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "enabled": { + "summary": "Enable AI Scan", + "value": { + "pr_scan": "enabled" + } + }, + "disabled": { + "summary": "Disable AI Scan", + "value": { + "pr_scan": "disabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + } + }, "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for a repository", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 1734054c3..2ef2c098c 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -922,7 +922,7 @@ paths: - subscriptions_url - type - url - type: &472 + type: &474 type: string description: The type of credit the user is receiving. enum: @@ -1088,7 +1088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &800 + - &804 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4345,7 +4345,7 @@ paths: schema: type: integer default: 30 - - &360 + - &362 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4354,7 +4354,7 @@ paths: required: false schema: type: string - - &361 + - &363 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4374,7 +4374,7 @@ paths: application/json: schema: type: array - items: &362 + items: &364 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4470,7 +4470,7 @@ paths: - installation_id - repository_id examples: - default: &363 + default: &365 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4502,7 +4502,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &810 + schema: &814 title: Scim Error description: Scim Error type: object @@ -4605,7 +4605,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &366 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4740,7 +4740,7 @@ paths: - request - response examples: - default: &365 + default: &367 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -11491,7 +11491,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &811 + '401': &815 description: Authorization failure '404': *6 x-github: @@ -15746,7 +15746,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *36 - - &317 + - &319 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -15756,7 +15756,7 @@ paths: schema: &108 type: string description: The name of the tool used to generate the code scanning analysis. - - &318 + - &320 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -15780,7 +15780,7 @@ paths: be returned. in: query required: false - schema: &319 + schema: &321 type: string description: State of a code scanning alert. enum: @@ -15813,7 +15813,7 @@ paths: application/json: schema: type: array - items: &320 + items: &322 type: object properties: number: &128 @@ -15842,7 +15842,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &562 + instances_url: &566 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15878,7 +15878,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &563 + dismissed_reason: &567 type: - string - 'null' @@ -15890,14 +15890,14 @@ paths: - used in tests - mitigated - - dismissed_comment: &564 + dismissed_comment: &568 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &565 + rule: &569 type: object properties: id: @@ -15958,7 +15958,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &566 + tool: &570 type: object properties: name: *108 @@ -15969,26 +15969,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *109 - most_recent_instance: &567 + most_recent_instance: &571 type: object properties: - ref: &560 + ref: &564 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &578 + analysis_key: &582 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &579 + environment: &583 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &580 + category: &584 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16008,7 +16008,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &581 + location: &585 type: object description: Describe a region within a file for the alert. properties: @@ -16029,7 +16029,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &582 + items: &586 type: - string - 'null' @@ -16385,7 +16385,7 @@ paths: - most_recent_instance - repository examples: - default: &321 + default: &323 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17281,7 +17281,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 type: array description: A list of default code security configurations items: @@ -17297,7 +17297,7 @@ paths: default configuration: *111 examples: - default: &324 + default: &326 value: - default_for_new_repos: public configuration: @@ -17755,7 +17755,7 @@ paths: default: value: default_for_new_repos: all - configuration: &322 + configuration: &324 value: id: 1325 target_type: organization @@ -17845,7 +17845,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 type: object description: Repositories associated with a code security configuration and attachment status @@ -17869,7 +17869,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &326 + repository: &328 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18459,7 +18459,7 @@ paths: parent: anyOf: - type: 'null' - - &400 + - &402 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -19246,7 +19246,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &333 + '413': &335 description: Payload Too Large content: application/json: @@ -20748,7 +20748,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *36 - - &338 + - &340 name: classification in: query description: |- @@ -20757,7 +20757,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &339 + - &341 name: state in: query description: |- @@ -20766,7 +20766,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &340 + - &342 name: severity in: query description: |- @@ -20775,7 +20775,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &341 + - &343 name: ecosystem in: query description: |- @@ -20784,14 +20784,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &342 + - &344 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &343 + - &345 name: epss_percentage in: query description: |- @@ -20803,7 +20803,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &620 + - &624 name: has in: query description: |- @@ -20817,7 +20817,7 @@ paths: type: string enum: - patch - - &344 + - &346 name: assignee in: query description: |- @@ -20826,7 +20826,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &345 + - &347 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20836,7 +20836,7 @@ paths: enum: - development - runtime - - &346 + - &348 name: relationship in: query description: |- @@ -20846,7 +20846,7 @@ paths: > We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. schema: type: string - - &347 + - &349 name: sort in: query description: |- @@ -20872,7 +20872,7 @@ paths: application/json: schema: type: array - items: &348 + items: &350 type: object description: A Dependabot alert. properties: @@ -20940,7 +20940,7 @@ paths: - transitive - inconclusive - - security_advisory: &621 + security_advisory: &625 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21183,7 +21183,7 @@ paths: dismissal. maxLength: 280 fixed_at: *138 - auto_dismissed_at: &622 + auto_dismissed_at: &626 type: - string - 'null' @@ -21191,7 +21191,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &623 + dismissal_request: &627 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21254,7 +21254,7 @@ paths: - repository additionalProperties: false examples: - default: &349 + default: &351 value: - number: 2 state: dismissed @@ -21641,7 +21641,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &352 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21667,7 +21667,7 @@ paths: - *117 additionalProperties: false examples: - default: &351 + default: &353 value: default_level: public accessible_repositories: @@ -21890,7 +21890,7 @@ paths: - *100 - *101 - *102 - - &353 + - &355 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21916,7 +21916,7 @@ paths: application/json: schema: type: array - items: &355 + items: &357 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -22043,7 +22043,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &356 + default: &358 value: - id: 21 number: 42 @@ -23141,7 +23141,7 @@ paths: application/json: schema: *20 examples: - default: &377 + default: &379 value: id: 1 account: @@ -23441,7 +23441,7 @@ paths: - name - created_on examples: - default: &476 + default: &478 value: total_count: 2 network_configurations: @@ -23692,7 +23692,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *36 - - &477 + - &479 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23704,7 +23704,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &480 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23743,7 +23743,7 @@ paths: - subnet_id - region examples: - default: &479 + default: &481 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -24598,7 +24598,7 @@ paths: required: true content: application/json: - schema: &431 + schema: &433 title: Custom Property Set Payload description: Custom property set payload type: object @@ -25841,7 +25841,7 @@ paths: conditions: anyOf: - *159 - - &435 + - &437 title: Organization ruleset conditions type: object description: |- @@ -25891,7 +25891,7 @@ paths: - object rules: type: array - items: &764 + items: &768 title: Repository Rule type: object description: A repository rule. @@ -25900,7 +25900,7 @@ paths: - *168 - *169 - *170 - - &761 + - &765 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25991,7 +25991,7 @@ paths: - *181 - *182 - *183 - - &762 + - &766 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -26240,7 +26240,7 @@ paths: type: string format: date-time examples: - default: &438 + default: &440 value: - version_id: 3 actor: @@ -26293,7 +26293,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &441 allOf: - *192 - type: object @@ -26348,7 +26348,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *36 - - &440 + - &442 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26359,7 +26359,7 @@ paths: enum: - open - resolved - - &441 + - &443 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26369,7 +26369,7 @@ paths: required: false schema: type: string - - &442 + - &444 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26380,7 +26380,7 @@ paths: required: false schema: type: string - - &443 + - &445 name: exclude_providers in: query description: |- @@ -26391,7 +26391,7 @@ paths: required: false schema: type: string - - &444 + - &446 name: providers in: query description: |- @@ -26402,7 +26402,7 @@ paths: required: false schema: type: string - - &445 + - &447 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26411,7 +26411,7 @@ paths: required: false schema: type: string - - &446 + - &448 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26430,7 +26430,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &447 + - &449 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -26446,7 +26446,7 @@ paths: - *17 - *105 - *106 - - &448 + - &450 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26455,7 +26455,7 @@ paths: required: false schema: type: string - - &449 + - &451 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26464,7 +26464,7 @@ paths: schema: type: boolean default: false - - &450 + - &452 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26473,7 +26473,7 @@ paths: schema: type: boolean default: false - - &451 + - &453 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26482,7 +26482,7 @@ paths: schema: type: boolean default: false - - &452 + - &454 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26493,7 +26493,7 @@ paths: required: false schema: type: boolean - - &453 + - &455 name: included_metadata in: query description: |- @@ -26504,7 +26504,7 @@ paths: required: false schema: type: string - - &454 + - &456 name: owner_email_hash in: query description: |- @@ -26523,7 +26523,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 type: object properties: number: *128 @@ -26539,14 +26539,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &777 + state: &781 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &778 + resolution: &782 type: - string - 'null' @@ -26665,14 +26665,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &779 + - &783 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &781 + - &785 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26736,7 +26736,7 @@ paths: - blob_url - commit_sha - commit_url - - &782 + - &786 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -26797,7 +26797,7 @@ paths: - page_url - commit_sha - commit_url - - &783 + - &787 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26819,7 +26819,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &784 + - &788 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26841,7 +26841,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &785 + - &789 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26863,7 +26863,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &786 + - &790 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26878,7 +26878,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &787 + - &791 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26893,7 +26893,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &788 + - &792 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26908,7 +26908,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &789 + - &793 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -26930,7 +26930,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &790 + - &794 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -26952,7 +26952,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &791 + - &795 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -26974,7 +26974,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &792 + - &796 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -26996,7 +26996,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &793 + - &797 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -27042,7 +27042,7 @@ paths: - type: 'null' - *4 examples: - default: &456 + default: &458 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -27246,7 +27246,7 @@ paths: subcategory: custom-patterns parameters: - *36 - - &457 + - &459 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -27257,7 +27257,7 @@ paths: enum: - published - unpublished - - &458 + - &460 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -27268,7 +27268,7 @@ paths: enum: - enabled - disabled - - &459 + - &461 name: sort description: The property to sort the results by. in: query @@ -27367,7 +27367,7 @@ paths: - state - push_protection_enabled examples: - default: &460 + default: &462 value: - id: 1 name: Example Custom Pattern @@ -27430,7 +27430,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &461 + items: &463 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -27467,7 +27467,7 @@ paths: items: type: string examples: - default: &462 + default: &464 value: patterns: - name: Example Custom Pattern @@ -27493,7 +27493,7 @@ paths: description: The list of successfully created custom patterns. items: *194 examples: - default: &463 + default: &465 value: created_patterns: - id: 1 @@ -27545,7 +27545,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &464 + items: &466 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -27599,7 +27599,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &465 + items: &467 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -27622,7 +27622,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &466 + default: &468 value: patterns: - pattern_id: 2 @@ -27668,7 +27668,7 @@ paths: required: true content: application/json: - schema: &467 + schema: &469 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -27709,7 +27709,7 @@ paths: type: string custom_pattern_version: *195 examples: - default: &468 + default: &470 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27726,7 +27726,7 @@ paths: application/json: schema: *194 examples: - default: &469 + default: &471 value: id: 1 name: Example Custom Pattern @@ -27773,7 +27773,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &472 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -27854,7 +27854,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *197 examples: - default: &471 + default: &473 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27990,7 +27990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *36 - - &473 + - &475 name: advanced_security_product in: query description: | @@ -28010,7 +28010,7 @@ paths: description: Success content: application/json: - schema: &474 + schema: &476 type: object properties: total_advanced_security_committers: @@ -28073,7 +28073,7 @@ paths: required: - repositories examples: - default: &475 + default: &477 value: total_advanced_security_committers: 2 total_count: 2 @@ -32213,7 +32213,7 @@ paths: properties: action: type: string - discussion: &919 + discussion: &923 title: Discussion description: A Discussion in a repository. type: object @@ -32714,7 +32714,7 @@ paths: milestone: anyOf: - type: 'null' - - &421 + - &423 title: Milestone description: A collection of related issues and pull requests. @@ -32886,7 +32886,7 @@ paths: timeline_url: type: string format: uri - type: &387 + type: &389 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -32999,7 +32999,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &838 + sub_issues_summary: &842 title: Sub-issues Summary type: object properties: @@ -33083,7 +33083,7 @@ paths: pin: anyOf: - type: 'null' - - &706 + - &710 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -33104,7 +33104,7 @@ paths: minimized: anyOf: - type: 'null' - - &707 + - &711 title: Minimized Issue Comment description: Details about why an issue comment was minimized. @@ -33129,7 +33129,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &839 + issue_dependencies_summary: &843 title: Issue Dependencies Summary type: object properties: @@ -33148,7 +33148,7 @@ paths: - total_blocking issue_field_values: type: array - items: &688 + items: &692 title: Issue Field Value description: A value assigned to an issue field type: object @@ -33965,7 +33965,7 @@ paths: type: string release: allOf: - - &754 + - &758 title: Release description: A release. type: object @@ -34047,7 +34047,7 @@ paths: author: *4 assets: type: array - items: &755 + items: &759 title: Release Asset description: Data related to a release. type: object @@ -34638,7 +34638,7 @@ paths: url: type: string format: uri - user: &847 + user: &851 title: Public User description: Public User type: object @@ -36540,7 +36540,7 @@ paths: - closed - all default: open - - &390 + - &392 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -36591,7 +36591,7 @@ paths: type: array items: *221 examples: - default: &391 + default: &393 value: - id: 1 node_id: MDU6SXNzdWUx @@ -38017,14 +38017,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &488 + - &490 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &489 + - &491 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -38086,7 +38086,7 @@ paths: '404': *6 '403': *27 '304': *32 - '301': &494 + '301': &496 description: Moved permanently content: application/json: @@ -38108,7 +38108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &726 + - &730 name: all description: If `true`, show notifications marked as read. in: query @@ -38116,7 +38116,7 @@ paths: schema: type: boolean default: false - - &727 + - &731 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -38126,7 +38126,7 @@ paths: type: boolean default: false - *226 - - &728 + - &732 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -38508,7 +38508,7 @@ paths: type: boolean examples: - false - security_and_analysis: &432 + security_and_analysis: &434 type: - object - 'null' @@ -38727,7 +38727,7 @@ paths: - url - subscription_url examples: - default: &729 + default: &733 value: - id: '1' repository: @@ -39332,7 +39332,7 @@ paths: - 3 custom_roles: type: array - items: &334 + items: &336 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -39381,7 +39381,7 @@ paths: - created_at - updated_at examples: - default: &335 + default: &337 value: id: 8030 name: Security Engineer @@ -39590,7 +39590,7 @@ paths: type: array items: *153 examples: - default: &735 + default: &739 value: - property_name: environment value: production @@ -39640,7 +39640,7 @@ paths: required: - properties examples: - default: &736 + default: &740 value: properties: - property_name: environment @@ -40539,7 +40539,7 @@ paths: type: integer repository_cache_usages: type: array - items: &501 + items: &503 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -42812,7 +42812,7 @@ paths: type: array items: *280 examples: - default: &332 + default: &334 value: total_count: 1 repositories: @@ -46842,12 +46842,12 @@ paths: required: - subject_digests examples: - default: &879 + default: &883 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &880 + withPredicateType: &884 value: subject_digests: - sha256:abc123 @@ -46906,7 +46906,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &881 + default: &885 value: attestations_subject_digests: - sha256:abc: @@ -47257,7 +47257,7 @@ paths: initiator: type: string examples: - default: &534 + default: &536 value: attestations: - repository_id: 1 @@ -48052,6 +48052,124 @@ paths: enabledForGitHubApps: true category: campaigns subcategory: campaigns + "/orgs/{org}/code-scanning/ai-scan": + get: + summary: Get the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the AI Scan setting stored on an organization. + + The response reports the value stored on the organization. Organization respects enterprise policy. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization + parameters: + - *84 + responses: + '200': + description: Response + content: + application/json: + schema: &317 + title: Code scanning AI Scan organization settings + description: The AI Scan organization setting + type: object + properties: + pr_scan: + description: 'Whether AI Scan on pull requests is enabled for + the organization. The organization setting respects enterprise + policy, and repositories inherit it: when disabled, repositories + cannot enable AI Scan; when enabled, repositories can still + opt out.' + type: string + enum: + - enabled + - disabled + examples: + - enabled + required: + - pr_scan + examples: + default: &318 + value: + pr_scan: enabled + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan + patch: + summary: Update the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates the AI Scan setting stored on an organization. + + The organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization + parameters: + - *84 + requestBody: + required: true + content: + application/json: + schema: + title: Code scanning AI Scan organization settings update + description: The AI Scan organization setting to apply + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the organization. Organization + respects enterprise policy. Disabled organizations prevent repositories + from enabling AI Scna. Enabled organizations enable AI Scan for + their repositories, but individual repositories can opt out. + type: string + enum: + - enabled + - disabled + examples: + - enabled + minProperties: 1 + additionalProperties: false + examples: + default: + value: + pr_scan: enabled + responses: + '200': + description: Response + content: + application/json: + schema: *317 + examples: + default: *318 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -48069,8 +48187,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *84 - - *317 - - *318 + - *319 + - *320 - *105 - *106 - *19 @@ -48081,7 +48199,7 @@ paths: be returned. in: query required: false - schema: *319 + schema: *321 - name: sort description: The property by which to sort the results. in: query @@ -48097,7 +48215,7 @@ paths: be returned. in: query required: false - schema: &561 + schema: &565 type: string description: Severity of a code scanning alert. enum: @@ -48123,9 +48241,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *321 + default: *323 headers: Link: *42 '404': *6 @@ -48500,7 +48618,7 @@ paths: application/json: schema: *111 examples: - default: *322 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48528,9 +48646,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *324 + default: *326 '304': *32 '403': *27 '404': *6 @@ -48619,7 +48737,7 @@ paths: application/json: schema: *111 examples: - default: *322 + default: *324 '304': *32 '403': *27 '404': *6 @@ -49064,7 +49182,7 @@ paths: default: value: default_for_new_repos: all - configuration: *322 + configuration: *324 '403': *27 '404': *6 x-github: @@ -49117,13 +49235,13 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *326 + repository: *328 '403': *27 '404': *6 x-github: @@ -49163,7 +49281,7 @@ paths: type: integer codespaces: type: array - items: &392 + items: &394 type: object title: Codespace description: A codespace. @@ -49198,7 +49316,7 @@ paths: machine: anyOf: - type: 'null' - - &594 + - &598 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -49485,7 +49603,7 @@ paths: - pulls_url - recent_folders examples: - default: &393 + default: &395 value: total_count: 3 codespaces: @@ -50109,7 +50227,7 @@ paths: type: integer secrets: type: array - items: &327 + items: &329 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -50150,7 +50268,7 @@ paths: - updated_at - visibility examples: - default: &595 + default: &599 value: total_count: 2 secrets: @@ -50188,7 +50306,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &600 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -50223,7 +50341,7 @@ paths: - key_id - key examples: - default: &597 + default: &601 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -50253,9 +50371,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: &599 + default: &603 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -50589,7 +50707,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &328 + items: &330 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -50986,9 +51104,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: &329 + default: &331 summary: Example response for an organization copilot space value: id: 84 @@ -51093,9 +51211,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 '403': *27 '404': *6 x-github: @@ -51224,9 +51342,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 '403': *27 '404': *6 '422': *15 @@ -51309,7 +51427,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &330 + items: &332 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -51534,7 +51652,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: user: value: @@ -51664,7 +51782,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: user: value: @@ -51815,7 +51933,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &331 + items: &333 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -51959,7 +52077,7 @@ paths: description: Resource created content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -51975,7 +52093,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -52030,7 +52148,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -52099,7 +52217,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -52832,7 +52950,7 @@ paths: - total_count - repositories examples: - default: *332 + default: *334 '500': *35 '401': *23 '403': *27 @@ -53100,7 +53218,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *333 + '413': *335 '422': *7 x-github: githubCloudOnly: @@ -53902,7 +54020,7 @@ paths: - 3 custom_roles: type: array - items: *334 + items: *336 examples: default: value: @@ -53994,7 +54112,7 @@ paths: required: true content: application/json: - schema: &336 + schema: &338 type: object properties: name: @@ -54036,9 +54154,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -54069,9 +54187,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: true @@ -54099,7 +54217,7 @@ paths: required: true content: application/json: - schema: &337 + schema: &339 type: object properties: name: @@ -54138,9 +54256,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -54198,7 +54316,7 @@ paths: required: true content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -54212,9 +54330,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -54251,9 +54369,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: true @@ -54287,7 +54405,7 @@ paths: required: true content: application/json: - schema: *337 + schema: *339 examples: default: value: @@ -54302,9 +54420,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -54364,12 +54482,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *84 - - *338 - - *339 - *340 - *341 - *342 - *343 + - *344 + - *345 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -54399,7 +54517,7 @@ paths: enum: - patch - deployment - - *344 + - *346 - name: runtime_risk in: query description: |- @@ -54408,9 +54526,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *345 - - *346 - *347 + - *348 + - *349 - *107 - *105 - *106 @@ -54422,9 +54540,9 @@ paths: application/json: schema: type: array - items: *348 + items: *350 examples: - default: *349 + default: *351 '304': *32 '400': *14 '403': *27 @@ -54473,9 +54591,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 '403': *27 '404': *6 x-github: @@ -54639,7 +54757,7 @@ paths: type: integer secrets: type: array - items: &352 + items: &354 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -54718,7 +54836,7 @@ paths: description: Response content: application/json: - schema: &626 + schema: &630 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -54737,7 +54855,7 @@ paths: - key_id - key examples: - default: &627 + default: &631 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -54767,7 +54885,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: default: value: @@ -55065,7 +55183,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - &636 + - &640 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -55073,7 +55191,7 @@ paths: required: false schema: type: string - - &637 + - &641 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -55081,7 +55199,7 @@ paths: required: false schema: type: string - - &638 + - &642 name: time_period description: |- The time period to filter by. @@ -55097,7 +55215,7 @@ paths: - week - month default: month - - &639 + - &643 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -55122,7 +55240,7 @@ paths: application/json: schema: type: array - items: &640 + items: &644 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -55232,7 +55350,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &354 + items: &356 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -55285,7 +55403,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &641 + default: &645 value: - id: 21 number: 42 @@ -55377,7 +55495,7 @@ paths: - *100 - *101 - *102 - - *353 + - *355 - *17 - *19 responses: @@ -55387,7 +55505,7 @@ paths: application/json: schema: type: array - items: &642 + items: &646 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -55497,7 +55615,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *354 + items: *356 url: type: string format: uri @@ -55510,7 +55628,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &643 + default: &647 value: - id: 21 number: 42 @@ -55602,7 +55720,7 @@ paths: - *100 - *101 - *102 - - *353 + - *355 - *17 - *19 responses: @@ -55612,9 +55730,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 '404': *6 '403': *27 '500': *35 @@ -55640,7 +55758,7 @@ paths: application/json: schema: type: array - items: &402 + items: &404 title: Package description: A software package type: object @@ -55711,7 +55829,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &405 value: - id: 197 name: hello_docker @@ -55898,7 +56016,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &487 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -55988,7 +56106,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &486 + default: &488 value: group_id: '123' group_name: Octocat admins @@ -56043,7 +56161,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &484 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -56083,7 +56201,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &483 + default: &485 value: groups: - group_id: '123' @@ -56128,7 +56246,7 @@ paths: application/json: schema: type: array - items: &381 + items: &383 title: Organization Invitation description: Organization Invitation type: object @@ -56182,7 +56300,7 @@ paths: - invitation_teams_url - node_id examples: - default: &382 + default: &384 value: - id: 1 login: monalisa @@ -56249,7 +56367,7 @@ paths: application/json: schema: type: array - items: &433 + items: &435 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -56263,7 +56381,7 @@ paths: - name - description examples: - default: &434 + default: &436 value: - name: add_assignee description: Assign or remove a user @@ -56304,7 +56422,7 @@ paths: application/json: schema: type: array - items: &357 + items: &359 title: Org Hook description: Org Hook type: object @@ -56487,9 +56605,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: &358 + default: &360 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -56534,7 +56652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *84 - - &359 + - &361 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -56547,9 +56665,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 '404': *6 x-github: githubCloudOnly: false @@ -56571,7 +56689,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *84 - - *359 + - *361 requestBody: required: false content: @@ -56617,7 +56735,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: default: value: @@ -56657,7 +56775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *84 - - *359 + - *361 responses: '204': description: Response @@ -56683,7 +56801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *84 - - *359 + - *361 responses: '200': description: Response @@ -56712,7 +56830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *84 - - *359 + - *361 requestBody: required: false content: @@ -56761,10 +56879,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *84 - - *359 - - *17 - - *360 - *361 + - *17 + - *362 + - *363 responses: '200': description: Response @@ -56772,9 +56890,9 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: - default: *363 + default: *365 '400': *14 '422': *15 x-github: @@ -56798,16 +56916,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *84 - - *359 + - *361 - *16 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '400': *14 '422': *15 x-github: @@ -56831,7 +56949,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *84 - - *359 + - *361 - *16 responses: '202': *34 @@ -56858,7 +56976,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *84 - - *359 + - *361 responses: '204': description: Response @@ -56883,7 +57001,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *84 - - &370 + - &372 name: actor_type in: path description: The type of the actor @@ -56896,14 +57014,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &371 + - &373 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &366 + - &368 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -56911,7 +57029,7 @@ paths: required: true schema: type: string - - &367 + - &369 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -57008,12 +57126,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *84 - - *366 - - *367 + - *368 + - *369 - *19 - *17 - *107 - - &376 + - &378 name: sort description: The property to sort the results by. in: query @@ -57094,14 +57212,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *84 - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: &368 + schema: &370 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -57117,7 +57235,7 @@ paths: type: integer format: int64 examples: - default: &369 + default: &371 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -57140,23 +57258,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *84 - - &372 + - &374 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: enabledForGitHubApps: true category: orgs @@ -57176,18 +57294,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *84 - - *366 - - *367 - - *370 - - *371 + - *368 + - *369 + - *372 + - *373 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: enabledForGitHubApps: true category: orgs @@ -57207,9 +57325,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *84 - - *366 - - *367 - - &373 + - *368 + - *369 + - &375 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -57222,7 +57340,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -57238,7 +57356,7 @@ paths: type: integer format: int64 examples: - default: &375 + default: &377 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -57277,18 +57395,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *84 - - *372 - - *366 - - *367 - - *373 + - *374 + - *368 + - *369 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: enabledForGitHubApps: true category: orgs @@ -57308,19 +57426,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *84 - - *370 - - *371 - - *366 - - *367 + - *372 - *373 + - *368 + - *369 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: enabledForGitHubApps: true category: orgs @@ -57340,13 +57458,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *84 - - *372 - - *366 - - *367 + - *374 + - *368 + - *369 - *19 - *17 - *107 - - *376 + - *378 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -57430,7 +57548,7 @@ paths: application/json: schema: *20 examples: - default: *377 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57550,12 +57668,12 @@ paths: application/json: schema: anyOf: - - &379 + - &381 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &378 + limit: &380 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -57583,7 +57701,7 @@ paths: properties: {} additionalProperties: false examples: - default: &380 + default: &382 value: limit: collaborators_only origin: organization @@ -57612,13 +57730,13 @@ paths: required: true content: application/json: - schema: &672 + schema: &676 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *378 + limit: *380 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -57643,9 +57761,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *380 + default: *382 '422': *15 x-github: githubCloudOnly: false @@ -57857,9 +57975,9 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 headers: Link: *42 '404': *6 @@ -57937,7 +58055,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -57994,7 +58112,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *84 - - &383 + - &385 name: invitation_id description: The unique identifier of the invitation. in: path @@ -58028,7 +58146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *84 - - *383 + - *385 - *17 - *19 responses: @@ -58040,7 +58158,7 @@ paths: type: array items: *313 examples: - default: &401 + default: &403 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -58083,7 +58201,7 @@ paths: application/json: schema: type: array - items: &384 + items: &386 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -58346,9 +58464,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &385 + default: &387 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -58404,7 +58522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *84 - - &386 + - &388 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -58514,9 +58632,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '404': *6 '422': *7 x-github: @@ -58541,7 +58659,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *84 - - *386 + - *388 responses: '204': *121 '404': *6 @@ -58571,9 +58689,9 @@ paths: application/json: schema: type: array - items: *387 + items: *389 examples: - default: &676 + default: &680 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -58659,9 +58777,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: &388 + default: &390 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -58694,7 +58812,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *84 - - &389 + - &391 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -58750,9 +58868,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 '404': *6 '422': *7 x-github: @@ -58777,7 +58895,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *84 - - *389 + - *391 responses: '204': description: Response @@ -58840,7 +58958,7 @@ paths: - closed - all default: open - - *390 + - *392 - name: type description: Can be the name of an issue type. in: query @@ -58871,7 +58989,7 @@ paths: type: array items: *221 examples: - default: *391 + default: *393 headers: Link: *42 '404': *6 @@ -59030,9 +59148,9 @@ paths: type: integer codespaces: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 '304': *32 '500': *35 '401': *23 @@ -59059,7 +59177,7 @@ paths: parameters: - *84 - *127 - - &394 + - &396 name: codespace_name in: path required: true @@ -59094,15 +59212,15 @@ paths: parameters: - *84 - *127 - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: &593 + default: &597 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -59358,7 +59476,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &397 title: Org Membership description: Org Membership type: object @@ -59427,7 +59545,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &396 + response-if-user-has-an-active-admin-membership-with-organization: &398 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -59528,9 +59646,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - response-if-user-already-had-membership-with-organization: *396 + response-if-user-already-had-membership-with-organization: *398 '422': *15 '403': *27 x-github: @@ -59602,7 +59720,7 @@ paths: application/json: schema: type: array - items: &397 + items: &399 title: Migration description: A migration. type: object @@ -59940,7 +60058,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -60119,7 +60237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *84 - - &398 + - &400 name: migration_id description: The unique identifier of the migration. in: path @@ -60147,7 +60265,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -60317,7 +60435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *84 - - *398 + - *400 responses: '302': description: Response @@ -60339,7 +60457,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *84 - - *398 + - *400 responses: '204': description: Response @@ -60363,8 +60481,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *84 - - *398 - - &862 + - *400 + - &866 name: repo_name description: repo_name parameter in: path @@ -60392,7 +60510,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *84 - - *398 + - *400 - *17 - *19 responses: @@ -60404,7 +60522,7 @@ paths: type: array items: *280 examples: - default: &408 + default: &410 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -60615,7 +60733,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &399 + items: &401 title: Organization Role description: Organization roles type: object @@ -60824,7 +60942,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -61054,7 +61172,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -61151,7 +61269,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -61310,7 +61428,7 @@ paths: parent: anyOf: - type: 'null' - - *400 + - *402 type: description: The ownership type of the team type: string @@ -61343,7 +61461,7 @@ paths: - type - parent examples: - default: *401 + default: *403 headers: Link: *42 '404': @@ -61402,7 +61520,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *400 + items: *402 name: type: - string @@ -61712,7 +61830,7 @@ paths: - nuget - container - *84 - - &863 + - &867 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -61748,12 +61866,12 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *403 + default: *405 '403': *27 '401': *23 - '400': &865 + '400': &869 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -61775,7 +61893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &404 + - &406 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -61793,7 +61911,7 @@ paths: - docker - nuget - container - - &405 + - &407 name: package_name description: The name of the package. in: path @@ -61806,7 +61924,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: default: value: @@ -61858,8 +61976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 responses: '204': @@ -61892,8 +62010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 - name: token description: package token @@ -61926,8 +62044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 - *19 - *17 @@ -61948,7 +62066,7 @@ paths: application/json: schema: type: array - items: &406 + items: &408 title: Package Version description: A version of a software package type: object @@ -62083,10 +62201,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 - - &407 + - &409 name: package_version_id description: Unique identifier of the package version. in: path @@ -62098,7 +62216,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -62134,10 +62252,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *404 - - *405 - - *84 + - *406 - *407 + - *84 + - *409 responses: '204': description: Response @@ -62169,10 +62287,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *404 - - *405 - - *84 + - *406 - *407 + - *84 + - *409 responses: '204': description: Response @@ -62202,7 +62320,7 @@ paths: - *84 - *17 - *19 - - &409 + - &411 name: sort description: The property by which to sort the results. in: query @@ -62213,7 +62331,7 @@ paths: - created_at default: created_at - *107 - - &410 + - &412 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -62225,7 +62343,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &411 + - &413 name: repository description: The name of the repository to use to filter the results. in: query @@ -62234,7 +62352,7 @@ paths: type: string examples: - Hello-World - - &412 + - &414 name: permission description: The permission to use to filter the results. in: query @@ -62243,7 +62361,7 @@ paths: type: string examples: - issues_read - - &413 + - &415 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -62253,7 +62371,7 @@ paths: schema: type: string format: date-time - - &414 + - &416 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -62263,7 +62381,7 @@ paths: schema: type: string format: date-time - - &415 + - &417 name: token_id description: The ID of the token in: query @@ -62582,7 +62700,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -62608,14 +62726,14 @@ paths: - *84 - *17 - *19 - - *409 - - *107 - - *410 - *411 + - *107 - *412 - *413 - *414 - *415 + - *416 + - *417 responses: '500': *35 '422': *15 @@ -62899,7 +63017,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -62941,7 +63059,7 @@ paths: type: integer configurations: type: array - items: &416 + items: &418 title: Organization private registry description: Private registry configuration for an organization type: object @@ -63458,7 +63576,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &417 + org-private-registry-with-selected-visibility: &419 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -63556,9 +63674,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *416 + schema: *418 examples: - default: *417 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -63810,7 +63928,7 @@ paths: application/json: schema: type: array - items: &418 + items: &420 title: Projects v2 Project description: A projects v2 project type: object @@ -63884,7 +64002,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &952 + - &956 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -63969,7 +64087,7 @@ paths: - deleted_at - deleted_by examples: - default: &419 + default: &421 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -64072,7 +64190,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &420 + - &422 name: project_number description: The project's number. in: path @@ -64085,9 +64203,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *42 '304': *32 @@ -64110,7 +64228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *84 - - *420 + - *422 requestBody: required: true description: Details of the draft item to create in the project. @@ -64144,7 +64262,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &427 title: Projects v2 Item description: An item belonging to a project type: object @@ -64158,7 +64276,7 @@ paths: content: oneOf: - *221 - - &568 + - &573 title: Pull Request Simple description: Pull Request Simple type: object @@ -64278,7 +64396,7 @@ paths: milestone: anyOf: - type: 'null' - - *421 + - *423 active_lock_reason: type: - string @@ -64371,7 +64489,7 @@ paths: _links: type: object properties: - comments: &422 + comments: &424 title: Link description: Hypermedia Link type: object @@ -64380,13 +64498,13 @@ paths: type: string required: - href - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + commits: *424 + statuses: *424 + html: *424 + issue: *424 + review_comments: *424 + review_comment: *424 + self: *424 required: - comments - commits @@ -64397,7 +64515,7 @@ paths: - review_comment - self author_association: *218 - auto_merge: &738 + auto_merge: &742 title: Auto merge description: The status of auto merging a pull request. type: @@ -64423,7 +64541,7 @@ paths: - merge_method - commit_title - commit_message - stack: &739 + stack: &743 title: Pull Request Stack description: The stack information associated with a pull request. @@ -64539,7 +64657,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &424 + content_type: &426 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -64583,7 +64701,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &426 + draft_issue: &428 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -64657,7 +64775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *420 + - *422 - *84 - *17 - *105 @@ -64669,7 +64787,7 @@ paths: application/json: schema: type: array - items: &423 + items: &425 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -64822,7 +64940,7 @@ paths: - updated_at - project_url examples: - default: &885 + default: &889 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64952,7 +65070,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *420 + - *422 - *84 requestBody: required: true @@ -64999,7 +65117,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &886 + items: &890 type: object properties: name: @@ -65036,7 +65154,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &887 + iteration_configuration: &891 type: object description: The configuration for iteration fields. required: @@ -65093,7 +65211,7 @@ paths: value: name: Due date data_type: date - single_select_field: &888 + single_select_field: &892 summary: Create a single select field value: name: Priority @@ -65120,7 +65238,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &889 + iteration_field: &893 summary: Create an iteration field value: name: Sprint @@ -65140,9 +65258,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *423 + schema: *425 examples: - text_field: &890 + text_field: &894 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -65151,7 +65269,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &891 + number_field: &895 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -65160,7 +65278,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &892 + date_field: &896 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -65169,7 +65287,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &893 + single_select_field: &897 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65203,7 +65321,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &894 + iteration_field: &898 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -65248,8 +65366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *420 - - &895 + - *422 + - &899 name: field_id description: The unique identifier of the field. in: path @@ -65262,9 +65380,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: - default: &896 + default: &900 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65320,7 +65438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *420 + - *422 - *84 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -65353,7 +65471,7 @@ paths: application/json: schema: type: array - items: &427 + items: &429 title: Projects v2 Item description: An item belonging to a project type: object @@ -65370,7 +65488,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *424 + content_type: *426 content: type: - object @@ -65420,7 +65538,7 @@ paths: - updated_at - archived_at examples: - default: &428 + default: &430 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -66118,7 +66236,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *84 - - *420 + - *422 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -66188,22 +66306,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *428 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *428 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *428 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *428 '304': *32 '403': *27 '401': *23 @@ -66223,9 +66341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *420 + - *422 - *84 - - &429 + - &431 name: item_id description: The unique identifier of the project item. in: path @@ -66251,9 +66369,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -66274,9 +66392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *420 + - *422 - *84 - - *429 + - *431 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -66349,13 +66467,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *430 + number_field: *430 + date_field: *430 + single_select_field: *430 + iteration_field: *430 '401': *23 '403': *27 '404': *6 @@ -66375,9 +66493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *420 + - *422 - *84 - - *429 + - *431 responses: '204': description: Response @@ -66401,7 +66519,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *84 - - *420 + - *422 requestBody: required: true content: @@ -66516,7 +66634,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &876 + schema: &880 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -66620,7 +66738,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &430 + value: &432 value: id: 1 number: 1 @@ -66666,10 +66784,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *430 + value: *432 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *432 '304': *32 '403': *27 '401': *23 @@ -66697,9 +66815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *420 + - *422 - *84 - - &897 + - &901 name: view_number description: The number that identifies the project view. in: path @@ -66731,9 +66849,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -66897,7 +67015,7 @@ paths: required: true content: application/json: - schema: *431 + schema: *433 examples: default: value: @@ -67265,7 +67383,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -67469,7 +67587,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &495 title: Full Repository description: Full Repository type: object @@ -67947,7 +68065,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &612 + code_of_conduct: &616 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -67977,7 +68095,7 @@ paths: - key - name - html_url - security_and_analysis: *432 + security_and_analysis: *434 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -68061,7 +68179,7 @@ paths: - network_count - subscribers_count examples: - default: &495 + default: &497 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -68587,9 +68705,9 @@ paths: application/json: schema: type: array - items: *433 + items: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68614,7 +68732,7 @@ paths: - *84 - *17 - *19 - - &763 + - &767 name: targets description: | A comma-separated list of rule targets to filter by. @@ -68706,11 +68824,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *166 - conditions: *435 + conditions: *437 rules: type: array description: An array of rules within the ruleset. - items: &437 + items: &439 title: Repository Rule type: object description: A repository rule. @@ -68775,7 +68893,7 @@ paths: application/json: schema: *188 examples: - default: &436 + default: &438 value: id: 21 name: super cool ruleset @@ -68831,7 +68949,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *84 - - &765 + - &769 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -68843,14 +68961,14 @@ paths: x-multi-segment: true - *310 - *102 - - &766 + - &770 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &767 + - &771 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -68863,7 +68981,7 @@ paths: - bypass - all default: all - - &768 + - &772 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -68886,7 +69004,7 @@ paths: description: Response content: application/json: - schema: &769 + schema: &773 title: Rule Suites description: Response type: array @@ -68942,7 +69060,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &770 + default: &774 value: - id: 21 actor_id: 12 @@ -68986,7 +69104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *84 - - &771 + - &775 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -69002,7 +69120,7 @@ paths: description: Response content: application/json: - schema: &772 + schema: &776 title: Rule Suite description: Response type: object @@ -69109,7 +69227,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &773 + default: &777 value: id: 21 actor_id: 12 @@ -69184,7 +69302,7 @@ paths: application/json: schema: *188 examples: - default: *436 + default: *438 '404': *6 '500': *35 put: @@ -69233,11 +69351,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *166 - conditions: *435 + conditions: *437 rules: description: An array of rules within the ruleset. type: array - items: *437 + items: *439 examples: default: value: @@ -69274,7 +69392,7 @@ paths: application/json: schema: *188 examples: - default: *436 + default: *438 '404': *6 '422': *15 '500': *35 @@ -69334,7 +69452,7 @@ paths: type: array items: *192 examples: - default: *438 + default: *440 '404': *6 '500': *35 x-github: @@ -69371,7 +69489,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -69434,18 +69552,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *84 - - *440 - - *441 - *442 - *443 - *444 - *445 - *446 - *447 + - *448 + - *449 - *107 - *19 - *17 - - &775 + - &779 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -69455,7 +69573,7 @@ paths: required: false schema: type: string - - &776 + - &780 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -69465,13 +69583,13 @@ paths: required: false schema: type: string - - *448 - - *449 - *450 - *451 - *452 - *453 - *454 + - *455 + - *456 responses: '200': description: Response @@ -69479,9 +69597,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *456 + default: *458 headers: Link: *42 '404': *6 @@ -69511,9 +69629,9 @@ paths: subcategory: custom-patterns parameters: - *84 - - *457 - - *458 - *459 + - *460 + - *461 - *107 - *105 - *106 @@ -69526,7 +69644,7 @@ paths: type: array items: *194 examples: - default: *460 + default: *462 headers: Link: *42 '403': *27 @@ -69562,9 +69680,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *461 + items: *463 examples: - default: *462 + default: *464 responses: '201': description: All patterns created successfully. @@ -69578,7 +69696,7 @@ paths: description: The list of successfully created custom patterns. items: *194 examples: - default: *463 + default: *465 '400': *14 '403': *27 '404': *6 @@ -69602,7 +69720,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *464 + items: *466 delete: summary: Bulk delete organization custom patterns description: |- @@ -69635,7 +69753,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *465 + items: *467 post_delete_action: type: string description: |- @@ -69648,7 +69766,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *466 + default: *468 responses: '204': description: All patterns deleted successfully. @@ -69686,9 +69804,9 @@ paths: required: true content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 responses: '200': description: Pattern updated successfully. @@ -69696,7 +69814,7 @@ paths: application/json: schema: *194 examples: - default: *469 + default: *471 '400': *14 '403': *27 '404': *6 @@ -69727,9 +69845,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *471 + default: *473 '403': *27 '404': *6 patch: @@ -69882,7 +70000,7 @@ paths: application/json: schema: type: array - items: &797 + items: &801 description: A repository security advisory. type: object properties: @@ -70126,7 +70244,7 @@ paths: login: type: string description: The username of the user credited. - type: *472 + type: *474 credits_detailed: type: - array @@ -70137,7 +70255,7 @@ paths: type: object properties: user: *4 - type: *472 + type: *474 state: type: string description: The state of the user's acceptance of the @@ -70201,7 +70319,7 @@ paths: - private_fork additionalProperties: false examples: - default: &798 + default: &802 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -70588,7 +70706,7 @@ paths: application/json: schema: type: array - items: *400 + items: *402 examples: default: value: @@ -70687,7 +70805,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *84 - - *473 + - *475 - *17 - *19 responses: @@ -70695,9 +70813,9 @@ paths: description: Success content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -70980,7 +71098,7 @@ paths: type: array items: *146 examples: - default: *476 + default: *478 headers: Link: *42 x-github: @@ -71209,15 +71327,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *84 - - *477 + - *479 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 headers: Link: *42 x-github: @@ -71255,7 +71373,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &492 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -71307,7 +71425,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &491 + default: &493 value: groups: - group_id: '123' @@ -71364,7 +71482,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 headers: Link: *42 '403': *27 @@ -71462,7 +71580,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &482 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -71536,7 +71654,7 @@ paths: parent: anyOf: - type: 'null' - - *400 + - *402 members_count: type: integer examples: @@ -71869,7 +71987,7 @@ paths: - repos_count - organization examples: - default: &481 + default: &483 value: id: 1 node_id: MDQ6VGVhbTE= @@ -71946,9 +72064,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 x-github: githubCloudOnly: false @@ -72039,16 +72157,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '201': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 '422': *15 '403': *27 @@ -72078,7 +72196,7 @@ paths: responses: '204': description: Response - '422': &484 + '422': &486 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -72107,10 +72225,10 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *483 - '422': *484 + default: *485 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -72154,10 +72272,10 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 - '422': *484 + default: *488 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72181,7 +72299,7 @@ paths: responses: '204': description: Response - '422': *484 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72213,12 +72331,12 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 headers: Link: *42 - '422': *484 + '422': *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72265,7 +72383,7 @@ paths: application/json: schema: type: array - items: &841 + items: &845 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -72408,7 +72526,7 @@ paths: - type - url examples: - default: &842 + default: &846 value: - login: octocat id: 1 @@ -72467,7 +72585,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &489 title: Team Membership description: Team Membership type: object @@ -72495,7 +72613,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &843 + response-if-user-is-a-team-maintainer: &847 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -72558,9 +72676,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - response-if-users-membership-with-team-is-now-pending: &844 + response-if-users-membership-with-team-is-now-pending: &848 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -72638,7 +72756,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -72669,14 +72787,14 @@ paths: parameters: - *84 - *214 - - *488 - - *489 + - *490 + - *491 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &845 + schema: &849 title: Team Repository description: A team's access to a repository. type: object @@ -73319,8 +73437,8 @@ paths: parameters: - *84 - *214 - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -73367,8 +73485,8 @@ paths: parameters: - *84 - *214 - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -73401,10 +73519,10 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 - '422': *484 + default: *493 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -73470,7 +73588,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: default: value: @@ -73482,7 +73600,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *484 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -73516,7 +73634,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: &846 + response-if-child-teams-exist: &850 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -73669,7 +73787,7 @@ paths: resources: type: object properties: - core: &492 + core: &494 title: Rate Limit type: object properties: @@ -73686,21 +73804,21 @@ paths: - remaining - reset - used - graphql: *492 - search: *492 - code_search: *492 - source_import: *492 - integration_manifest: *492 - actions_runner_registration: *492 - scim: *492 - dependency_snapshots: *492 - dependency_sbom: *492 - code_scanning_autofix: *492 - copilot_usage_records: *492 + graphql: *494 + search: *494 + code_search: *494 + source_import: *494 + integration_manifest: *494 + actions_runner_registration: *494 + scim: *494 + dependency_snapshots: *494 + dependency_sbom: *494 + code_scanning_autofix: *494 + copilot_usage_records: *494 required: - core - search - rate: *492 + rate: *494 required: - rate - resources @@ -73800,14 +73918,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: default-response: summary: Default response @@ -74316,7 +74434,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *494 + '301': *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74334,8 +74452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -74656,10 +74774,10 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 - '307': &496 + default: *497 + '307': &498 description: Temporary Redirect content: application/json: @@ -74688,8 +74806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -74711,7 +74829,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *496 + '307': *498 '404': *6 '409': *116 x-github: @@ -74735,11 +74853,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - - &512 + - &514 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -74762,7 +74880,7 @@ paths: type: integer artifacts: type: array - items: &497 + items: &499 title: Artifact description: An artifact type: object @@ -74857,7 +74975,7 @@ paths: - expires_at - updated_at examples: - default: &513 + default: &515 value: total_count: 2 artifacts: @@ -74918,9 +75036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *488 - - *489 - - &498 + - *490 + - *491 + - &500 name: artifact_id description: The unique identifier of the artifact. in: path @@ -74932,7 +75050,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -74970,9 +75088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *488 - - *489 - - *498 + - *490 + - *491 + - *500 responses: '204': description: Response @@ -74996,9 +75114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *488 - - *489 - - *498 + - *490 + - *491 + - *500 - name: archive_format in: path required: true @@ -75008,7 +75126,7 @@ paths: '302': description: Response headers: - Location: &629 + Location: &633 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string @@ -75033,14 +75151,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &499 + schema: &501 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -75074,13 +75192,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *499 + schema: *501 examples: selected_actions: *39 responses: @@ -75109,14 +75227,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &500 + schema: &502 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -75150,13 +75268,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *500 + schema: *502 examples: selected_actions: *41 responses: @@ -75187,14 +75305,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -75220,11 +75338,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - - &502 + - &504 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -75258,7 +75376,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &505 title: Repository actions caches description: Repository actions caches type: object @@ -75308,7 +75426,7 @@ paths: - total_count - actions_caches examples: - default: &504 + default: &506 value: total_count: 1 actions_caches: @@ -75340,23 +75458,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *488 - - *489 + - *490 + - *491 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *502 + - *504 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75376,8 +75494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *488 - - *489 + - *490 + - *491 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -75406,8 +75524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *106 responses: @@ -75490,8 +75608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -75647,9 +75765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *488 - - *489 - - &505 + - *490 + - *491 + - &507 name: job_id description: The unique identifier of the job. in: path @@ -75662,7 +75780,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &518 title: Job description: Information of a job execution in a workflow run type: object @@ -76011,9 +76129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *488 - - *489 - - *505 + - *490 + - *491 + - *507 responses: '302': description: Response @@ -76041,9 +76159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *488 - - *489 - - *505 + - *490 + - *491 + - *507 requestBody: required: false content: @@ -76094,8 +76212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Status response @@ -76154,8 +76272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -76223,8 +76341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -76242,7 +76360,7 @@ paths: type: integer secrets: type: array - items: &518 + items: &520 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -76263,7 +76381,7 @@ paths: - created_at - updated_at examples: - default: &519 + default: &521 value: total_count: 2 secrets: @@ -76296,8 +76414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -76315,7 +76433,7 @@ paths: type: integer variables: type: array - items: &520 + items: &522 title: Actions Variable type: object properties: @@ -76349,7 +76467,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &523 value: total_count: 2 variables: @@ -76382,8 +76500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76392,7 +76510,7 @@ paths: schema: type: object properties: - enabled: &506 + enabled: &508 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *57 @@ -76427,8 +76545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -76439,7 +76557,7 @@ paths: schema: type: object properties: - enabled: *506 + enabled: *508 allowed_actions: *57 sha_pinning_required: *58 required: @@ -76472,14 +76590,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &507 + schema: &509 type: object properties: access_level: @@ -76497,7 +76615,7 @@ paths: required: - access_level examples: - default: &508 + default: &510 value: access_level: organization x-github: @@ -76522,15 +76640,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 responses: '204': description: Response @@ -76554,8 +76672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76585,8 +76703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Empty response for successful settings update @@ -76620,8 +76738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76648,8 +76766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -76683,8 +76801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76712,8 +76830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -76744,8 +76862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76776,8 +76894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -76809,8 +76927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76839,8 +76957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Success response @@ -76880,8 +76998,8 @@ paths: in: query schema: type: string - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -76926,8 +77044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: version description: The runner version to look up. in: path @@ -76994,8 +77112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -77027,8 +77145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -77102,8 +77220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -77139,8 +77257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -77170,8 +77288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '200': @@ -77201,8 +77319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '204': @@ -77229,8 +77347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '200': *78 @@ -77255,8 +77373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 requestBody: required: true @@ -77305,8 +77423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 requestBody: required: true @@ -77356,8 +77474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '200': *287 @@ -77387,8 +77505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 - *288 responses: @@ -77418,9 +77536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *488 - - *489 - - &524 + - *490 + - *491 + - &526 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -77428,7 +77546,7 @@ paths: required: false schema: type: string - - &525 + - &527 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -77436,7 +77554,7 @@ paths: required: false schema: type: string - - &526 + - &528 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -77445,7 +77563,7 @@ paths: required: false schema: type: string - - &527 + - &529 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -77472,7 +77590,7 @@ paths: - pending - *17 - *19 - - &528 + - &530 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -77481,7 +77599,7 @@ paths: schema: type: string format: date-time - - &509 + - &511 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -77490,14 +77608,14 @@ paths: schema: type: boolean default: false - - &529 + - &531 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &530 + - &532 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -77520,7 +77638,7 @@ paths: type: integer workflow_runs: type: array - items: &510 + items: &512 title: Workflow Run description: An invocation of a workflow type: object @@ -77700,7 +77818,7 @@ paths: head_commit: anyOf: - type: 'null' - - &554 + - &556 title: Simple Commit description: A commit. type: object @@ -77815,7 +77933,7 @@ paths: - workflow_url - pull_requests examples: - default: &531 + default: &533 value: total_count: 1 workflow_runs: @@ -78051,24 +78169,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *488 - - *489 - - &511 + - *490 + - *491 + - &513 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *509 + - *511 responses: '200': description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: &514 + default: &516 value: id: 30433642 name: Build @@ -78309,9 +78427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '204': description: Response @@ -78334,9 +78452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '200': description: Response @@ -78464,9 +78582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '201': description: Response @@ -78499,12 +78617,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 - *17 - *19 - - *512 + - *514 - *107 responses: '200': @@ -78521,9 +78639,9 @@ paths: type: integer artifacts: type: array - items: *497 + items: *499 examples: - default: *513 + default: *515 headers: Link: *42 x-github: @@ -78547,25 +78665,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *488 - - *489 - - *511 - - &515 + - *490 + - *491 + - *513 + - &517 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *509 + - *511 responses: '200': description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *514 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78588,10 +78706,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *488 - - *489 - - *511 - - *515 + - *490 + - *491 + - *513 + - *517 - *17 - *19 responses: @@ -78609,9 +78727,9 @@ paths: type: integer jobs: type: array - items: *516 + items: *518 examples: - default: &517 + default: &519 value: total_count: 1 jobs: @@ -78724,10 +78842,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *488 - - *489 - - *511 - - *515 + - *490 + - *491 + - *513 + - *517 responses: '302': description: Response @@ -78755,9 +78873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '202': description: Response @@ -78803,9 +78921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 - *17 - *105 - *106 @@ -78982,9 +79100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: true content: @@ -79051,9 +79169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '202': description: Response @@ -79086,9 +79204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -79118,9 +79236,9 @@ paths: type: integer jobs: type: array - items: *516 + items: *518 examples: - default: *517 + default: *519 headers: Link: *42 x-github: @@ -79145,9 +79263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '302': description: Response @@ -79174,9 +79292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '204': description: Response @@ -79203,9 +79321,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '200': description: Response @@ -79274,7 +79392,7 @@ paths: items: type: object properties: - type: &644 + type: &648 type: string description: The type of reviewer. enum: @@ -79360,9 +79478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: true content: @@ -79412,7 +79530,7 @@ paths: application/json: schema: type: array - items: &631 + items: &635 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -79524,7 +79642,7 @@ paths: - created_at - updated_at examples: - default: &632 + default: &636 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -79580,9 +79698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: false content: @@ -79627,9 +79745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: false content: @@ -79684,9 +79802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '200': description: Response @@ -79823,8 +79941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -79842,9 +79960,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -79869,8 +79987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -79900,17 +80018,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: &532 + default: &534 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -79936,8 +80054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -79995,8 +80113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -80022,8 +80140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -80041,9 +80159,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -80066,8 +80184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -80119,17 +80237,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: &533 + default: &535 value: name: USERNAME value: octocat @@ -80155,8 +80273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 requestBody: required: true @@ -80199,8 +80317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '204': @@ -80226,8 +80344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -80245,7 +80363,7 @@ paths: type: integer workflows: type: array - items: &522 + items: &524 title: Workflow description: A GitHub Actions workflow type: object @@ -80363,9 +80481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *488 - - *489 - - &523 + - *490 + - *491 + - &525 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -80380,7 +80498,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -80413,9 +80531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '204': description: Response @@ -80440,9 +80558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -80529,9 +80647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '204': description: Response @@ -80558,19 +80676,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *488 - - *489 - - *523 - - *524 + - *490 + - *491 - *525 - *526 - *527 - - *17 - - *19 - *528 - - *509 - *529 + - *17 + - *19 - *530 + - *511 + - *531 + - *532 responses: '200': description: Response @@ -80586,9 +80704,9 @@ paths: type: integer workflow_runs: type: array - items: *510 + items: *512 examples: - default: *531 + default: *533 headers: Link: *42 x-github: @@ -80621,9 +80739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '200': description: Response @@ -80684,8 +80802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *488 - - *489 + - *490 + - *491 - *107 - *17 - *105 @@ -80858,8 +80976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -80877,9 +80995,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -80903,8 +81021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -80922,9 +81040,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -80949,8 +81067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -80968,9 +81086,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -80995,8 +81113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -81026,17 +81144,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *532 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81058,8 +81176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -81117,8 +81235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -81144,8 +81262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -81163,9 +81281,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -81188,8 +81306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -81241,17 +81359,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81272,8 +81390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 requestBody: required: true @@ -81316,8 +81434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '204': @@ -81339,8 +81457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -81377,8 +81495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *488 - - *489 + - *490 + - *491 - name: assignee in: path required: true @@ -81414,8 +81532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -81525,8 +81643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *105 - *106 @@ -81583,7 +81701,7 @@ paths: initiator: type: string examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81603,8 +81721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -81612,7 +81730,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Autolink reference description: An autolink reference. type: object @@ -81671,8 +81789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -81711,9 +81829,9 @@ paths: description: response content: application/json: - schema: *535 + schema: *537 examples: - default: &536 + default: &538 value: id: 1 key_prefix: TICKET- @@ -81744,9 +81862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *488 - - *489 - - &537 + - *490 + - *491 + - &539 name: autolink_id description: The unique identifier of the autolink. in: path @@ -81758,9 +81876,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -81780,9 +81898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *488 - - *489 - - *537 + - *490 + - *491 + - *539 responses: '204': description: Response @@ -81806,8 +81924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response if Dependabot is enabled @@ -81857,8 +81975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -81879,8 +81997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -81900,8 +82018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *488 - - *489 + - *490 + - *491 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -81939,7 +82057,7 @@ paths: - url protected: type: boolean - protection: &539 + protection: &541 title: Branch Protection description: Branch Protection type: object @@ -81982,7 +82100,7 @@ paths: required: - contexts - checks - enforce_admins: &542 + enforce_admins: &544 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -81999,7 +82117,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &544 + required_pull_request_reviews: &546 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -82083,7 +82201,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &541 + restrictions: &543 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -82376,9 +82494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *488 - - *489 - - &540 + - *490 + - *491 + - &542 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -82392,14 +82510,14 @@ paths: description: Response content: application/json: - schema: &550 + schema: &552 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &604 + commit: &608 title: Commit description: Commit type: object @@ -82438,7 +82556,7 @@ paths: author: anyOf: - type: 'null' - - &538 + - &540 title: Git User description: Metaproperties for Git author/committer information. @@ -82460,7 +82578,7 @@ paths: committer: anyOf: - type: 'null' - - *538 + - *540 message: type: string examples: @@ -82484,7 +82602,7 @@ paths: required: - sha - url - verification: &662 + verification: &666 title: Verification type: object properties: @@ -82564,7 +82682,7 @@ paths: type: integer files: type: array - items: &614 + items: &618 title: Diff Entry description: Diff Entry type: object @@ -82660,7 +82778,7 @@ paths: - self protected: type: boolean - protection: *539 + protection: *541 protection_url: type: string format: uri @@ -82769,7 +82887,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *494 + '301': *496 '404': *6 x-github: githubCloudOnly: false @@ -82791,15 +82909,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -82993,9 +83111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -83255,7 +83373,7 @@ paths: url: type: string format: uri - required_status_checks: &547 + required_status_checks: &549 title: Status Check Policy description: Status Check Policy type: object @@ -83414,7 +83532,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *541 + restrictions: *543 required_conversation_resolution: type: object properties: @@ -83526,9 +83644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -83553,17 +83671,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: &543 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -83585,17 +83703,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *543 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83614,9 +83732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -83641,17 +83759,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: &545 + default: &547 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -83747,9 +83865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -83847,9 +83965,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: *545 + default: *547 '422': *15 x-github: githubCloudOnly: false @@ -83870,9 +83988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -83899,17 +84017,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: &546 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -83932,17 +84050,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *546 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -83962,9 +84080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -83989,17 +84107,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: &548 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -84025,9 +84143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84079,9 +84197,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: *548 + default: *550 '404': *6 '422': *15 x-github: @@ -84103,9 +84221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -84129,9 +84247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -84165,9 +84283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84234,9 +84352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84300,9 +84418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: content: application/json: @@ -84368,15 +84486,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *541 + schema: *543 examples: default: value: @@ -84467,9 +84585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -84492,9 +84610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -84504,7 +84622,7 @@ paths: type: array items: *5 examples: - default: &549 + default: &551 value: - id: 1 slug: octoapp @@ -84561,9 +84679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84597,7 +84715,7 @@ paths: type: array items: *5 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -84618,9 +84736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84654,7 +84772,7 @@ paths: type: array items: *5 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -84675,9 +84793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84711,7 +84829,7 @@ paths: type: array items: *5 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -84733,9 +84851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -84745,7 +84863,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '404': *6 x-github: githubCloudOnly: false @@ -84765,9 +84883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84805,7 +84923,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -84826,9 +84944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84866,7 +84984,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -84887,9 +85005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: content: application/json: @@ -84926,7 +85044,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -84948,9 +85066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -84984,9 +85102,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85044,9 +85162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85104,9 +85222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85166,9 +85284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85190,7 +85308,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -85304,8 +85422,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *488 - - *489 + - *490 + - *491 - *100 - *101 - *102 @@ -85341,8 +85459,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_request_number in: path required: true @@ -85415,8 +85533,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - *100 - *101 - *102 @@ -85456,8 +85574,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_request_number in: path required: true @@ -85527,8 +85645,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_request_number in: path required: true @@ -85599,8 +85717,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_response_id in: path required: true @@ -85633,8 +85751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -85913,7 +86031,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &553 title: CheckRun description: A check performed on the code of a given code change type: object @@ -86049,7 +86167,7 @@ paths: check. type: array items: *224 - deployment: &908 + deployment: &912 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -86336,9 +86454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *488 - - *489 - - &552 + - *490 + - *491 + - &554 name: check_run_id description: The unique identifier of the check run. in: path @@ -86351,9 +86469,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: &553 + default: &555 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -86453,9 +86571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *488 - - *489 - - *552 + - *490 + - *491 + - *554 requestBody: required: true content: @@ -86695,9 +86813,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86717,9 +86835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *488 - - *489 - - *552 + - *490 + - *491 + - *554 - *17 - *19 responses: @@ -86829,9 +86947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *488 - - *489 - - *552 + - *490 + - *491 + - *554 responses: '201': description: Response @@ -86875,8 +86993,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -86898,7 +87016,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &555 + schema: &557 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -86996,7 +87114,7 @@ paths: - string - 'null' format: date-time - head_commit: *554 + head_commit: *556 latest_check_runs_count: type: integer check_runs_url: @@ -87024,7 +87142,7 @@ paths: - check_runs_url - pull_requests examples: - default: &556 + default: &558 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -87315,9 +87433,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87336,8 +87454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -87646,9 +87764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *488 - - *489 - - &557 + - *490 + - *491 + - &559 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -87660,9 +87778,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87685,17 +87803,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *488 - - *489 - - *557 - - &609 + - *490 + - *491 + - *559 + - &613 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &610 + - &614 name: status description: Returns check runs with the specified `status`. in: query @@ -87734,9 +87852,9 @@ paths: type: integer check_runs: type: array - items: *551 + items: *553 examples: - default: &611 + default: &615 value: total_count: 1 check_runs: @@ -87838,9 +87956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *488 - - *489 - - *557 + - *490 + - *491 + - *559 responses: '201': description: Response @@ -87869,8 +87987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *107 - *105 @@ -87892,7 +88010,7 @@ paths: application/json: schema: type: array - items: &558 + items: &560 description: Code quality finding type: object properties: @@ -88022,7 +88140,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &559 + '403': &561 description: Response if the user is not authorized to access Code quality for this repository. content: @@ -88049,8 +88167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *488 - - *489 + - *490 + - *491 - name: finding_number in: path description: The number that identifies a finding. @@ -88062,7 +88180,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default: value: @@ -88091,7 +88209,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *559 + '403': *561 '404': *6 '503': *193 x-github: @@ -88113,8 +88231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -88196,7 +88314,7 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *559 + '403': *561 '404': *6 '503': *193 x-github: @@ -88217,8 +88335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -88338,6 +88456,122 @@ paths: enabledForGitHubApps: true category: code-quality subcategory: code-quality + "/repos/{owner}/{repo}/code-scanning/ai-scan": + get: + summary: Get AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository + parameters: + - *490 + - *491 + responses: + '200': + description: Response + content: + application/json: + schema: &562 + description: AI Scan enablement for a repository. + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the repository. + type: string + enum: + - enabled + - disabled + required: + - pr_scan + examples: + default: &563 + value: + pr_scan: enabled + '403': &572 + description: Response if GitHub Advanced Security is not enabled for this + repository + content: + application/json: + schema: *3 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning + patch: + summary: Update AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository + parameters: + - *490 + - *491 + requestBody: + required: true + content: + application/json: + schema: + description: AI Scan enablement update for a repository. + type: object + properties: + pr_scan: + description: Whether to enable or disable AI Scan for the repository. + type: string + enum: + - enabled + - disabled + minProperties: 1 + additionalProperties: false + examples: + enabled: + summary: Enable AI Scan + value: + pr_scan: enabled + disabled: + summary: Disable AI Scan + value: + pr_scan: disabled + responses: + '200': + description: Response + content: + application/json: + schema: *562 + examples: + default: *563 + '403': &576 + description: Response if the repository is archived or if GitHub Advanced + Security is not enabled for this repository + content: + application/json: + schema: *3 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning "/repos/{owner}/{repo}/code-scanning/alerts": get: summary: List code scanning alerts for a repository @@ -88356,21 +88590,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *488 - - *489 - - *317 - - *318 + - *490 + - *491 + - *319 + - *320 - *19 - *17 - - &576 + - &580 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *560 - - &577 + schema: *564 + - &581 name: pr description: The number of the pull request for the results you want to list. in: query @@ -88395,13 +88629,13 @@ paths: be returned. in: query required: false - schema: *319 + schema: *321 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *561 + schema: *565 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -88425,7 +88659,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *562 + instances_url: *566 state: *110 fixed_at: *138 dismissed_by: @@ -88433,11 +88667,11 @@ paths: - type: 'null' - *4 dismissed_at: *137 - dismissed_reason: *563 - dismissed_comment: *564 - rule: *565 - tool: *566 - most_recent_instance: *567 + dismissed_reason: *567 + dismissed_comment: *568 + rule: *569 + tool: *570 + most_recent_instance: *571 dismissal_approved_by: anyOf: - type: 'null' @@ -88560,12 +88794,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *32 - '403': &569 - description: Response if GitHub Advanced Security is not enabled for this - repository - content: - application/json: - schema: *3 + '403': *572 '404': *6 '503': *193 x-github: @@ -88587,9 +88816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *488 - - *489 - - &570 + - *490 + - *491 + - &574 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -88603,7 +88832,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &575 type: object properties: number: *128 @@ -88611,7 +88840,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *562 + instances_url: *566 state: *110 fixed_at: *138 dismissed_by: @@ -88619,8 +88848,8 @@ paths: - type: 'null' - *4 dismissed_at: *137 - dismissed_reason: *563 - dismissed_comment: *564 + dismissed_reason: *567 + dismissed_comment: *568 rule: type: object properties: @@ -88682,8 +88911,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *566 - most_recent_instance: *567 + tool: *570 + most_recent_instance: *571 dismissal_approved_by: anyOf: - type: 'null' @@ -88694,7 +88923,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *568 + items: *573 required: - number - created_at @@ -88783,7 +89012,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *32 - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -88803,9 +89032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 requestBody: required: true content: @@ -88820,8 +89049,8 @@ paths: enum: - open - dismissed - dismissed_reason: *563 - dismissed_comment: *564 + dismissed_reason: *567 + dismissed_comment: *568 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -88849,7 +89078,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *575 examples: default: value: @@ -88925,12 +89154,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &575 - description: Response if the repository is archived or if GitHub Advanced - Security is not enabled for this repository - content: - application/json: - schema: *3 + '403': *576 '404': *6 '503': *193 x-github: @@ -88952,15 +89176,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 responses: '200': description: Response content: application/json: - schema: &572 + schema: &577 type: object properties: status: @@ -88987,13 +89211,13 @@ paths: - description - started_at examples: - default: &573 + default: &578 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &574 + '400': &579 description: Bad Request content: application/json: @@ -89004,7 +89228,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *569 + '403': *572 '404': *6 '500': *35 x-github: @@ -89029,29 +89253,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 responses: '200': description: OK content: application/json: - schema: *572 + schema: *577 examples: - default: *573 + default: *578 '202': description: Accepted content: application/json: - schema: *572 + schema: *577 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *574 + '400': *579 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -89083,9 +89307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 requestBody: required: false content: @@ -89131,8 +89355,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *574 - '403': *575 + '400': *579 + '403': *576 '404': *6 '422': description: Unprocessable Entity @@ -89156,13 +89380,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 - *19 - *17 - - *576 - - *577 + - *580 + - *581 responses: '200': description: Response @@ -89173,10 +89397,10 @@ paths: items: type: object properties: - ref: *560 - analysis_key: *578 - environment: *579 - category: *580 + ref: *564 + analysis_key: *582 + environment: *583 + category: *584 state: type: - string @@ -89193,7 +89417,7 @@ paths: properties: text: type: string - location: *581 + location: *585 html_url: type: string classifications: @@ -89201,7 +89425,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *582 + items: *586 examples: default: value: @@ -89238,7 +89462,7 @@ paths: end_column: 50 classifications: - source - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -89272,25 +89496,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *488 - - *489 - - *317 - - *318 + - *490 + - *491 + - *319 + - *320 - *19 - *17 - - *577 + - *581 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *560 + schema: *564 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &583 + schema: &587 type: string description: An identifier for the upload. examples: @@ -89312,23 +89536,23 @@ paths: application/json: schema: type: array - items: &584 + items: &588 type: object properties: - ref: *560 - commit_sha: &592 + ref: *564 + commit_sha: &596 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *578 + analysis_key: *582 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *580 + category: *584 error: type: string examples: @@ -89353,8 +89577,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *583 - tool: *566 + sarif_id: *587 + tool: *570 deletable: type: boolean warning: @@ -89416,7 +89640,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -89452,8 +89676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -89466,7 +89690,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: response: summary: application/json response @@ -89520,7 +89744,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *569 + '403': *572 '404': *6 '422': description: Response if analysis could not be processed @@ -89607,8 +89831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -89664,7 +89888,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *575 + '403': *576 '404': *6 '503': *193 x-github: @@ -89686,8 +89910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -89695,7 +89919,7 @@ paths: application/json: schema: type: array - items: &585 + items: &589 title: CodeQL Database description: A CodeQL database. type: object @@ -89807,7 +90031,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -89836,8 +90060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: language in: path description: The language of the CodeQL database. @@ -89849,7 +90073,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *589 examples: default: value: @@ -89881,9 +90105,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &618 + '302': &622 description: Found - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -89905,8 +90129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *488 - - *489 + - *490 + - *491 - name: language in: path description: The language of the CodeQL database. @@ -89916,7 +90140,7 @@ paths: responses: '204': description: Response - '403': *575 + '403': *576 '404': *6 '503': *193 x-github: @@ -89944,8 +90168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -89954,7 +90178,7 @@ paths: type: object additionalProperties: false properties: - language: &586 + language: &590 type: string description: The language targeted by the CodeQL query enum: @@ -90034,7 +90258,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &590 + schema: &594 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -90044,7 +90268,7 @@ paths: description: The ID of the variant analysis. controller_repo: *117 actor: *4 - query_language: *586 + query_language: *590 query_pack_url: type: string description: The download url for the query pack. @@ -90092,7 +90316,7 @@ paths: items: type: object properties: - repository: &587 + repository: &591 title: Repository Identifier description: Repository Identifier type: object @@ -90134,7 +90358,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &591 + analysis_status: &595 type: string description: The new status of the CodeQL variant analysis repository task. @@ -90166,7 +90390,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &588 + access_mismatch_repos: &592 type: object properties: repository_count: @@ -90181,7 +90405,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *587 + items: *591 required: - repository_count - repositories @@ -90204,8 +90428,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *588 - over_limit_repos: *588 + no_codeql_db_repos: *592 + over_limit_repos: *592 required: - access_mismatch_repos - not_found_repos @@ -90221,7 +90445,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &589 + value: &593 summary: Default response value: id: 1 @@ -90367,10 +90591,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *589 + value: *593 repository_lists: summary: Response for a successful variant analysis submission - value: *589 + value: *593 '404': *6 '422': description: Unable to process variant analysis submission @@ -90398,8 +90622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *488 - - *489 + - *490 + - *491 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -90411,9 +90635,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *594 examples: - default: *589 + default: *593 '404': *6 '503': *193 x-github: @@ -90436,7 +90660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *488 + - *490 - name: repo in: path description: The name of the controller repository. @@ -90471,7 +90695,7 @@ paths: type: object properties: repository: *117 - analysis_status: *591 + analysis_status: *595 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -90596,8 +90820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -90690,7 +90914,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -90711,8 +90935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -90806,7 +91030,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *575 + '403': *576 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -90877,8 +91101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -90886,7 +91110,7 @@ paths: schema: type: object properties: - commit_sha: *592 + commit_sha: *596 ref: type: string description: |- @@ -90946,7 +91170,7 @@ paths: schema: type: object properties: - id: *583 + id: *587 url: type: string description: The REST API URL for checking the status of the upload. @@ -90960,7 +91184,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *575 + '403': *576 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -90983,8 +91207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *488 - - *489 + - *490 + - *491 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -91032,7 +91256,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *569 + '403': *572 '404': description: Not Found if the sarif id does not match any upload '503': *193 @@ -91057,8 +91281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -91139,8 +91363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -91268,8 +91492,8 @@ paths: parameters: - *17 - *19 - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -91285,7 +91509,7 @@ paths: type: integer codespaces: type: array - items: *392 + items: *394 examples: default: value: @@ -91583,8 +91807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -91648,17 +91872,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '400': *14 '401': *23 '403': *27 @@ -91687,8 +91911,8 @@ paths: parameters: - *17 - *19 - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -91752,8 +91976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -91790,9 +92014,9 @@ paths: type: integer machines: type: array - items: *594 + items: *598 examples: - default: &852 + default: &856 value: total_count: 2 machines: @@ -91832,8 +92056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -91920,8 +92144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -91990,8 +92214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -92009,7 +92233,7 @@ paths: type: integer secrets: type: array - items: &598 + items: &602 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -92030,7 +92254,7 @@ paths: - created_at - updated_at examples: - default: *595 + default: *599 headers: Link: *42 x-github: @@ -92053,16 +92277,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: *597 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92082,17 +92306,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: *599 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92112,8 +92336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -92166,8 +92390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -92196,8 +92420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *488 - - *489 + - *490 + - *491 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -92235,7 +92459,7 @@ paths: application/json: schema: type: array - items: &600 + items: &604 title: Collaborator description: Collaborator type: object @@ -92428,8 +92652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *488 - - *489 + - *490 + - *491 - *127 responses: '204': @@ -92476,8 +92700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *488 - - *489 + - *490 + - *491 - *127 requestBody: required: false @@ -92504,7 +92728,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &675 + schema: &679 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92732,8 +92956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *488 - - *489 + - *490 + - *491 - *127 responses: '204': @@ -92765,8 +92989,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *488 - - *489 + - *490 + - *491 - *127 responses: '200': @@ -92787,7 +93011,7 @@ paths: user: anyOf: - type: 'null' - - *600 + - *604 required: - permission - role_name @@ -92841,8 +93065,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -92852,7 +93076,7 @@ paths: application/json: schema: type: array - items: &601 + items: &605 title: Commit Comment description: Commit Comment type: object @@ -92910,7 +93134,7 @@ paths: - created_at - updated_at examples: - default: &606 + default: &610 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -92969,17 +93193,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': description: Response content: application/json: - schema: *601 + schema: *605 examples: - default: &607 + default: &611 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93036,8 +93260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -93060,7 +93284,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *605 examples: default: value: @@ -93111,8 +93335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -93134,8 +93358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -93162,7 +93386,7 @@ paths: application/json: schema: type: array - items: &602 + items: &606 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -93206,7 +93430,7 @@ paths: - content - created_at examples: - default: &678 + default: &682 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -93251,8 +93475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -93285,9 +93509,9 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: &603 + default: &607 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -93316,9 +93540,9 @@ paths: description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -93340,10 +93564,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *488 - - *489 + - *490 + - *491 - *235 - - &679 + - &683 name: reaction_id description: The unique identifier of the reaction. in: path @@ -93398,8 +93622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *488 - - *489 + - *490 + - *491 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -93455,9 +93679,9 @@ paths: application/json: schema: type: array - items: *604 + items: *608 examples: - default: &746 + default: &750 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -93551,9 +93775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *488 - - *489 - - &605 + - *490 + - *491 + - &609 name: commit_sha description: The SHA of the commit. in: path @@ -93625,9 +93849,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 - *17 - *19 responses: @@ -93637,9 +93861,9 @@ paths: application/json: schema: type: array - items: *601 + items: *605 examples: - default: *606 + default: *610 headers: Link: *42 x-github: @@ -93669,9 +93893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 requestBody: required: true content: @@ -93706,9 +93930,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *605 examples: - default: *607 + default: *611 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93736,9 +93960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 - *17 - *19 responses: @@ -93748,9 +93972,9 @@ paths: application/json: schema: type: array - items: *568 + items: *573 examples: - default: &737 + default: &741 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -94287,11 +94511,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *488 - - *489 + - *490 + - *491 - *19 - *17 - - &608 + - &612 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -94306,9 +94530,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *608 examples: - default: &723 + default: &727 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -94396,7 +94620,7 @@ paths: schema: type: string examples: - default: &615 + default: &619 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -94409,7 +94633,7 @@ paths: schema: type: string examples: - default: &616 + default: &620 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -94462,11 +94686,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *488 - - *489 - - *608 - - *609 - - *610 + - *490 + - *491 + - *612 + - *613 + - *614 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -94500,9 +94724,9 @@ paths: type: integer check_runs: type: array - items: *551 + items: *553 examples: - default: *611 + default: *615 headers: Link: *42 x-github: @@ -94527,9 +94751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *488 - - *489 - - *608 + - *490 + - *491 + - *612 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -94537,7 +94761,7 @@ paths: schema: type: integer example: 1 - - *609 + - *613 - *17 - *19 responses: @@ -94555,7 +94779,7 @@ paths: type: integer check_suites: type: array - items: *555 + items: *557 examples: default: value: @@ -94755,9 +94979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *488 - - *489 - - *608 + - *490 + - *491 + - *612 - *17 - *19 responses: @@ -94959,9 +95183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *488 - - *489 - - *608 + - *490 + - *491 + - *612 - *17 - *19 responses: @@ -94971,7 +95195,7 @@ paths: application/json: schema: type: array - items: &804 + items: &808 title: Status description: The status of a commit. type: object @@ -95052,7 +95276,7 @@ paths: site_admin: false headers: Link: *42 - '301': *494 + '301': *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95080,8 +95304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -95114,11 +95338,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *612 + - *616 code_of_conduct_file: anyOf: - type: 'null' - - &613 + - &617 title: Community Health File type: object properties: @@ -95138,19 +95362,19 @@ paths: contributing: anyOf: - type: 'null' - - *613 + - *617 readme: anyOf: - type: 'null' - - *613 + - *617 issue_template: anyOf: - type: 'null' - - *613 + - *617 pull_request_template: anyOf: - type: 'null' - - *613 + - *617 required: - code_of_conduct - code_of_conduct_file @@ -95279,8 +95503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *488 - - *489 + - *490 + - *491 - *19 - *17 - name: basehead @@ -95328,8 +95552,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *604 - merge_base_commit: *604 + base_commit: *608 + merge_base_commit: *608 status: type: string enum: @@ -95353,10 +95577,10 @@ paths: - 6 commits: type: array - items: *604 + items: *608 files: type: array - items: *614 + items: *618 required: - url - html_url @@ -95602,12 +95826,12 @@ paths: schema: type: string examples: - default: *615 + default: *619 application/vnd.github.patch: schema: type: string examples: - default: *616 + default: *620 '404': *6 '500': *35 '503': *193 @@ -95652,8 +95876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *488 - - *489 + - *490 + - *491 - name: path description: path parameter in: path @@ -95823,7 +96047,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &617 + response-if-content-is-a-file-github-object: &621 summary: Response if content is a file value: type: file @@ -95960,7 +96184,7 @@ paths: - size - type - url - - &752 + - &756 title: Content File description: Content File type: object @@ -96178,7 +96402,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *617 + response-if-content-is-a-file: *621 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -96247,7 +96471,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *618 + '302': *622 '304': *32 x-github: githubCloudOnly: false @@ -96270,8 +96494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *488 - - *489 + - *490 + - *491 - name: path description: path parameter in: path @@ -96366,7 +96590,7 @@ paths: description: Response content: application/json: - schema: &619 + schema: &623 title: File Commit description: File Commit type: object @@ -96522,7 +96746,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: example-for-creating-a-file: value: @@ -96576,7 +96800,7 @@ paths: schema: oneOf: - *3 - - &657 + - &661 description: Repository rule violation was detected type: object properties: @@ -96597,7 +96821,7 @@ paths: items: type: object properties: - placeholder_id: &794 + placeholder_id: &798 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -96629,8 +96853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *488 - - *489 + - *490 + - *491 - name: path description: path parameter in: path @@ -96691,7 +96915,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: default: value: @@ -96746,8 +96970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *488 - - *489 + - *490 + - *491 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -96877,8 +97101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -97030,25 +97254,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *488 - - *489 - - *338 - - *339 + - *490 + - *491 - *340 - *341 - *342 + - *343 + - *344 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *343 - - *620 - - *344 - *345 + - *624 - *346 - *347 + - *348 + - *349 - *107 - *105 - *106 @@ -97060,7 +97284,7 @@ paths: application/json: schema: type: array - items: &624 + items: &628 type: object description: A Dependabot alert. properties: @@ -97111,7 +97335,7 @@ paths: - transitive - inconclusive - - security_advisory: *621 + security_advisory: *625 security_vulnerability: *132 url: *133 html_url: *134 @@ -97142,8 +97366,8 @@ paths: dismissal. maxLength: 280 fixed_at: *138 - auto_dismissed_at: *622 - dismissal_request: *623 + auto_dismissed_at: *626 + dismissal_request: *627 assignees: type: array description: The users assigned to this alert. @@ -97400,9 +97624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *488 - - *489 - - &625 + - *490 + - *491 + - &629 name: alert_number in: path description: |- @@ -97417,7 +97641,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *628 examples: default: value: @@ -97550,9 +97774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *488 - - *489 - - *625 + - *490 + - *491 + - *629 requestBody: required: true content: @@ -97625,7 +97849,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *628 examples: default: value: @@ -97756,8 +97980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -97775,7 +97999,7 @@ paths: type: integer secrets: type: array - items: &628 + items: &632 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -97829,16 +98053,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *626 + schema: *630 examples: - default: *627 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97858,15 +98082,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *628 + schema: *632 examples: default: value: @@ -97892,8 +98116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -97946,8 +98170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -97970,8 +98194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *488 - - *489 + - *490 + - *491 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -98151,8 +98375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -98414,8 +98638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: sbom_uuid in: path required: true @@ -98426,7 +98650,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *629 + Location: *633 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -98447,8 +98671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -98486,8 +98710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -98570,7 +98794,7 @@ paths: - version - url additionalProperties: false - metadata: &630 + metadata: &634 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -98609,7 +98833,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *630 + metadata: *634 resolved: type: object description: A collection of resolved package dependencies. @@ -98623,7 +98847,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *630 + metadata: *634 relationship: type: string description: A notation of whether a dependency is requested @@ -98756,8 +98980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *488 - - *489 + - *490 + - *491 - name: sha description: The SHA recorded at creation time. in: query @@ -98798,9 +99022,9 @@ paths: application/json: schema: type: array - items: *631 + items: *635 examples: - default: *632 + default: *636 headers: Link: *42 x-github: @@ -98866,8 +99090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -98949,7 +99173,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *635 examples: simple-example: summary: Simple example @@ -99022,9 +99246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *488 - - *489 - - &633 + - *490 + - *491 + - &637 name: deployment_id description: deployment_id parameter in: path @@ -99036,7 +99260,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *635 examples: default: value: @@ -99101,9 +99325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 responses: '204': description: Response @@ -99125,9 +99349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 - *17 - *19 responses: @@ -99137,7 +99361,7 @@ paths: application/json: schema: type: array - items: &634 + items: &638 title: Deployment Status description: The status of a deployment. type: object @@ -99301,9 +99525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 requestBody: required: true content: @@ -99378,9 +99602,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: &635 + default: &639 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -99436,9 +99660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 - name: status_id in: path required: true @@ -99449,9 +99673,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: *635 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -99478,12 +99702,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 - - *636 - - *637 - - *638 - - *639 + - *490 + - *491 + - *640 + - *641 + - *642 + - *643 - *17 - *19 responses: @@ -99493,9 +99717,9 @@ paths: application/json: schema: type: array - items: *640 + items: *644 examples: - default: *641 + default: *645 '404': *6 '403': *27 '500': *35 @@ -99519,8 +99743,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99532,7 +99756,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *640 + schema: *644 examples: default: value: @@ -99588,8 +99812,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99648,12 +99872,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 - - *636 - - *637 - - *638 - - *639 + - *490 + - *491 + - *640 + - *641 + - *642 + - *643 - *17 - *19 responses: @@ -99663,9 +99887,9 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 + default: *647 '404': *6 '403': *27 '500': *35 @@ -99689,8 +99913,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99702,7 +99926,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *642 + schema: *646 examples: default: value: @@ -99753,8 +99977,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99793,7 +100017,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *642 + schema: *646 examples: default: value: @@ -99844,8 +100068,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99916,8 +100140,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99950,12 +100174,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - *100 - *101 - *102 - - *353 + - *355 - *17 - *19 responses: @@ -99965,9 +100189,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 '404': *6 '403': *27 '500': *35 @@ -99992,8 +100216,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100005,7 +100229,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *355 + schema: *357 examples: default: value: @@ -100063,8 +100287,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100133,8 +100357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -100191,8 +100415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -100210,7 +100434,7 @@ paths: - 5 environments: type: array - items: &645 + items: &649 title: Environment description: Details of a deployment environment type: object @@ -100272,7 +100496,7 @@ paths: type: string examples: - wait_timer - wait_timer: &647 + wait_timer: &651 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -100314,7 +100538,7 @@ paths: items: type: object properties: - type: *644 + type: *648 reviewer: anyOf: - *4 @@ -100341,7 +100565,7 @@ paths: - id - node_id - type - deployment_branch_policy: &648 + deployment_branch_policy: &652 type: - object - 'null' @@ -100458,9 +100682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *488 - - *489 - - &646 + - *490 + - *491 + - &650 name: environment_name in: path required: true @@ -100473,9 +100697,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: &649 + default: &653 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -100559,9 +100783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 requestBody: required: false content: @@ -100571,7 +100795,7 @@ paths: - object - 'null' properties: - wait_timer: *647 + wait_timer: *651 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -100590,14 +100814,14 @@ paths: items: type: object properties: - type: *644 + type: *648 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *648 + deployment_branch_policy: *652 additionalProperties: false examples: default: @@ -100617,9 +100841,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: *649 + default: *653 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -100643,9 +100867,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 responses: '204': description: Default response @@ -100670,9 +100894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *17 - *19 responses: @@ -100691,7 +100915,7 @@ paths: - 2 branch_policies: type: array - items: &650 + items: &654 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -100752,9 +100976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 requestBody: required: true content: @@ -100802,9 +101026,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - example-wildcard: &651 + example-wildcard: &655 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -100846,10 +101070,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 - - &652 + - *490 + - *491 + - *650 + - &656 name: branch_policy_id in: path required: true @@ -100861,9 +101085,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - default: *651 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100882,10 +101106,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 - - *652 + - *490 + - *491 + - *650 + - *656 requestBody: required: true content: @@ -100914,9 +101138,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - default: *651 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100935,10 +101159,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 - - *652 + - *490 + - *491 + - *650 + - *656 responses: '204': description: Response @@ -100963,9 +101187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *646 - - *489 - - *488 + - *650 + - *491 + - *490 responses: '200': description: List of deployment protection rules @@ -100982,7 +101206,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &653 + items: &657 title: Deployment protection rule description: Deployment protection rule type: object @@ -101004,7 +101228,7 @@ paths: for the environment. examples: - true - app: &654 + app: &658 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -101107,9 +101331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *646 - - *489 - - *488 + - *650 + - *491 + - *490 requestBody: content: application/json: @@ -101130,9 +101354,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *653 + schema: *657 examples: - default: &655 + default: &659 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -101167,9 +101391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *646 - - *489 - - *488 + - *650 + - *491 + - *490 - *19 - *17 responses: @@ -101189,7 +101413,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *654 + items: *658 examples: default: value: @@ -101224,10 +101448,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *488 - - *489 - - *646 - - &656 + - *490 + - *491 + - *650 + - &660 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -101239,9 +101463,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *657 examples: - default: *655 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101262,10 +101486,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *646 - - *489 - - *488 - - *656 + - *650 + - *491 + - *490 + - *660 responses: '204': description: Response @@ -101291,9 +101515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *17 - *19 responses: @@ -101311,9 +101535,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -101338,9 +101562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 responses: '200': description: Response @@ -101370,18 +101594,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *290 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *532 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101403,9 +101627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *290 requestBody: required: true @@ -101463,9 +101687,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *290 responses: '204': @@ -101491,9 +101715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *299 - *19 responses: @@ -101511,9 +101735,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -101536,9 +101760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 requestBody: required: true content: @@ -101590,18 +101814,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101622,10 +101846,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 - - *646 + - *650 requestBody: required: true content: @@ -101667,10 +101891,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 - - *646 + - *650 responses: '204': description: Response @@ -101692,8 +101916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -101761,8 +101985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *488 - - *489 + - *490 + - *491 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -101921,8 +102145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -101955,9 +102179,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 '400': *14 '422': *15 '403': *27 @@ -101978,8 +102202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -102039,7 +102263,7 @@ paths: schema: oneOf: - *255 - - *657 + - *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102064,8 +102288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *488 - - *489 + - *490 + - *491 - name: file_sha in: path required: true @@ -102165,8 +102389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -102275,7 +102499,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &662 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -102502,15 +102726,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 responses: '200': description: Response content: application/json: - schema: *658 + schema: *662 examples: default: value: @@ -102566,9 +102790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *488 - - *489 - - &659 + - *490 + - *491 + - &663 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -102585,7 +102809,7 @@ paths: application/json: schema: type: array - items: &660 + items: &664 title: Git Reference description: Git references within a repository type: object @@ -102661,17 +102885,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *488 - - *489 - - *659 + - *490 + - *491 + - *663 responses: '200': description: Response content: application/json: - schema: *660 + schema: *664 examples: - default: &661 + default: &665 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -102700,8 +102924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -102730,9 +102954,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *664 examples: - default: *661 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -102758,9 +102982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *488 - - *489 - - *659 + - *490 + - *491 + - *663 requestBody: required: true content: @@ -102789,9 +103013,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *664 examples: - default: *661 + default: *665 '422': *15 '409': *116 x-github: @@ -102809,9 +103033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *488 - - *489 - - *659 + - *490 + - *491 + - *663 responses: '204': description: Response @@ -102866,8 +103090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -102934,7 +103158,7 @@ paths: description: Response content: application/json: - schema: &663 + schema: &667 title: Git Tag description: Metadata for a Git tag type: object @@ -102990,7 +103214,7 @@ paths: - sha - type - url - verification: *662 + verification: *666 required: - sha - url @@ -103000,7 +103224,7 @@ paths: - tag - message examples: - default: &664 + default: &668 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -103073,8 +103297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *488 - - *489 + - *490 + - *491 - name: tag_sha in: path required: true @@ -103085,9 +103309,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: *664 + default: *668 '404': *6 '409': *116 x-github: @@ -103111,8 +103335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -103186,7 +103410,7 @@ paths: description: Response content: application/json: - schema: &665 + schema: &669 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -103288,8 +103512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *488 - - *489 + - *490 + - *491 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -103312,7 +103536,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: default-response: summary: Default response @@ -103370,8 +103594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -103415,8 +103639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -103426,7 +103650,7 @@ paths: application/json: schema: type: array - items: &666 + items: &670 title: Webhook description: Webhooks for repositories. type: object @@ -103489,7 +103713,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &944 + last_response: &948 title: Hook Response type: object properties: @@ -103566,8 +103790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -103620,9 +103844,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: &667 + default: &671 value: type: Repository id: 12345678 @@ -103670,17 +103894,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '200': description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '404': *6 x-github: githubCloudOnly: false @@ -103700,9 +103924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 requestBody: required: true content: @@ -103747,9 +103971,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '422': *15 '404': *6 x-github: @@ -103770,9 +103994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '204': description: Response @@ -103796,9 +104020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '200': description: Response @@ -103825,9 +104049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 requestBody: required: false content: @@ -103871,12 +104095,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *488 - - *489 - - *359 - - *17 - - *360 + - *490 + - *491 - *361 + - *17 + - *362 + - *363 responses: '200': description: Response @@ -103884,9 +104108,9 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: - default: *363 + default: *365 '400': *14 '422': *15 x-github: @@ -103905,18 +104129,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 - *16 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '400': *14 '422': *15 x-github: @@ -103935,9 +104159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 - *16 responses: '202': *34 @@ -103960,9 +104184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '204': description: Response @@ -103987,9 +104211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '204': description: Response @@ -104012,8 +104236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response if immutable releases are enabled @@ -104061,8 +104285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '409': *116 @@ -104082,8 +104306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '409': *116 @@ -104140,14 +104364,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &668 + schema: &672 title: Import description: A repository import from an external source. type: object @@ -104254,7 +104478,7 @@ paths: - html_url - authors_url examples: - default: &671 + default: &675 value: vcs: subversion use_lfs: true @@ -104270,7 +104494,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &669 + '503': &673 description: Unavailable due to service under maintenance. content: application/json: @@ -104299,8 +104523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -104348,7 +104572,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: default: value: @@ -104373,7 +104597,7 @@ paths: type: string '422': *15 '404': *6 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104401,8 +104625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -104454,7 +104678,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: example-1: summary: Example 1 @@ -104502,7 +104726,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104525,12 +104749,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104556,9 +104780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *488 - - *489 - - &874 + - *490 + - *491 + - &878 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -104572,7 +104796,7 @@ paths: application/json: schema: type: array - items: &670 + items: &674 title: Porter Author description: Porter Author type: object @@ -104626,7 +104850,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104651,8 +104875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *488 - - *489 + - *490 + - *491 - name: author_id in: path required: true @@ -104682,7 +104906,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: default: value: @@ -104695,7 +104919,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104719,8 +104943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -104761,7 +104985,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104789,8 +105013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -104817,11 +105041,11 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: - default: *671 + default: *675 '422': *15 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104844,8 +105068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -104853,8 +105077,8 @@ paths: application/json: schema: *20 examples: - default: *377 - '301': *494 + default: *379 + '301': *496 '404': *6 x-github: githubCloudOnly: false @@ -104874,8 +105098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -104883,12 +105107,12 @@ paths: application/json: schema: anyOf: - - *379 + - *381 - type: object properties: {} additionalProperties: false examples: - default: &673 + default: &677 value: limit: collaborators_only origin: repository @@ -104913,13 +105137,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *672 + schema: *676 examples: default: summary: Example request body @@ -104931,9 +105155,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *673 + default: *677 '409': description: Response x-github: @@ -104955,8 +105179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -104983,8 +105207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -105038,13 +105262,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: &674 + schema: &678 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -105094,13 +105318,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *674 + schema: *678 examples: default: summary: Example request body @@ -105133,8 +105357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -105187,8 +105411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -105264,8 +105488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -105275,9 +105499,9 @@ paths: application/json: schema: type: array - items: *675 + items: *679 examples: - default: &867 + default: &871 value: - id: 1 repository: @@ -105408,9 +105632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *488 - - *489 - - *383 + - *490 + - *491 + - *385 requestBody: required: false content: @@ -105439,7 +105663,7 @@ paths: description: Response content: application/json: - schema: *675 + schema: *679 examples: default: value: @@ -105570,9 +105794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *488 - - *489 - - *383 + - *490 + - *491 + - *385 responses: '204': description: Response @@ -105595,8 +105819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -105604,9 +105828,9 @@ paths: application/json: schema: type: array - items: *387 + items: *389 examples: - default: *676 + default: *680 '404': *6 x-github: githubCloudOnly: false @@ -105635,8 +105859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *488 - - *489 + - *490 + - *491 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -105698,7 +105922,7 @@ paths: required: false schema: type: string - - *390 + - *392 - name: sort description: What to sort results by. in: query @@ -105723,7 +105947,7 @@ paths: type: array items: *221 examples: - default: &686 + default: &690 value: - id: 1 node_id: MDU6SXNzdWUx @@ -105872,7 +106096,7 @@ paths: state_reason: completed headers: Link: *42 - '301': *494 + '301': *496 '422': *15 '404': *6 x-github: @@ -105901,8 +106125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -106025,7 +106249,7 @@ paths: application/json: schema: *221 examples: - default: &683 + default: &687 value: id: 1 node_id: MDU6SXNzdWUx @@ -106210,8 +106434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *243 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -106234,7 +106458,7 @@ paths: type: array items: *222 examples: - default: &685 + default: &689 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -106293,8 +106517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': @@ -106303,7 +106527,7 @@ paths: application/json: schema: *222 examples: - default: &677 + default: &681 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -106359,8 +106583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -106385,7 +106609,7 @@ paths: application/json: schema: *222 examples: - default: *677 + default: *681 '422': *15 x-github: githubCloudOnly: false @@ -106403,8 +106627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -106433,8 +106657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': @@ -106514,8 +106738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -106541,8 +106765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -106569,9 +106793,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -106592,8 +106816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -106626,16 +106850,16 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -106657,10 +106881,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *488 - - *489 + - *490 + - *491 - *235 - - *679 + - *683 responses: '204': description: Response @@ -106680,8 +106904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -106691,7 +106915,7 @@ paths: application/json: schema: type: array - items: &682 + items: &686 title: Issue Event description: Issue Event type: object @@ -106838,7 +107062,7 @@ paths: required: - from - to - issue_type: &680 + issue_type: &684 title: Issue Type description: The type of issue. type: @@ -106869,11 +107093,11 @@ paths: required: - id - name - prev_issue_type: *680 + prev_issue_type: *684 sub_issue: anyOf: - type: 'null' - - &681 + - &685 title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency @@ -106931,19 +107155,19 @@ paths: parent_issue: anyOf: - type: 'null' - - *681 + - *685 blocked_by: anyOf: - type: 'null' - - *681 + - *685 blocking: anyOf: - type: 'null' - - *681 + - *685 intent: anyOf: - type: 'null' - - &687 + - &691 title: Issue Event Intent description: The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` @@ -107165,8 +107389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *488 - - *489 + - *490 + - *491 - name: event_id in: path required: true @@ -107177,7 +107401,7 @@ paths: description: Response content: application/json: - schema: *682 + schema: *686 examples: default: value: @@ -107404,9 +107628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *488 - - *489 - - &684 + - *490 + - *491 + - &688 name: issue_number description: The number that identifies the issue. in: path @@ -107422,7 +107646,7 @@ paths: examples: default: summary: Issue - value: *683 + value: *687 pinned_comment: summary: Issue with pinned comment value: @@ -107621,7 +107845,7 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *494 + '301': *496 '404': *6 '410': *30 '304': *32 @@ -107648,9 +107872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -108021,11 +108245,11 @@ paths: - already_applied - issue_already_closed examples: - default: *683 + default: *687 '422': *15 '503': *193 '403': *27 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -108045,9 +108269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -108097,7 +108321,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108113,9 +108337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: content: application/json: @@ -108142,7 +108366,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108164,9 +108388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: assignee in: path required: true @@ -108206,9 +108430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *226 - *17 - *19 @@ -108221,7 +108445,7 @@ paths: type: array items: *222 examples: - default: *685 + default: *689 headers: Link: *42 '404': *6 @@ -108254,9 +108478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -108280,7 +108504,7 @@ paths: application/json: schema: *222 examples: - default: *677 + default: *681 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -108315,9 +108539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -108329,10 +108553,10 @@ paths: type: array items: *221 examples: - default: *686 + default: *690 headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -108362,9 +108586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -108388,13 +108612,13 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *494 + '301': *496 '403': *27 '410': *30 '422': *15 @@ -108427,9 +108651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -108443,8 +108667,8 @@ paths: application/json: schema: *221 examples: - default: *683 - '301': *494 + default: *687 + '301': *496 '400': *14 '401': *23 '403': *27 @@ -108475,9 +108699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -108489,10 +108713,10 @@ paths: type: array items: *221 examples: - default: *686 + default: *690 headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -108511,9 +108735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -108527,7 +108751,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &693 + - &697 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -108568,7 +108792,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - label - id @@ -108580,7 +108804,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &694 + - &698 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -108621,7 +108845,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - label - id @@ -108662,7 +108886,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - id - node_id @@ -108716,7 +108940,7 @@ paths: - performed_via_github_app - assignee - assigner - - &695 + - &699 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -108762,7 +108986,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &696 + - &700 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -108808,7 +109032,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &697 + - &701 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -108857,7 +109081,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &698 + - &702 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -108899,7 +109123,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &699 + - &703 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -108941,7 +109165,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &700 + - &704 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -108997,7 +109221,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &705 title: Locked Issue Event description: Locked Issue Event type: object @@ -109042,7 +109266,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &706 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -109103,7 +109327,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &707 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -109164,7 +109388,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &708 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -109225,7 +109449,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &709 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -109283,7 +109507,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &712 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -109311,11 +109535,11 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *680 + issue_type: *684 intent: anyOf: - type: 'null' - - *687 + - *691 required: - issue_type - id @@ -109327,7 +109551,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &713 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -109355,11 +109579,11 @@ paths: anyOf: - type: 'null' - *5 - prev_issue_type: *680 + prev_issue_type: *684 intent: anyOf: - type: 'null' - - *687 + - *691 required: - prev_issue_type - id @@ -109371,7 +109595,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &710 + - &714 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -109399,12 +109623,12 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *680 - prev_issue_type: *680 + issue_type: *684 + prev_issue_type: *684 intent: anyOf: - type: 'null' - - *687 + - *691 required: - issue_type - prev_issue_type @@ -109417,7 +109641,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &711 + - &715 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -109448,7 +109672,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *681 + - *685 required: - sub_issue - id @@ -109460,7 +109684,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &716 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -109491,7 +109715,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *681 + - *685 required: - sub_issue - id @@ -109503,7 +109727,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &713 + - &717 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -109534,7 +109758,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *681 + - *685 required: - parent_issue - id @@ -109546,7 +109770,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &714 + - &718 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -109577,7 +109801,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *681 + - *685 required: - parent_issue - id @@ -109589,7 +109813,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &715 + - &719 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -109620,7 +109844,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *681 + - *685 required: - blocked_by - id @@ -109632,7 +109856,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &716 + - &720 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -109663,7 +109887,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *681 + - *685 required: - blocked_by - id @@ -109675,7 +109899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &717 + - &721 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -109706,7 +109930,7 @@ paths: blocking: anyOf: - type: 'null' - - *681 + - *685 required: - blocking - id @@ -109718,7 +109942,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &718 + - &722 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -109749,7 +109973,7 @@ paths: blocking: anyOf: - type: 'null' - - *681 + - *685 required: - blocking - id @@ -109813,9 +110037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -109825,9 +110049,9 @@ paths: application/json: schema: type: array - items: *688 + items: *692 examples: - default: &689 + default: &693 value: - issue_field_id: 1 issue_field_name: DRI @@ -109867,7 +110091,7 @@ paths: color: green headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -109898,9 +110122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -109972,9 +110196,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *688 + items: *692 examples: - default: *689 + default: *693 '400': *14 '403': *27 '404': *6 @@ -110010,9 +110234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110079,9 +110303,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *688 + items: *692 examples: - default: *689 + default: *693 '400': *14 '403': *27 '404': *6 @@ -110112,10 +110336,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *488 - - *489 - - *684 - - *386 + - *490 + - *491 + - *688 + - *388 responses: '204': description: Issue field value deleted successfully @@ -110140,9 +110364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -110154,7 +110378,7 @@ paths: type: array items: *220 examples: - default: &690 + default: &694 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -110172,7 +110396,7 @@ paths: default: false headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -110190,9 +110414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -110272,8 +110496,8 @@ paths: type: array items: *220 examples: - default: *690 - '301': *494 + default: *694 + '301': *496 '404': *6 '410': *30 '422': *15 @@ -110292,9 +110516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -110356,8 +110580,8 @@ paths: type: array items: *220 examples: - default: *690 - '301': *494 + default: *694 + '301': *496 '404': *6 '410': *30 '422': *15 @@ -110376,13 +110600,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 responses: '204': description: Response - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -110403,9 +110627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: name in: path required: true @@ -110429,7 +110653,7 @@ paths: description: Something isn't working color: f29513 default: true - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -110451,9 +110675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -110500,9 +110724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 responses: '204': description: Response @@ -110532,9 +110756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 responses: '200': description: Response @@ -110542,8 +110766,8 @@ paths: application/json: schema: *221 examples: - default: *683 - '301': *494 + default: *687 + '301': *496 '404': *6 '410': *30 x-github: @@ -110562,9 +110786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -110590,9 +110814,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -110614,9 +110838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110648,16 +110872,16 @@ paths: description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -110679,10 +110903,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *488 - - *489 - - *684 - - *679 + - *490 + - *491 + - *688 + - *683 responses: '204': description: Response @@ -110711,9 +110935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110737,7 +110961,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -110771,9 +110995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -110785,7 +111009,7 @@ paths: type: array items: *221 examples: - default: *686 + default: *690 headers: Link: *42 '404': *6 @@ -110817,9 +111041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110848,7 +111072,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -110875,9 +111099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110910,7 +111134,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 '403': *27 '404': *6 '422': *7 @@ -110939,9 +111163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issue-suggestions parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: state in: query required: false @@ -110978,7 +111202,7 @@ paths: application/json: schema: type: array - items: &691 + items: &695 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -111142,9 +111366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#approve-an-issue-suggestion parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: suggestion_id in: path required: true @@ -111156,9 +111380,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: - default: &692 + default: &696 value: id: 12 issue_id: 4567 @@ -111196,9 +111420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: suggestion_id in: path required: true @@ -111210,9 +111434,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: - default: *692 + default: *696 '403': *27 '404': *6 '422': *15 @@ -111232,9 +111456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 - name: exclude @@ -111255,10 +111479,6 @@ paths: description: Timeline Event type: object anyOf: - - *693 - - *694 - - *695 - - *696 - *697 - *698 - *699 @@ -111268,6 +111488,10 @@ paths: - *703 - *704 - *705 + - *706 + - *707 + - *708 + - *709 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -111324,11 +111548,11 @@ paths: pin: anyOf: - type: 'null' - - *706 + - *710 minimized: anyOf: - type: 'null' - - *707 + - *711 required: - event - actor @@ -111604,7 +111828,7 @@ paths: type: string comments: type: array - items: &740 + items: &744 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -111845,7 +112069,7 @@ paths: type: string comments: type: array - items: *601 + items: *605 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -111877,7 +112101,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - id - node_id @@ -111962,7 +112186,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - id - node_id @@ -111973,10 +112197,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *708 - - *709 - - *710 - - *711 - *712 - *713 - *714 @@ -111984,6 +112204,10 @@ paths: - *716 - *717 - *718 + - *719 + - *720 + - *721 + - *722 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -112231,8 +112455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -112242,7 +112466,7 @@ paths: application/json: schema: type: array - items: &719 + items: &723 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -112310,8 +112534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -112347,9 +112571,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: &720 + default: &724 value: id: 1 key: ssh-rsa AAA... @@ -112383,9 +112607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *488 - - *489 - - &721 + - *490 + - *491 + - &725 name: key_id description: The unique identifier of the key. in: path @@ -112397,9 +112621,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: *720 + default: *724 '404': *6 x-github: githubCloudOnly: false @@ -112417,9 +112641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *488 - - *489 - - *721 + - *490 + - *491 + - *725 responses: '204': description: Response @@ -112439,8 +112663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -112452,7 +112676,7 @@ paths: type: array items: *220 examples: - default: *690 + default: *694 headers: Link: *42 '404': *6 @@ -112473,8 +112697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -112512,7 +112736,7 @@ paths: application/json: schema: *220 examples: - default: &722 + default: &726 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -112544,8 +112768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *488 - - *489 + - *490 + - *491 - name: name in: path required: true @@ -112558,7 +112782,7 @@ paths: application/json: schema: *220 examples: - default: *722 + default: *726 '404': *6 x-github: githubCloudOnly: false @@ -112575,8 +112799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *488 - - *489 + - *490 + - *491 - name: name in: path required: true @@ -112646,8 +112870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *488 - - *489 + - *490 + - *491 - name: name in: path required: true @@ -112673,8 +112897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -112710,8 +112934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '202': *34 '403': @@ -112739,8 +112963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -112766,9 +112990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *488 - - *489 - - *576 + - *490 + - *491 + - *580 responses: '200': description: Response @@ -112915,8 +113139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -112981,8 +113205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113016,9 +113240,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *604 + schema: *608 examples: - default: *723 + default: *727 '204': description: Response when already merged '404': @@ -113043,8 +113267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *488 - - *489 + - *490 + - *491 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -113085,7 +113309,7 @@ paths: application/json: schema: type: array - items: *421 + items: *423 examples: default: value: @@ -113141,8 +113365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113182,9 +113406,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: &724 + default: &728 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -113243,9 +113467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *488 - - *489 - - &725 + - *490 + - *491 + - &729 name: milestone_number description: The number that identifies the milestone. in: path @@ -113257,9 +113481,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *724 + default: *728 '404': *6 x-github: githubCloudOnly: false @@ -113276,9 +113500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *488 - - *489 - - *725 + - *490 + - *491 + - *729 requestBody: required: false content: @@ -113316,9 +113540,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *724 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113334,9 +113558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *488 - - *489 - - *725 + - *490 + - *491 + - *729 responses: '204': description: Response @@ -113357,9 +113581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *488 - - *489 - - *725 + - *490 + - *491 + - *729 - *17 - *19 responses: @@ -113371,7 +113595,7 @@ paths: type: array items: *220 examples: - default: *690 + default: *694 headers: Link: *42 x-github: @@ -113390,12 +113614,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *488 - - *489 - - *726 - - *727 + - *490 + - *491 + - *730 + - *731 - *226 - - *728 + - *732 - *17 - *19 responses: @@ -113407,7 +113631,7 @@ paths: type: array items: *246 examples: - default: *729 + default: *733 headers: Link: *42 x-github: @@ -113431,8 +113655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -113490,14 +113714,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &730 + schema: &734 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -113641,7 +113865,7 @@ paths: - custom_404 - public examples: - default: &731 + default: &735 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -113682,8 +113906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113738,9 +113962,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *734 examples: - default: *731 + default: *735 '422': *15 '409': *116 x-github: @@ -113763,8 +113987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113872,8 +114096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -113899,8 +114123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -113910,7 +114134,7 @@ paths: application/json: schema: type: array - items: &732 + items: &736 title: Page Build description: Page Build type: object @@ -114002,8 +114226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -114050,16 +114274,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *732 + schema: *736 examples: - default: &733 + default: &737 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -114107,8 +114331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *488 - - *489 + - *490 + - *491 - name: build_id in: path required: true @@ -114119,9 +114343,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *736 examples: - default: *733 + default: *737 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114141,8 +114365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -114250,9 +114474,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *488 - - *489 - - &734 + - *490 + - *491 + - &738 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -114310,9 +114534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *488 - - *489 - - *734 + - *490 + - *491 + - *738 responses: '204': *121 '404': *6 @@ -114339,8 +114563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -114635,8 +114859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Private vulnerability reporting status @@ -114673,8 +114897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '422': *14 @@ -114695,8 +114919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '422': *14 @@ -114718,8 +114942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -114729,7 +114953,7 @@ paths: type: array items: *153 examples: - default: *735 + default: *739 '403': *27 '404': *6 x-github: @@ -114751,8 +114975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -114768,7 +114992,7 @@ paths: required: - properties examples: - default: *736 + default: *740 responses: '204': description: No Content when custom property values are successfully created @@ -114806,8 +115030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -114867,9 +115091,9 @@ paths: application/json: schema: type: array - items: *568 + items: *573 examples: - default: *737 + default: *741 headers: Link: *42 '304': *32 @@ -114901,8 +115125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -114969,7 +115193,7 @@ paths: description: Response content: application/json: - schema: &742 + schema: &746 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -115098,7 +115322,7 @@ paths: milestone: anyOf: - type: 'null' - - *421 + - *423 active_lock_reason: type: - string @@ -115147,7 +115371,7 @@ paths: items: *4 requested_teams: type: array - items: *400 + items: *402 head: type: object properties: @@ -115185,14 +115409,14 @@ paths: _links: type: object properties: - comments: *422 - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + comments: *424 + commits: *424 + statuses: *424 + html: *424 + issue: *424 + review_comments: *424 + review_comment: *424 + self: *424 required: - comments - commits @@ -115203,8 +115427,8 @@ paths: - review_comment - self author_association: *218 - auto_merge: *738 - stack: *739 + auto_merge: *742 + stack: *743 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -115306,7 +115530,7 @@ paths: - merged_by - review_comments examples: - default: &743 + default: &747 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -115833,8 +116057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: sort in: query required: false @@ -115863,9 +116087,9 @@ paths: application/json: schema: type: array - items: *740 + items: *744 examples: - default: &745 + default: &749 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -115942,17 +116166,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: &741 + default: &745 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -116027,8 +116251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -116051,9 +116275,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: *741 + default: *745 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116069,8 +116293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -116092,8 +116316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -116120,9 +116344,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -116143,8 +116367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -116177,16 +116401,16 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -116208,10 +116432,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *488 - - *489 + - *490 + - *491 - *235 - - *679 + - *683 responses: '204': description: Response @@ -116254,9 +116478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *488 - - *489 - - &744 + - *490 + - *491 + - &748 name: pull_number description: The number that identifies the pull request. in: path @@ -116269,9 +116493,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *742 + schema: *746 examples: - default: *743 + default: *747 '304': *32 '404': *6 '406': @@ -116306,9 +116530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -116350,9 +116574,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: *743 + default: *747 '422': *15 '403': *27 x-github: @@ -116374,9 +116598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: true content: @@ -116437,17 +116661,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '401': *23 '403': *27 '404': *6 @@ -116477,9 +116701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *243 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -116500,9 +116724,9 @@ paths: application/json: schema: type: array - items: *740 + items: *744 examples: - default: *745 + default: *749 headers: Link: *42 x-github: @@ -116535,9 +116759,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: true content: @@ -116643,7 +116867,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: example-for-a-multi-line-comment: value: @@ -116731,9 +116955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *235 requestBody: required: true @@ -116756,7 +116980,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: default: value: @@ -116842,9 +117066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *17 - *19 responses: @@ -116854,9 +117078,9 @@ paths: application/json: schema: type: array - items: *604 + items: *608 examples: - default: *746 + default: *750 headers: Link: *42 x-github: @@ -116886,9 +117110,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *17 - *19 responses: @@ -116898,7 +117122,7 @@ paths: application/json: schema: type: array - items: *614 + items: *618 examples: default: value: @@ -116936,9 +117160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 responses: '204': description: Response if pull request has been merged @@ -116961,9 +117185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -117086,9 +117310,9 @@ paths: category: pulls subcategory: pulls parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -117141,7 +117365,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &747 + schema: &751 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -117226,7 +117450,7 @@ paths: merge queue content: application/json: - schema: *747 + schema: *751 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -117246,7 +117470,7 @@ paths: this pull request content: application/json: - schema: *747 + schema: *751 examples: response-if-a-merge-request-already-exists: value: @@ -117262,7 +117486,7 @@ paths: it is closed content: application/json: - schema: *747 + schema: *751 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -117294,9 +117518,9 @@ paths: category: pulls subcategory: pulls parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -117309,7 +117533,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *747 + schema: *751 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -117357,9 +117581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 responses: '200': description: Response @@ -117434,9 +117658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -117473,7 +117697,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *573 examples: default: value: @@ -118009,9 +118233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: true content: @@ -118045,7 +118269,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *573 examples: default: value: @@ -118550,9 +118774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *17 - *19 responses: @@ -118562,7 +118786,7 @@ paths: application/json: schema: type: array - items: &748 + items: &752 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -118718,9 +118942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -118810,9 +119034,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: &750 + default: &754 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -118875,10 +119099,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - &749 + - *490 + - *491 + - *748 + - &753 name: review_id description: The unique identifier of the review. in: path @@ -118890,9 +119114,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: &751 + default: &755 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -118951,10 +119175,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 requestBody: required: true content: @@ -118977,7 +119201,7 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: default: value: @@ -119039,18 +119263,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 responses: '200': description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: *750 + default: *754 '422': *7 '404': *6 x-github: @@ -119077,10 +119301,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 - *17 - *19 responses: @@ -119178,9 +119402,9 @@ paths: _links: type: object properties: - self: *422 - html: *422 - pull_request: *422 + self: *424 + html: *424 + pull_request: *424 required: - self - html @@ -119338,10 +119562,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 requestBody: required: true content: @@ -119370,7 +119594,7 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: default: value: @@ -119433,10 +119657,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 requestBody: required: true content: @@ -119471,9 +119695,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: *751 + default: *755 '404': *6 '422': *7 '403': *27 @@ -119495,9 +119719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -119561,8 +119785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -119575,9 +119799,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *756 examples: - default: &753 + default: &757 value: type: file encoding: base64 @@ -119619,8 +119843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *488 - - *489 + - *490 + - *491 - name: dir description: The alternate path to look for a README file in: path @@ -119640,9 +119864,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *756 examples: - default: *753 + default: *757 '404': *6 '422': *15 x-github: @@ -119664,8 +119888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -119675,7 +119899,7 @@ paths: application/json: schema: type: array - items: *754 + items: *758 examples: default: value: @@ -119774,8 +119998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -119851,9 +120075,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: &758 + default: &762 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -119958,9 +120182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *488 - - *489 - - &756 + - *490 + - *491 + - &760 name: asset_id description: The unique identifier of the asset. in: path @@ -119972,9 +120196,9 @@ paths: description: Response content: application/json: - schema: *755 + schema: *759 examples: - default: &757 + default: &761 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -120009,7 +120233,7 @@ paths: type: User site_admin: false '404': *6 - '302': *618 + '302': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120025,9 +120249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *488 - - *489 - - *756 + - *490 + - *491 + - *760 requestBody: required: false content: @@ -120056,9 +120280,9 @@ paths: description: Response content: application/json: - schema: *755 + schema: *759 examples: - default: *757 + default: *761 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120074,9 +120298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *488 - - *489 - - *756 + - *490 + - *491 + - *760 responses: '204': description: Response @@ -120101,8 +120325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -120188,16 +120412,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '404': *6 x-github: githubCloudOnly: false @@ -120215,8 +120439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *488 - - *489 + - *490 + - *491 - name: tag description: tag parameter in: path @@ -120229,9 +120453,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '404': *6 x-github: githubCloudOnly: false @@ -120253,9 +120477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *488 - - *489 - - &759 + - *490 + - *491 + - &763 name: release_id description: The unique identifier of the release. in: path @@ -120269,9 +120493,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '401': description: Unauthorized x-github: @@ -120295,9 +120519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 requestBody: required: false content: @@ -120361,9 +120585,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '404': description: Not Found if the discussion category name is invalid content: @@ -120384,9 +120608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 responses: '204': description: Response @@ -120407,9 +120631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 - *17 - *19 responses: @@ -120419,7 +120643,7 @@ paths: application/json: schema: type: array - items: *755 + items: *759 examples: default: value: @@ -120501,9 +120725,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 - name: name in: query required: true @@ -120529,7 +120753,7 @@ paths: description: Response for successful upload content: application/json: - schema: *755 + schema: *759 examples: response-for-successful-upload: value: @@ -120584,9 +120808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -120610,9 +120834,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -120633,9 +120857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 requestBody: required: true content: @@ -120665,16 +120889,16 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -120696,10 +120920,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *488 - - *489 - - *759 - - *679 + - *490 + - *491 + - *763 + - *683 responses: '204': description: Response @@ -120723,9 +120947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 - *17 - *19 responses: @@ -120742,7 +120966,7 @@ paths: oneOf: - allOf: - *167 - - &760 + - &764 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -120763,70 +120987,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *168 - - *760 + - *764 - allOf: - *169 - - *760 + - *764 - allOf: - *170 - - *760 + - *764 - allOf: - - *761 - - *760 + - *765 + - *764 - allOf: - *171 - - *760 + - *764 - allOf: - *172 - - *760 + - *764 - allOf: - *173 - - *760 + - *764 - allOf: - *174 - - *760 + - *764 - allOf: - *175 - - *760 + - *764 - allOf: - *176 - - *760 + - *764 - allOf: - *177 - - *760 + - *764 - allOf: - *178 - - *760 + - *764 - allOf: - *179 - - *760 + - *764 - allOf: - *180 - - *760 + - *764 - allOf: - *181 - - *760 + - *764 - allOf: - *182 - - *760 + - *764 - allOf: - *183 - - *760 + - *764 - allOf: - - *762 - - *760 + - *766 + - *764 - allOf: - *184 - - *760 + - *764 - allOf: - *185 - - *760 + - *764 - allOf: - *186 - - *760 + - *764 - allOf: - *187 - - *760 + - *764 examples: default: value: @@ -120865,8 +121089,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - name: includes_parents @@ -120877,7 +121101,7 @@ paths: schema: type: boolean default: true - - *763 + - *767 responses: '200': description: Response @@ -120932,8 +121156,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 requestBody: description: Request body required: true @@ -120962,7 +121186,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *764 + items: *768 required: - name - enforcement @@ -120995,7 +121219,7 @@ paths: application/json: schema: *188 examples: - default: &774 + default: &778 value: id: 42 name: super cool ruleset @@ -121043,13 +121267,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *488 - - *489 - - *765 + - *490 + - *491 + - *769 - *102 - - *766 - - *767 - - *768 + - *770 + - *771 + - *772 - *17 - *19 responses: @@ -121057,9 +121281,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *773 examples: - default: *770 + default: *774 '404': *6 '500': *35 x-github: @@ -121080,17 +121304,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *488 - - *489 - - *771 + - *490 + - *491 + - *775 responses: '200': description: Response content: application/json: - schema: *772 + schema: *776 examples: - default: *773 + default: *777 '404': *6 '500': *35 x-github: @@ -121118,8 +121342,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121141,7 +121365,7 @@ paths: application/json: schema: *188 examples: - default: *774 + default: *778 '404': *6 '500': *35 put: @@ -121159,8 +121383,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121194,7 +121418,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *764 + items: *768 examples: default: value: @@ -121224,7 +121448,7 @@ paths: application/json: schema: *188 examples: - default: *774 + default: *778 '404': *6 '422': *15 '500': *35 @@ -121243,8 +121467,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121267,8 +121491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - name: ruleset_id @@ -121286,7 +121510,7 @@ paths: type: array items: *192 examples: - default: *438 + default: *440 '404': *6 '500': *35 x-github: @@ -121305,8 +121529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121324,7 +121548,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -121379,28 +121603,28 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *488 - - *489 - - *440 - - *441 + - *490 + - *491 - *442 - *443 - *444 - *445 - *446 - *447 + - *448 + - *449 - *107 - *19 - *17 - - *775 - - *776 - - *448 - - *449 + - *779 + - *780 - *450 - *451 - *452 - *453 - *454 + - *455 + - *456 responses: '200': description: Response @@ -121424,8 +121648,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *777 - resolution: *778 + state: *781 + resolution: *782 resolved_at: type: - string @@ -121531,7 +121755,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *779 + - *783 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -121690,16 +121914,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *488 - - *489 - - *570 - - *451 + - *490 + - *491 + - *574 + - *453 responses: '200': description: Response content: application/json: - schema: &780 + schema: &784 type: object properties: number: *128 @@ -121714,8 +121938,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *777 - resolution: *778 + state: *781 + resolution: *782 resolved_at: type: - string @@ -121821,7 +122045,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *779 + - *783 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -121844,7 +122068,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &963 + metadata: &967 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -121917,9 +122141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 requestBody: required: true content: @@ -121927,8 +122151,8 @@ paths: schema: type: object properties: - state: *777 - resolution: *778 + state: *781 + resolution: *782 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -121976,7 +122200,7 @@ paths: description: Response content: application/json: - schema: *780 + schema: *784 examples: default: value: @@ -122078,9 +122302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 - *19 - *17 responses: @@ -122091,7 +122315,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &965 + items: &969 type: object properties: type: @@ -122118,10 +122342,6 @@ paths: - commit details: oneOf: - - *781 - - *782 - - *783 - - *784 - *785 - *786 - *787 @@ -122131,6 +122351,10 @@ paths: - *791 - *792 - *793 + - *794 + - *795 + - *796 + - *797 examples: default: value: @@ -122219,11 +122443,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 - - *457 - - *458 + - *490 + - *491 - *459 + - *460 + - *461 - *107 - *105 - *106 @@ -122236,7 +122460,7 @@ paths: type: array items: *194 examples: - default: *460 + default: *462 headers: Link: *42 '403': *27 @@ -122259,8 +122483,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -122273,9 +122497,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *461 + items: *463 examples: - default: *462 + default: *464 responses: '201': description: All patterns created successfully. @@ -122289,7 +122513,7 @@ paths: description: The list of successfully created custom patterns. items: *194 examples: - default: *463 + default: *465 '400': *14 '403': *27 '404': *6 @@ -122313,7 +122537,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *464 + items: *466 delete: summary: Bulk delete repository custom patterns description: |- @@ -122332,8 +122556,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -122347,7 +122571,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *465 + items: *467 post_delete_action: type: string description: |- @@ -122360,7 +122584,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *466 + default: *468 responses: '204': description: All patterns deleted successfully. @@ -122387,8 +122611,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 + - *490 + - *491 - name: pattern_id in: path required: true @@ -122399,9 +122623,9 @@ paths: required: true content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 responses: '200': description: Pattern updated successfully. @@ -122409,7 +122633,7 @@ paths: application/json: schema: *194 examples: - default: *469 + default: *471 '400': *14 '403': *27 '404': *6 @@ -122431,8 +122655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -122440,14 +122664,14 @@ paths: schema: type: object properties: - reason: &795 + reason: &799 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *794 + placeholder_id: *798 required: - reason - placeholder_id @@ -122464,7 +122688,7 @@ paths: schema: type: object properties: - reason: *795 + reason: *799 expire_at: type: - string @@ -122511,8 +122735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -122527,7 +122751,7 @@ paths: properties: incremental_scans: type: array - items: &796 + items: &800 description: Information on a single scan performed by secret scanning on the repository type: object @@ -122560,15 +122784,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *796 + items: *800 backfill_scans: type: array - items: *796 + items: *800 custom_pattern_backfill_scans: type: array items: allOf: - - *796 + - *800 - type: object properties: pattern_name: @@ -122581,7 +122805,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *796 + items: *800 examples: default: value: @@ -122646,8 +122870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *488 - - *489 + - *490 + - *491 - *107 - name: sort description: The property to sort the results by. @@ -122691,9 +122915,9 @@ paths: application/json: schema: type: array - items: *797 + items: *801 examples: - default: *798 + default: *802 '400': *14 '404': *6 x-github: @@ -122716,8 +122940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -122797,7 +123021,7 @@ paths: login: type: string description: The username of the user credited. - type: *472 + type: *474 required: - login - type @@ -122887,9 +123111,9 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: &801 + default: &805 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -123107,7 +123331,7 @@ paths: description: Validation failed. content: application/json: - schema: &799 + schema: &803 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -123180,8 +123404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -123294,7 +123518,7 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: default: value: @@ -123420,7 +123644,7 @@ paths: description: Validation failed. content: application/json: - schema: *799 + schema: *803 examples: missing_section: value: @@ -123467,17 +123691,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 responses: '200': description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: *801 + default: *805 '403': *27 '404': *6 x-github: @@ -123501,9 +123725,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 requestBody: required: true content: @@ -123583,7 +123807,7 @@ paths: login: type: string description: The username of the user credited. - type: *472 + type: *474 required: - login - type @@ -123674,10 +123898,10 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: *801 - add_credit: *801 + default: *805 + add_credit: *805 '403': *27 '404': *6 '422': @@ -123715,9 +123939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 responses: '202': *34 '400': *14 @@ -123744,17 +123968,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 responses: '202': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 '400': *14 '422': *15 '403': *27 @@ -123775,8 +123999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#list-pull-request-stacks parameters: - - *488 - - *489 + - *490 + - *491 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -123909,8 +124133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -123977,7 +124201,7 @@ paths: format: date-time pull_requests: type: array - items: &802 + items: &806 title: Pull Request Stack Pull Request type: object allOf: @@ -124204,8 +124428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -124254,7 +124478,7 @@ paths: format: date-time pull_requests: type: array - items: *802 + items: *806 examples: default: value: @@ -124374,8 +124598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -124447,7 +124671,7 @@ paths: format: date-time pull_requests: type: array - items: *802 + items: *806 examples: default: value: @@ -124654,8 +124878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -124704,7 +124928,7 @@ paths: format: date-time pull_requests: type: array - items: *802 + items: *806 examples: default: value: @@ -124810,8 +125034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -124905,8 +125129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -124948,8 +125172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-repository-star-history parameters: - - *488 - - *489 + - *490 + - *491 - name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -125045,8 +125269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -125055,7 +125279,7 @@ paths: application/json: schema: type: array - items: &803 + items: &807 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -125088,8 +125312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -125167,8 +125391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -125262,8 +125486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -125417,8 +125641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -125428,7 +125652,7 @@ paths: application/json: schema: type: array - items: *803 + items: *807 examples: default: value: @@ -125461,8 +125685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *488 - - *489 + - *490 + - *491 - name: sha in: path required: true @@ -125518,7 +125742,7 @@ paths: description: Response content: application/json: - schema: *804 + schema: *808 examples: default: value: @@ -125572,8 +125796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -125605,14 +125829,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &805 + schema: &809 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -125685,8 +125909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -125712,7 +125936,7 @@ paths: description: Response content: application/json: - schema: *805 + schema: *809 examples: default: value: @@ -125739,8 +125963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -125760,8 +125984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -125843,8 +126067,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *488 - - *489 + - *490 + - *491 - name: ref in: path required: true @@ -125880,8 +126104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -125893,7 +126117,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 headers: Link: *42 '404': *6 @@ -125913,8 +126137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *488 - - *489 + - *490 + - *491 - *19 - *17 responses: @@ -125922,7 +126146,7 @@ paths: description: Response content: application/json: - schema: &806 + schema: &810 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -125934,7 +126158,7 @@ paths: required: - names examples: - default: &807 + default: &811 value: names: - octocat @@ -125957,8 +126181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -125989,9 +126213,9 @@ paths: description: Response content: application/json: - schema: *806 + schema: *810 examples: - default: *807 + default: *811 '404': *6 '422': *7 x-github: @@ -126012,9 +126236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *488 - - *489 - - &808 + - *490 + - *491 + - &812 name: per description: The time frame to display results for. in: query @@ -126045,7 +126269,7 @@ paths: - 128 clones: type: array - items: &809 + items: &813 title: Traffic type: object properties: @@ -126132,8 +126356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -126227,8 +126451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -126291,9 +126515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *488 - - *489 - - *808 + - *490 + - *491 + - *812 responses: '200': description: Response @@ -126314,7 +126538,7 @@ paths: - 3782 views: type: array - items: *809 + items: *813 required: - uniques - count @@ -126391,8 +126615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -126666,8 +126890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -126690,8 +126914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -126713,8 +126937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -126740,8 +126964,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *488 - - *489 + - *490 + - *491 - name: ref in: path required: true @@ -126833,9 +127057,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -126986,7 +127210,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &817 + - &821 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -126996,7 +127220,7 @@ paths: type: string examples: - members - - &822 + - &826 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -127008,7 +127232,7 @@ paths: format: int32 examples: - 1 - - &823 + - &827 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -127052,7 +127276,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &812 + items: &816 allOf: - type: object required: @@ -127134,7 +127358,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &824 + meta: &828 type: object description: The metadata associated with the creation/updates to the user. @@ -127199,30 +127423,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &813 + '400': &817 description: Bad request content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '401': *811 - '403': &814 + schema: *814 + '401': *815 + '403': &818 description: Permission denied - '429': &815 + '429': &819 description: Too many requests content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '500': &816 + schema: *814 + '500': &820 description: Internal server error content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 + schema: *814 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127246,7 +127470,7 @@ paths: required: true content: application/json: - schema: &820 + schema: &824 type: object required: - schemas @@ -127310,9 +127534,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *812 + schema: *816 examples: - group: &818 + group: &822 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -127331,13 +127555,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *813 - '401': *811 - '403': *814 - '409': &821 + '400': *817 + '401': *815 + '403': *818 + '409': &825 description: Duplicate record detected - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127354,7 +127578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &819 + - &823 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -127363,22 +127587,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *817 + - *821 - *36 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *812 + schema: *816 examples: - default: *818 - '400': *813 - '401': *811 - '403': *814 + default: *822 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127397,13 +127621,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *819 + - *823 - *36 requestBody: required: true content: application/json: - schema: *820 + schema: *824 examples: group: summary: Group @@ -127429,17 +127653,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *812 + schema: *816 examples: - group: *818 - groupWithMembers: *818 - '400': *813 - '401': *811 - '403': *814 + group: *822 + groupWithMembers: *822 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127463,13 +127687,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *819 + - *823 - *36 requestBody: required: true content: application/json: - schema: &831 + schema: &835 type: object required: - Operations @@ -127529,17 +127753,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *812 + schema: *816 examples: - updateGroup: *818 - addMembers: *818 - '400': *813 - '401': *811 - '403': *814 + updateGroup: *822 + addMembers: *822 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127555,17 +127779,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *819 + - *823 - *36 responses: '204': description: Group was deleted, no content - '400': *813 - '401': *811 - '403': *814 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127599,8 +127823,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *822 - - *823 + - *826 + - *827 - *36 responses: '200': @@ -127634,7 +127858,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &826 + items: &830 allOf: - type: object required: @@ -127726,7 +127950,7 @@ paths: address. examples: - true - roles: &825 + roles: &829 type: array description: The roles assigned to the user. items: @@ -127785,7 +128009,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *824 + meta: *828 startIndex: type: integer description: A starting index for the returned page @@ -127824,11 +128048,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *813 - '401': *811 - '403': *814 - '429': *815 - '500': *816 + '400': *817 + '401': *815 + '403': *818 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127852,7 +128076,7 @@ paths: required: true content: application/json: - schema: &829 + schema: &833 type: object required: - schemas @@ -127945,9 +128169,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *825 + roles: *829 examples: - user: &830 + user: &834 summary: User value: schemas: @@ -127994,9 +128218,9 @@ paths: description: User has been created content: application/scim+json: - schema: *826 + schema: *830 examples: - user: &827 + user: &831 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -128022,13 +128246,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *827 - '400': *813 - '401': *811 - '403': *814 - '409': *821 - '429': *815 - '500': *816 + enterpriseOwner: *831 + '400': *817 + '401': *815 + '403': *818 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128045,7 +128269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &828 + - &832 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -128058,15 +128282,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *826 + schema: *830 examples: - default: *827 - '400': *813 - '401': *811 - '403': *814 + default: *831 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128117,30 +128341,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *828 + - *832 - *36 requestBody: required: true content: application/json: - schema: *829 + schema: *833 examples: - user: *830 + user: *834 responses: '200': description: User was updated content: application/scim+json: - schema: *826 + schema: *830 examples: - user: *827 - '400': *813 - '401': *811 - '403': *814 + user: *831 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128181,13 +128405,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *828 + - *832 - *36 requestBody: required: true content: application/json: - schema: *831 + schema: *835 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -128227,18 +128451,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *826 - examples: - userMultiValuedProperties: *827 - userSingleValuedProperties: *827 - disableUser: *827 - '400': *813 - '401': *811 - '403': *814 + schema: *830 + examples: + userMultiValuedProperties: *831 + userSingleValuedProperties: *831 + disableUser: *831 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128258,17 +128482,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *828 + - *832 - *36 responses: '204': description: User was deleted, no content - '400': *813 - '401': *811 - '403': *814 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128359,7 +128583,7 @@ paths: - 1 Resources: type: array - items: &832 + items: &836 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -128614,22 +128838,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *32 - '404': &833 + '404': &837 description: Resource not found content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '403': &834 + schema: *814 + '403': &838 description: Forbidden content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '400': *813 - '429': *815 + schema: *814 + '400': *817 + '429': *819 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -128655,9 +128879,9 @@ paths: description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: &835 + default: &839 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -128681,17 +128905,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *32 - '404': *833 - '403': *834 - '500': *816 + '404': *837 + '403': *838 + '500': *820 '409': description: Conflict content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '400': *813 + schema: *814 + '400': *817 requestBody: required: true content: @@ -128791,17 +129015,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *84 - - *828 + - *832 responses: '200': description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: *835 - '404': *833 - '403': *834 + default: *839 + '404': *837 + '403': *838 '304': *32 x-github: githubCloudOnly: true @@ -128825,18 +129049,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *84 - - *828 + - *832 responses: '200': description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: *835 + default: *839 '304': *32 - '404': *833 - '403': *834 + '404': *837 + '403': *838 requestBody: required: true content: @@ -128951,19 +129175,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *84 - - *828 + - *832 responses: '200': description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: *835 + default: *839 '304': *32 - '404': *833 - '403': *834 - '400': *813 + '404': *837 + '403': *838 + '400': *817 '429': description: Response content: @@ -129059,12 +129283,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *84 - - *828 + - *832 responses: '204': description: Response - '404': *833 - '403': *834 + '404': *837 + '403': *838 '304': *32 x-github: githubCloudOnly: true @@ -129198,7 +129422,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &836 + text_matches: &840 title: Search Result Text Matches type: array items: @@ -129362,7 +129586,7 @@ paths: enum: - author-date - committer-date - - &837 + - &841 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -129431,7 +129655,7 @@ paths: committer: anyOf: - type: 'null' - - *538 + - *540 comment_count: type: integer message: @@ -129450,7 +129674,7 @@ paths: url: type: string format: uri - verification: *662 + verification: *666 required: - author - committer @@ -129465,7 +129689,7 @@ paths: committer: anyOf: - type: 'null' - - *538 + - *540 parents: type: array items: @@ -129482,7 +129706,7 @@ paths: type: number node_id: type: string - text_matches: *836 + text_matches: *840 required: - sha - node_id @@ -129675,7 +129899,7 @@ paths: - interactions - created - updated - - *837 + - *841 - *17 - *19 - name: advanced_search @@ -129789,11 +130013,11 @@ paths: type: - string - 'null' - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: type: string state_reason: @@ -129807,7 +130031,7 @@ paths: milestone: anyOf: - type: 'null' - - *421 + - *423 comments: type: integer created_at: @@ -129821,7 +130045,7 @@ paths: - string - 'null' format: date-time - text_matches: *836 + text_matches: *840 pull_request: type: object properties: @@ -129870,7 +130094,7 @@ paths: timeline_url: type: string format: uri - type: *387 + type: *389 performed_via_github_app: anyOf: - type: 'null' @@ -130097,7 +130321,7 @@ paths: enum: - created - updated - - *837 + - *841 - *17 - *19 responses: @@ -130142,7 +130366,7 @@ paths: - 'null' score: type: number - text_matches: *836 + text_matches: *840 required: - id - node_id @@ -130228,7 +130452,7 @@ paths: - forks - help-wanted-issues - updated - - *837 + - *841 - *17 - *19 responses: @@ -130474,7 +130698,7 @@ paths: - admin - pull - push - text_matches: *836 + text_matches: *840 temp_clone_token: type: string allow_merge_commit: @@ -130783,7 +131007,7 @@ paths: - string - 'null' format: uri - text_matches: *836 + text_matches: *840 related: type: - array @@ -130978,7 +131202,7 @@ paths: - followers - repositories - joined - - *837 + - *841 - *17 - *19 responses: @@ -131088,7 +131312,7 @@ paths: type: - boolean - 'null' - text_matches: *836 + text_matches: *840 blog: type: - string @@ -131170,7 +131394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &840 + - &844 name: team_id description: The unique identifier of the team. in: path @@ -131182,9 +131406,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 x-github: githubCloudOnly: false @@ -131211,7 +131435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *840 + - *844 requestBody: required: true content: @@ -131281,16 +131505,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '201': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 '422': *15 '403': *27 @@ -131318,7 +131542,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *840 + - *844 responses: '204': description: Response @@ -131347,7 +131571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *840 + - *844 - *17 - *19 responses: @@ -131357,9 +131581,9 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 headers: Link: *42 x-github: @@ -131387,7 +131611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *840 + - *844 - name: role description: Filters members returned by their role in the team. in: query @@ -131408,9 +131632,9 @@ paths: application/json: schema: type: array - items: *841 + items: *845 examples: - default: *842 + default: *846 headers: Link: *42 '404': *6 @@ -131438,7 +131662,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -131475,7 +131699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -131515,7 +131739,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -131552,16 +131776,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *840 + - *844 - *127 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - response-if-user-is-a-team-maintainer: *843 + response-if-user-is-a-team-maintainer: *847 '404': *6 x-github: githubCloudOnly: false @@ -131594,7 +131818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *840 + - *844 - *127 requestBody: required: false @@ -131620,9 +131844,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - response-if-users-membership-with-team-is-now-pending: *844 + response-if-users-membership-with-team-is-now-pending: *848 '403': description: Forbidden if team synchronization is set up '422': @@ -131656,7 +131880,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -131684,7 +131908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *840 + - *844 - *17 - *19 responses: @@ -131696,7 +131920,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 '404': *6 @@ -131726,15 +131950,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *840 - - *488 - - *489 + - *844 + - *490 + - *491 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *845 + schema: *849 examples: alternative-response-with-extra-repository-information: value: @@ -131885,9 +132109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *840 - - *488 - - *489 + - *844 + - *490 + - *491 requestBody: required: false content: @@ -131937,9 +132161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *840 - - *488 - - *489 + - *844 + - *490 + - *491 responses: '204': description: Response @@ -131968,15 +132192,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *840 + - *844 responses: '200': description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 '403': *27 '404': *6 x-github: @@ -132003,7 +132227,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *840 + - *844 requestBody: required: true content: @@ -132064,7 +132288,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: default: value: @@ -132095,7 +132319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *840 + - *844 - *17 - *19 responses: @@ -132107,7 +132331,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: *846 + response-if-child-teams-exist: *850 headers: Link: *42 '404': *6 @@ -132142,7 +132366,7 @@ paths: application/json: schema: oneOf: - - &848 + - &852 title: Private User description: Private User type: object @@ -132392,7 +132616,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *847 + - *851 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -132552,7 +132776,7 @@ paths: description: Response content: application/json: - schema: *848 + schema: *852 examples: default: value: @@ -132755,9 +132979,9 @@ paths: type: integer codespaces: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 '304': *32 '500': *35 '401': *23 @@ -132896,17 +133120,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '401': *23 '403': *27 '404': *6 @@ -132950,7 +133174,7 @@ paths: type: integer secrets: type: array - items: &849 + items: &853 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -132992,7 +133216,7 @@ paths: - visibility - selected_repositories_url examples: - default: *595 + default: *599 headers: Link: *42 x-github: @@ -133070,7 +133294,7 @@ paths: description: Response content: application/json: - schema: *849 + schema: *853 examples: default: value: @@ -133216,7 +133440,7 @@ paths: type: array items: *280 examples: - default: *332 + default: *334 '401': *23 '403': *27 '404': *6 @@ -133360,15 +133584,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '304': *32 '500': *35 '401': *23 @@ -133394,7 +133618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 requestBody: required: false content: @@ -133424,9 +133648,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '401': *23 '403': *27 '404': *6 @@ -133448,7 +133672,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '202': *34 '304': *32 @@ -133477,13 +133701,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '202': description: Response content: application/json: - schema: &850 + schema: &854 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -133536,7 +133760,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &851 + default: &855 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -133568,7 +133792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *394 + - *396 - name: export_id in: path required: true @@ -133581,9 +133805,9 @@ paths: description: Response content: application/json: - schema: *850 + schema: *854 examples: - default: *851 + default: *855 '404': *6 x-github: githubCloudOnly: false @@ -133604,7 +133828,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *394 + - *396 responses: '200': description: Response @@ -133620,9 +133844,9 @@ paths: type: integer machines: type: array - items: *594 + items: *598 examples: - default: *852 + default: *856 '304': *32 '500': *35 '401': *23 @@ -133651,7 +133875,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *394 + - *396 requestBody: required: true content: @@ -133707,11 +133931,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *493 + repository: *495 machine: anyOf: - type: 'null' - - *594 + - *598 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -134508,15 +134732,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '304': *32 '500': *35 '400': *14 @@ -134548,15 +134772,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '500': *35 '401': *23 '403': *27 @@ -134586,9 +134810,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: &864 + default: &868 value: - id: 197 name: hello_docker @@ -134689,7 +134913,7 @@ paths: application/json: schema: type: array - items: &853 + items: &857 title: Email description: Email type: object @@ -134759,9 +134983,9 @@ paths: application/json: schema: type: array - items: *853 + items: *857 examples: - default: &866 + default: &870 value: - email: octocat@github.com verified: true @@ -134838,7 +135062,7 @@ paths: application/json: schema: type: array - items: *853 + items: *857 examples: default: value: @@ -135096,7 +135320,7 @@ paths: application/json: schema: type: array - items: &854 + items: &858 title: GPG Key description: A unique encryption key type: object @@ -135241,7 +135465,7 @@ paths: - subkeys - revoked examples: - default: &883 + default: &887 value: - id: 3 name: Octocat's GPG Key @@ -135326,9 +135550,9 @@ paths: description: Response content: application/json: - schema: *854 + schema: *858 examples: - default: &855 + default: &859 value: id: 3 name: Octocat's GPG Key @@ -135385,7 +135609,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &856 + - &860 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -135397,9 +135621,9 @@ paths: description: Response content: application/json: - schema: *854 + schema: *858 examples: - default: *855 + default: *859 '404': *6 '304': *32 '403': *27 @@ -135422,7 +135646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *856 + - *860 responses: '204': description: Response @@ -135710,12 +135934,12 @@ paths: application/json: schema: anyOf: - - *379 + - *381 - type: object properties: {} additionalProperties: false examples: - default: *380 + default: *382 '204': description: Response when there are no restrictions x-github: @@ -135739,7 +135963,7 @@ paths: required: true content: application/json: - schema: *672 + schema: *676 examples: default: value: @@ -135750,7 +135974,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -135831,7 +136055,7 @@ paths: - closed - all default: open - - *390 + - *392 - name: sort description: What to sort results by. in: query @@ -135856,7 +136080,7 @@ paths: type: array items: *221 examples: - default: *391 + default: *393 headers: Link: *42 '404': *6 @@ -135889,7 +136113,7 @@ paths: application/json: schema: type: array - items: &857 + items: &861 title: Key description: Key type: object @@ -135992,9 +136216,9 @@ paths: description: Response content: application/json: - schema: *857 + schema: *861 examples: - default: &858 + default: &862 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -136027,15 +136251,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *721 + - *725 responses: '200': description: Response content: application/json: - schema: *857 + schema: *861 examples: - default: *858 + default: *862 '404': *6 '304': *32 '403': *27 @@ -136058,7 +136282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *721 + - *725 responses: '204': description: Response @@ -136091,7 +136315,7 @@ paths: application/json: schema: type: array - items: &859 + items: &863 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -136170,7 +136394,7 @@ paths: - account - plan examples: - default: &860 + default: &864 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -136232,9 +136456,9 @@ paths: application/json: schema: type: array - items: *859 + items: *863 examples: - default: *860 + default: *864 headers: Link: *42 '304': *32 @@ -136274,7 +136498,7 @@ paths: application/json: schema: type: array - items: *395 + items: *397 examples: default: value: @@ -136388,7 +136612,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -136475,9 +136699,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *395 + schema: *397 examples: - default: &861 + default: &865 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -136524,9 +136748,9 @@ paths: processed asynchronously. content: application/json: - schema: *395 + schema: *397 examples: - default: *861 + default: *865 '403': *27 '404': *6 '422': *15 @@ -136555,7 +136779,7 @@ paths: application/json: schema: type: array - items: *397 + items: *399 examples: default: value: @@ -136817,7 +137041,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -136997,7 +137221,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *398 + - *400 - name: exclude in: query required: false @@ -137010,7 +137234,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -137204,7 +137428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *398 + - *400 responses: '302': description: Response @@ -137230,7 +137454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *398 + - *400 responses: '204': description: Response @@ -137259,8 +137483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *398 - - *862 + - *400 + - *866 responses: '204': description: Response @@ -137284,7 +137508,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *398 + - *400 - *17 - *19 responses: @@ -137296,7 +137520,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 '404': *6 @@ -137375,7 +137599,7 @@ paths: - docker - nuget - container - - *863 + - *867 - *19 - *17 responses: @@ -137385,10 +137609,10 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *864 - '400': *865 + default: *868 + '400': *869 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -137408,16 +137632,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: &884 + default: &888 value: id: 40201 name: octo-name @@ -137530,8 +137754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 responses: '204': description: Response @@ -137561,8 +137785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 - name: token description: package token schema: @@ -137594,8 +137818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 - *19 - *17 - name: state @@ -137615,7 +137839,7 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: default: value: @@ -137664,15 +137888,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -137708,9 +137932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 responses: '204': description: Response @@ -137740,9 +137964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 responses: '204': description: Response @@ -137779,9 +138003,9 @@ paths: application/json: schema: type: array - items: *853 + items: *857 examples: - default: *866 + default: *870 headers: Link: *42 '304': *32 @@ -137894,7 +138118,7 @@ paths: type: array items: *75 examples: - default: &873 + default: &877 summary: Default response value: - id: 1296269 @@ -138212,9 +138436,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -138252,9 +138476,9 @@ paths: application/json: schema: type: array - items: *675 + items: *679 examples: - default: *867 + default: *871 headers: Link: *42 '304': *32 @@ -138277,7 +138501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *383 + - *385 responses: '204': description: Response @@ -138300,7 +138524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *383 + - *385 responses: '204': description: Response @@ -138333,7 +138557,7 @@ paths: application/json: schema: type: array - items: &868 + items: &872 title: Social account description: Social media account type: object @@ -138350,7 +138574,7 @@ paths: - provider - url examples: - default: &869 + default: &873 value: - provider: twitter url: https://twitter.com/github @@ -138413,9 +138637,9 @@ paths: application/json: schema: type: array - items: *868 + items: *872 examples: - default: *869 + default: *873 '422': *15 '304': *32 '404': *6 @@ -138503,7 +138727,7 @@ paths: application/json: schema: type: array - items: &870 + items: &874 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -138523,7 +138747,7 @@ paths: - title - created_at examples: - default: &898 + default: &902 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -138588,9 +138812,9 @@ paths: description: Response content: application/json: - schema: *870 + schema: *874 examples: - default: &871 + default: &875 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -138620,7 +138844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &872 + - &876 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -138632,9 +138856,9 @@ paths: description: Response content: application/json: - schema: *870 + schema: *874 examples: - default: *871 + default: *875 '404': *6 '304': *32 '403': *27 @@ -138657,7 +138881,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *872 + - *876 responses: '204': description: Response @@ -138686,7 +138910,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &899 + - &903 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -138711,11 +138935,11 @@ paths: type: array items: *75 examples: - default-response: *873 + default-response: *877 application/vnd.github.v3.star+json: schema: type: array - items: &900 + items: &904 title: Starred Repository description: Starred Repository type: object @@ -138871,8 +139095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response if this repository is starred by you @@ -138900,8 +139124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -138925,8 +139149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -138961,7 +139185,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 '304': *32 @@ -138998,7 +139222,7 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: default: value: @@ -139084,10 +139308,10 @@ paths: application/json: schema: oneOf: - - *848 - - *847 + - *852 + - *851 examples: - default-response: &877 + default-response: &881 summary: Default response value: login: octocat @@ -139122,7 +139346,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &878 + response-with-git-hub-plan-information: &882 summary: Response with GitHub plan information value: login: octocat @@ -139179,14 +139403,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &875 + - &879 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *420 + - *422 requestBody: required: true description: Details of the draft item to create in the project. @@ -139220,9 +139444,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: - draft_issue: *426 + draft_issue: *428 '304': *32 '403': *27 '401': *23 @@ -139245,7 +139469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *874 + - *878 - *17 responses: '200': @@ -139280,8 +139504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *875 - - *420 + - *879 + - *422 requestBody: required: true content: @@ -139396,17 +139620,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *876 + schema: *880 examples: table_view: summary: Response for creating a table view - value: *430 + value: *432 board_view: summary: Response for creating a board view with filter - value: *430 + value: *432 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *432 '304': *32 '403': *27 '401': *23 @@ -139452,11 +139676,11 @@ paths: application/json: schema: oneOf: - - *848 - - *847 + - *852 + - *851 examples: - default-response: *877 - response-with-git-hub-plan-information: *878 + default-response: *881 + response-with-git-hub-plan-information: *882 '404': *6 x-github: githubCloudOnly: false @@ -139506,8 +139730,8 @@ paths: required: - subject_digests examples: - default: *879 - withPredicateType: *880 + default: *883 + withPredicateType: *884 responses: '200': description: Response @@ -139561,7 +139785,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *881 + default: *885 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -139766,7 +139990,7 @@ paths: initiator: type: string examples: - default: *534 + default: *536 '201': description: Response content: @@ -139833,7 +140057,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *328 + items: *330 examples: default: summary: Example response for listing user copilot spaces @@ -140048,9 +140272,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: &882 + default: &886 summary: Example response for a user copilot space value: id: 42 @@ -140149,9 +140373,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *882 + default: *886 '403': *27 '404': *6 x-github: @@ -140275,9 +140499,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *882 + default: *886 '403': *27 '404': *6 '422': *15 @@ -140354,7 +140578,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *330 + items: *332 examples: default: value: @@ -140497,7 +140721,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: default: value: @@ -140608,7 +140832,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: default: value: @@ -140738,7 +140962,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *331 + items: *333 examples: default: value: @@ -140830,7 +141054,7 @@ paths: description: Resource created content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -140846,7 +141070,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -140899,7 +141123,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -140966,7 +141190,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -141043,9 +141267,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *864 + default: *868 '403': *27 '401': *23 x-github: @@ -141435,9 +141659,9 @@ paths: application/json: schema: type: array - items: *854 + items: *858 examples: - default: *883 + default: *887 headers: Link: *42 x-github: @@ -141541,7 +141765,7 @@ paths: application/json: schema: *20 examples: - default: *377 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141666,7 +141890,7 @@ paths: - docker - nuget - container - - *863 + - *867 - *127 - *19 - *17 @@ -141677,12 +141901,12 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *864 + default: *868 '403': *27 '401': *23 - '400': *865 + '400': *869 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141702,17 +141926,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *884 + default: *888 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141733,8 +141957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 responses: '204': @@ -141767,8 +141991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 - name: token description: package token @@ -141801,8 +142025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 responses: '200': @@ -141811,7 +142035,7 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: default: value: @@ -141869,16 +142093,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 - *127 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -141913,10 +142137,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *404 - - *405 - - *127 + - *406 - *407 + - *127 + - *409 responses: '204': description: Response @@ -141948,10 +142172,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *404 - - *405 - - *127 + - *406 - *407 + - *127 + - *409 responses: '204': description: Response @@ -141992,9 +142216,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *42 '304': *32 @@ -142016,16 +142240,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *420 + - *422 - *127 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *42 '304': *32 @@ -142047,7 +142271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *420 + - *422 - *127 - *17 - *105 @@ -142059,9 +142283,9 @@ paths: application/json: schema: type: array - items: *423 + items: *425 examples: - default: *885 + default: *889 headers: Link: *42 '304': *32 @@ -142083,7 +142307,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *127 - - *420 + - *422 requestBody: required: true content: @@ -142121,7 +142345,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *886 + items: *890 required: - name - data_type @@ -142137,7 +142361,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *887 + iteration_configuration: *891 required: - name - data_type @@ -142159,20 +142383,20 @@ paths: value: name: Due date data_type: date - single_select_field: *888 - iteration_field: *889 + single_select_field: *892 + iteration_field: *893 responses: '201': description: Response content: application/json: - schema: *423 + schema: *425 examples: - text_field: *890 - number_field: *891 - date_field: *892 - single_select_field: *893 - iteration_field: *894 + text_field: *894 + number_field: *895 + date_field: *896 + single_select_field: *897 + iteration_field: *898 '304': *32 '403': *27 '401': *23 @@ -142193,17 +142417,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *420 - - *895 + - *422 + - *899 - *127 responses: '200': description: Response content: application/json: - schema: *423 + schema: *425 examples: - default: *896 + default: *900 headers: Link: *42 '304': *32 @@ -142226,7 +142450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *420 + - *422 - *127 - *105 - *106 @@ -142259,9 +142483,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -142283,7 +142507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *127 - - *420 + - *422 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -142353,22 +142577,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *428 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *428 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *428 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *428 '304': *32 '403': *27 '401': *23 @@ -142388,9 +142612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *420 + - *422 - *127 - - *429 + - *431 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -142410,9 +142634,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -142433,9 +142657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *420 + - *422 - *127 - - *429 + - *431 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -142508,13 +142732,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *430 + number_field: *430 + date_field: *430 + single_select_field: *430 + iteration_field: *430 '401': *23 '403': *27 '404': *6 @@ -142534,9 +142758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *420 + - *422 - *127 - - *429 + - *431 responses: '204': description: Response @@ -142558,9 +142782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *420 + - *422 - *127 - - *897 + - *901 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -142586,9 +142810,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -142809,7 +143033,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -142839,9 +143063,9 @@ paths: application/json: schema: type: array - items: *868 + items: *872 examples: - default: *869 + default: *873 headers: Link: *42 x-github: @@ -142871,9 +143095,9 @@ paths: application/json: schema: type: array - items: *870 + items: *874 examples: - default: *898 + default: *902 headers: Link: *42 x-github: @@ -142900,7 +143124,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *127 - - *899 + - *903 - *107 - *17 - *19 @@ -142912,11 +143136,11 @@ paths: schema: anyOf: - type: array - items: *900 + items: *904 - type: array items: *75 examples: - default-response: *873 + default-response: *877 headers: Link: *42 x-github: @@ -142947,7 +143171,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -143076,7 +143300,7 @@ webhooks: type: string enum: - disabled - enterprise: &901 + enterprise: &905 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -143145,7 +143369,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &902 + installation: &906 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -143166,7 +143390,7 @@ webhooks: required: - id - node_id - organization: &903 + organization: &907 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -143239,7 +143463,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &904 + repository: &908 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -144165,10 +144389,10 @@ webhooks: type: string enum: - enabled - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -144244,11 +144468,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - rule: &905 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + rule: &909 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -144471,11 +144695,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - rule: *905 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + rule: *909 sender: *4 required: - action @@ -144663,11 +144887,11 @@ webhooks: - everyone required: - from - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - rule: *905 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + rule: *909 sender: *4 required: - action @@ -144740,7 +144964,7 @@ webhooks: required: true content: application/json: - schema: &925 + schema: &929 title: Exemption request cancellation event type: object properties: @@ -144748,11 +144972,11 @@ webhooks: type: string enum: - cancelled - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: &906 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: &910 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -145061,7 +145285,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &907 + items: &911 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -145173,7 +145397,7 @@ webhooks: required: true content: application/json: - schema: &926 + schema: &930 title: Exemption request completed event type: object properties: @@ -145181,11 +145405,11 @@ webhooks: type: string enum: - completed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 sender: *4 required: - action @@ -145257,7 +145481,7 @@ webhooks: required: true content: application/json: - schema: &923 + schema: &927 title: Exemption request created event type: object properties: @@ -145265,11 +145489,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 sender: *4 required: - action @@ -145341,7 +145565,7 @@ webhooks: required: true content: application/json: - schema: &927 + schema: &931 title: Exemption response dismissed event type: object properties: @@ -145349,12 +145573,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 - exemption_response: *907 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 + exemption_response: *911 sender: *4 required: - action @@ -145428,7 +145652,7 @@ webhooks: required: true content: application/json: - schema: &924 + schema: &928 title: Exemption response submitted event type: object properties: @@ -145436,12 +145660,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 - exemption_response: *907 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 + exemption_response: *911 sender: *4 required: - action @@ -145525,7 +145749,7 @@ webhooks: type: string enum: - completed - check_run: &909 + check_run: &913 title: CheckRun description: A check performed on the code of a given code change type: object @@ -145635,7 +145859,7 @@ webhooks: - examples: - neutral - deployment: *908 + deployment: *912 details_url: type: string examples: @@ -145733,10 +145957,10 @@ webhooks: - output - app - pull_requests - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 sender: *4 required: - check_run @@ -146127,11 +146351,11 @@ webhooks: type: string enum: - created - check_run: *909 - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + check_run: *913 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 sender: *4 required: - check_run @@ -146525,11 +146749,11 @@ webhooks: type: string enum: - requested_action - check_run: *909 - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + check_run: *913 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 requested_action: description: The action requested by the user. type: object @@ -146932,11 +147156,11 @@ webhooks: type: string enum: - rerequested - check_run: *909 - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + check_run: *913 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 sender: *4 required: - check_run @@ -147921,10 +148145,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -148638,10 +148862,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -149349,10 +149573,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -149521,7 +149745,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -149674,20 +149898,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &910 + commit_oid: &914 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *901 - installation: *902 - organization: *903 - ref: &911 + enterprise: *905 + installation: *906 + organization: *907 + ref: &915 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *904 + repository: *908 sender: *4 required: - action @@ -149854,7 +150078,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -150096,12 +150320,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -150199,7 +150423,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -150384,12 +150608,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -150558,7 +150782,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -150736,12 +150960,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -150842,7 +151066,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -151031,9 +151255,9 @@ webhooks: type: - string - 'null' - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -151041,7 +151265,7 @@ webhooks: type: - string - 'null' - repository: *904 + repository: *908 sender: *4 required: - action @@ -151140,7 +151364,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -151287,12 +151511,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -151461,7 +151685,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -151614,10 +151838,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -151877,10 +152101,10 @@ webhooks: - updated_at - author_association - body - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -151961,18 +152185,18 @@ webhooks: type: - string - 'null' - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *903 - pusher_type: &912 + organization: *907 + pusher_type: &916 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &913 + ref: &917 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -151982,7 +152206,7 @@ webhooks: enum: - tag - branch - repository: *904 + repository: *908 sender: *4 required: - ref @@ -152065,9 +152289,9 @@ webhooks: enum: - created definition: *154 - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -152152,9 +152376,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -152232,9 +152456,9 @@ webhooks: enum: - promote_to_enterprise definition: *154 - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -152312,9 +152536,9 @@ webhooks: enum: - updated definition: *154 - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -152391,10 +152615,10 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - repository: *904 - organization: *903 + enterprise: *905 + installation: *906 + repository: *908 + organization: *907 sender: *4 new_property_values: type: array @@ -152479,18 +152703,18 @@ webhooks: title: delete event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - pusher_type: *912 - ref: *913 + enterprise: *905 + installation: *906 + organization: *907 + pusher_type: *916 + ref: *917 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *904 + repository: *908 sender: *4 required: - ref @@ -152570,11 +152794,11 @@ webhooks: type: string enum: - assignees_changed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152654,11 +152878,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152739,11 +152963,11 @@ webhooks: type: string enum: - auto_reopened - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152824,11 +153048,11 @@ webhooks: type: string enum: - created - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152907,11 +153131,11 @@ webhooks: type: string enum: - dismissed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152990,11 +153214,11 @@ webhooks: type: string enum: - fixed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -153074,11 +153298,11 @@ webhooks: type: string enum: - reintroduced - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -153157,11 +153381,11 @@ webhooks: type: string enum: - reopened - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -153238,9 +153462,9 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - key: &914 + enterprise: *905 + installation: *906 + key: &918 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -153278,8 +153502,8 @@ webhooks: - verified - created_at - read_only - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -153356,11 +153580,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - key: *914 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + key: *918 + organization: *907 + repository: *908 sender: *4 required: - action @@ -153927,12 +154151,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: &918 + workflow: &922 title: Workflow type: - object @@ -154683,13 +154907,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *631 + - *635 pull_requests: type: array - items: *742 - repository: *904 - organization: *903 - installation: *902 + items: *746 + repository: *908 + organization: *907 + installation: *906 sender: *4 responses: '200': @@ -154760,7 +154984,7 @@ webhooks: type: string enum: - approved - approver: &915 + approver: &919 type: object properties: avatar_url: @@ -154803,11 +155027,11 @@ webhooks: type: string comment: type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - reviewers: &916 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + reviewers: &920 type: array items: type: object @@ -154888,7 +155112,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &917 + workflow_job_run: &921 type: object properties: conclusion: @@ -155634,18 +155858,18 @@ webhooks: type: string enum: - rejected - approver: *915 + approver: *919 comment: type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - reviewers: *916 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + reviewers: *920 sender: *4 since: type: string - workflow_job_run: *917 + workflow_job_run: *921 workflow_job_runs: type: array items: @@ -156362,13 +156586,13 @@ webhooks: type: string enum: - requested - enterprise: *901 + enterprise: *905 environment: type: string - installation: *902 - organization: *903 - repository: *904 - requestor: &928 + installation: *906 + organization: *907 + repository: *908 + requestor: &932 title: User type: - object @@ -158301,12 +158525,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: *918 + workflow: *922 workflow_run: title: Deployment Workflow Run type: @@ -158997,7 +159221,7 @@ webhooks: type: string enum: - answered - answer: &921 + answer: &925 type: object properties: author_association: @@ -159157,11 +159381,11 @@ webhooks: - created_at - updated_at - body - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159288,11 +159512,11 @@ webhooks: - from required: - category - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159375,11 +159599,11 @@ webhooks: type: string enum: - closed - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159461,7 +159685,7 @@ webhooks: type: string enum: - created - comment: &920 + comment: &924 type: object properties: author_association: @@ -159621,11 +159845,11 @@ webhooks: - updated_at - body - reactions - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159708,12 +159932,12 @@ webhooks: type: string enum: - deleted - comment: *920 - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + comment: *924 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159808,12 +160032,12 @@ webhooks: - from required: - body - comment: *920 - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + comment: *924 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159897,11 +160121,11 @@ webhooks: type: string enum: - created - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159983,11 +160207,11 @@ webhooks: type: string enum: - deleted - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160087,11 +160311,11 @@ webhooks: type: string required: - from - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160173,10 +160397,10 @@ webhooks: type: string enum: - labeled - discussion: *919 - enterprise: *901 - installation: *902 - label: &922 + discussion: *923 + enterprise: *905 + installation: *906 + label: &926 title: Label type: object properties: @@ -160209,8 +160433,8 @@ webhooks: - color - default - description - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160293,11 +160517,11 @@ webhooks: type: string enum: - locked - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160379,11 +160603,11 @@ webhooks: type: string enum: - pinned - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160465,11 +160689,11 @@ webhooks: type: string enum: - reopened - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160554,16 +160778,16 @@ webhooks: changes: type: object properties: - new_discussion: *919 - new_repository: *904 + new_discussion: *923 + new_repository: *908 required: - new_discussion - new_repository - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160646,10 +160870,10 @@ webhooks: type: string enum: - unanswered - discussion: *919 - old_answer: *921 - organization: *903 - repository: *904 + discussion: *923 + old_answer: *925 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160731,12 +160955,12 @@ webhooks: type: string enum: - unlabeled - discussion: *919 - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160819,11 +161043,11 @@ webhooks: type: string enum: - unlocked - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160905,11 +161129,11 @@ webhooks: type: string enum: - unpinned - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160978,7 +161202,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161041,7 +161265,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161104,7 +161328,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161167,7 +161391,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161230,7 +161454,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161296,7 +161520,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161362,7 +161586,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161428,7 +161652,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161494,7 +161718,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161560,7 +161784,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161625,7 +161849,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161690,7 +161914,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161755,7 +161979,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161820,7 +162044,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161886,7 +162110,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161953,7 +162177,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *901 + enterprise: *905 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -162631,9 +162855,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - forkee @@ -162779,9 +163003,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pages: description: The pages that were updated. type: array @@ -162819,7 +163043,7 @@ webhooks: - action - sha - html_url - repository: *904 + repository: *908 sender: *4 required: - pages @@ -162895,10 +163119,10 @@ webhooks: type: string enum: - created - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: &929 + organization: *907 + repositories: &933 description: An array of repository objects that the installation can access. type: array @@ -162924,8 +163148,8 @@ webhooks: - name - full_name - private - repository: *904 - requester: *928 + repository: *908 + requester: *932 sender: *4 required: - action @@ -163000,11 +163224,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -163081,11 +163305,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -163162,10 +163386,10 @@ webhooks: type: string enum: - added - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories_added: &930 + organization: *907 + repositories_added: &934 description: An array of repository objects, which were added to the installation. type: array @@ -163212,15 +163436,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *904 - repository_selection: &931 + repository: *908 + repository_selection: &935 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *928 + requester: *932 sender: *4 required: - action @@ -163299,10 +163523,10 @@ webhooks: type: string enum: - removed - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories_added: *930 + organization: *907 + repositories_added: *934 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -163330,9 +163554,9 @@ webhooks: - name - full_name - private - repository: *904 - repository_selection: *931 - requester: *928 + repository: *908 + repository_selection: *935 + requester: *932 sender: *4 required: - action @@ -163411,11 +163635,11 @@ webhooks: type: string enum: - suspend - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -163598,10 +163822,10 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 target_type: type: string @@ -163680,11 +163904,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -163850,11 +164074,11 @@ webhooks: pin: anyOf: - type: 'null' - - *706 + - *710 minimized: anyOf: - type: 'null' - - *707 + - *711 user: title: User type: @@ -163940,8 +164164,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -164753,8 +164977,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164771,7 +164995,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -165115,8 +165339,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -165196,7 +165420,7 @@ webhooks: type: string enum: - deleted - comment: &932 + comment: &936 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -165353,11 +165577,11 @@ webhooks: pin: anyOf: - type: 'null' - - *706 + - *710 minimized: anyOf: - type: 'null' - - *707 + - *711 required: - url - html_url @@ -165371,8 +165595,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -166180,8 +166404,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166198,7 +166422,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -166544,8 +166768,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -166625,7 +166849,7 @@ webhooks: type: string enum: - edited - changes: &956 + changes: &960 description: The changes to the comment. type: object properties: @@ -166637,9 +166861,9 @@ webhooks: type: string required: - from - comment: *932 - enterprise: *901 - installation: *902 + comment: *936 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -167450,8 +167674,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167468,7 +167692,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -167812,8 +168036,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -167894,9 +168118,9 @@ webhooks: type: string enum: - pinned - comment: *932 - enterprise: *901 - installation: *902 + comment: *936 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -168709,8 +168933,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168727,7 +168951,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -169073,8 +169297,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -169154,9 +169378,9 @@ webhooks: type: string enum: - unpinned - comment: *932 - enterprise: *901 - installation: *902 + comment: *936 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -169969,8 +170193,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169987,7 +170211,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -170333,8 +170557,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170423,9 +170647,9 @@ webhooks: type: number blocking_issue: *221 blocking_issue_repo: *75 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170514,9 +170738,9 @@ webhooks: type: number blocking_issue: *221 blocking_issue_repo: *75 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170604,9 +170828,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170695,9 +170919,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170777,10 +171001,10 @@ webhooks: type: string enum: - assigned - assignee: *928 - enterprise: *901 - installation: *902 - issue: &933 + assignee: *932 + enterprise: *905 + installation: *906 + issue: &937 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -171591,11 +171815,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171612,7 +171836,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -171715,8 +171939,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -171796,8 +172020,8 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -172613,11 +172837,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172634,7 +172858,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -172880,8 +173104,8 @@ webhooks: required: - state - closed_at - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -172960,8 +173184,8 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173768,11 +173992,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173789,7 +174013,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -173891,8 +174115,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -173971,8 +174195,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174802,11 +175026,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174823,7 +175047,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -174904,7 +175128,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &934 + milestone: &938 title: Milestone description: A collection of related issues and pull requests. type: object @@ -175047,8 +175271,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -175147,8 +175371,8 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175959,11 +176183,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175977,7 +176201,7 @@ webhooks: timeline_url: type: string format: uri - type: *387 + type: *389 title: description: Title of the issue type: string @@ -176083,9 +176307,9 @@ webhooks: - active_lock_reason - body - reactions - label: *922 - organization: *903 - repository: *904 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -176165,9 +176389,9 @@ webhooks: type: string enum: - field_added - enterprise: *901 - installation: *902 - issue: *933 + enterprise: *905 + installation: *906 + issue: *937 issue_field: type: object description: The issue field whose value was set or updated on the @@ -176333,8 +176557,8 @@ webhooks: - id required: - from - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -176414,9 +176638,9 @@ webhooks: type: string enum: - field_removed - enterprise: *901 - installation: *902 - issue: *933 + enterprise: *905 + installation: *906 + issue: *937 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -176503,8 +176727,8 @@ webhooks: - 'null' required: - id - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -176584,8 +176808,8 @@ webhooks: type: string enum: - labeled - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177395,11 +177619,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177413,7 +177637,7 @@ webhooks: timeline_url: type: string format: uri - type: *387 + type: *389 title: description: Title of the issue type: string @@ -177519,9 +177743,9 @@ webhooks: - active_lock_reason - body - reactions - label: *922 - organization: *903 - repository: *904 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -177601,8 +177825,8 @@ webhooks: type: string enum: - locked - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -178437,11 +178661,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178455,7 +178679,7 @@ webhooks: timeline_url: type: string format: uri - type: *387 + type: *389 title: description: Title of the issue type: string @@ -178538,8 +178762,8 @@ webhooks: format: uri user_view_type: type: string - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -178618,8 +178842,8 @@ webhooks: type: string enum: - milestoned - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179448,11 +179672,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179469,7 +179693,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -179549,9 +179773,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *934 - organization: *903 - repository: *904 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -180438,11 +180662,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180542,7 +180766,7 @@ webhooks: required: - login - id - type: *387 + type: *389 required: - id - number @@ -181034,8 +181258,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -181842,11 +182066,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -181863,7 +182087,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -181969,8 +182193,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -182050,9 +182274,9 @@ webhooks: type: string enum: - pinned - enterprise: *901 - installation: *902 - issue: &935 + enterprise: *905 + installation: *906 + issue: &939 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -182857,11 +183081,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -182878,7 +183102,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -182980,8 +183204,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -183060,8 +183284,8 @@ webhooks: type: string enum: - reopened - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -183894,11 +184118,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -183995,9 +184219,9 @@ webhooks: format: uri user_view_type: type: string - type: *387 - organization: *903 - repository: *904 + type: *389 + organization: *907 + repository: *908 sender: *4 required: - action @@ -184885,11 +185109,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -184906,7 +185130,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -185499,11 +185723,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *901 - installation: *902 - issue: *935 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *939 + organization: *907 + repository: *908 sender: *4 required: - action @@ -185583,12 +185807,12 @@ webhooks: type: string enum: - typed - enterprise: *901 - installation: *902 - issue: *933 - type: *387 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + type: *389 + organization: *907 + repository: *908 sender: *4 required: - action @@ -185669,7 +185893,7 @@ webhooks: type: string enum: - unassigned - assignee: &959 + assignee: &963 title: User type: - object @@ -185741,11 +185965,11 @@ webhooks: required: - login - id - enterprise: *901 - installation: *902 - issue: *933 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + organization: *907 + repository: *908 sender: *4 required: - action @@ -185824,12 +186048,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *901 - installation: *902 - issue: *933 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -185909,8 +186133,8 @@ webhooks: type: string enum: - unlocked - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -186743,11 +186967,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -186764,7 +186988,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -186844,8 +187068,8 @@ webhooks: format: uri user_view_type: type: string - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186925,11 +187149,11 @@ webhooks: type: string enum: - unpinned - enterprise: *901 - installation: *902 - issue: *935 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *939 + organization: *907 + repository: *908 sender: *4 required: - action @@ -187008,12 +187232,12 @@ webhooks: type: string enum: - untyped - enterprise: *901 - installation: *902 - issue: *933 - type: *387 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + type: *389 + organization: *907 + repository: *908 sender: *4 required: - action @@ -187093,11 +187317,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -187175,11 +187399,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -187289,11 +187513,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -187375,9 +187599,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: &936 + enterprise: *905 + installation: *906 + marketplace_purchase: &940 title: Marketplace Purchase type: object required: @@ -187465,8 +187689,8 @@ webhooks: type: integer unit_count: type: integer - organization: *903 - previous_marketplace_purchase: &937 + organization: *907 + previous_marketplace_purchase: &941 title: Marketplace Purchase type: object properties: @@ -187550,7 +187774,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *904 + repository: *908 sender: *4 required: - action @@ -187630,10 +187854,10 @@ webhooks: - changed effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: *936 - organization: *903 + enterprise: *905 + installation: *906 + marketplace_purchase: *940 + organization: *907 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -187721,7 +187945,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *904 + repository: *908 sender: *4 required: - action @@ -187803,10 +188027,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: *936 - organization: *903 + enterprise: *905 + installation: *906 + marketplace_purchase: *940 + organization: *907 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -187892,7 +188116,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *904 + repository: *908 sender: *4 required: - action @@ -187973,8 +188197,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 marketplace_purchase: title: Marketplace Purchase type: object @@ -188060,9 +188284,9 @@ webhooks: type: integer unit_count: type: integer - organization: *903 - previous_marketplace_purchase: *937 - repository: *904 + organization: *907 + previous_marketplace_purchase: *941 + repository: *908 sender: *4 required: - action @@ -188142,12 +188366,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: *936 - organization: *903 - previous_marketplace_purchase: *937 - repository: *904 + enterprise: *905 + installation: *906 + marketplace_purchase: *940 + organization: *907 + previous_marketplace_purchase: *941 + repository: *908 sender: *4 required: - action @@ -188249,11 +188473,11 @@ webhooks: type: string required: - to - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188355,11 +188579,11 @@ webhooks: type: - string - 'null' - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188438,11 +188662,11 @@ webhooks: type: string enum: - removed - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188520,11 +188744,11 @@ webhooks: type: string enum: - added - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 scope: description: The scope of the membership. Currently, can only be `team`. @@ -188602,7 +188826,7 @@ webhooks: required: - login - id - team: &938 + team: &942 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -188832,11 +189056,11 @@ webhooks: type: string enum: - removed - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 scope: description: The scope of the membership. Currently, can only be `team`. @@ -188915,7 +189139,7 @@ webhooks: required: - login - id - team: *938 + team: *942 required: - action - scope @@ -188997,8 +189221,8 @@ webhooks: type: string enum: - checks_requested - installation: *902 - merge_group: &939 + installation: *906 + merge_group: &943 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -189017,15 +189241,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *554 + head_commit: *556 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189111,10 +189335,10 @@ webhooks: - merged - invalidated - dequeued - installation: *902 - merge_group: *939 - organization: *903 - repository: *904 + installation: *906 + merge_group: *943 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189187,7 +189411,7 @@ webhooks: type: string enum: - deleted - enterprise: *901 + enterprise: *905 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -189296,12 +189520,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *902 - organization: *903 + installation: *906 + organization: *907 repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -189381,11 +189605,11 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 - milestone: *934 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189464,9 +189688,9 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - milestone: &940 + enterprise: *905 + installation: *906 + milestone: &944 title: Milestone description: A collection of related issues and pull requests. type: object @@ -189608,8 +189832,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189688,11 +189912,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - milestone: *934 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189802,11 +190026,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - milestone: *934 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189886,11 +190110,11 @@ webhooks: type: string enum: - opened - enterprise: *901 - installation: *902 - milestone: *940 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *944 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189969,11 +190193,11 @@ webhooks: type: string enum: - blocked - blocked_user: *928 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + blocked_user: *932 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190052,11 +190276,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *928 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + blocked_user: *932 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190132,7 +190356,7 @@ webhooks: enum: - created definition: *149 - enterprise: *901 + enterprise: *905 sender: *4 required: - action @@ -190212,8 +190436,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 sender: *4 required: - action @@ -190286,8 +190510,8 @@ webhooks: enum: - updated definition: *149 - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 sender: *4 required: - action @@ -190359,9 +190583,9 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 new_property_values: type: array @@ -190449,9 +190673,9 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - membership: &941 + enterprise: *905 + installation: *906 + membership: &945 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -190561,8 +190785,8 @@ webhooks: - role - organization_url - user - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190640,11 +190864,11 @@ webhooks: type: string enum: - member_added - enterprise: *901 - installation: *902 - membership: *941 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + membership: *945 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190723,8 +190947,8 @@ webhooks: type: string enum: - member_invited - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -190846,10 +191070,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 - user: *928 + user: *932 required: - action - invitation @@ -190927,11 +191151,11 @@ webhooks: type: string enum: - member_removed - enterprise: *901 - installation: *902 - membership: *941 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + membership: *945 + organization: *907 + repository: *908 sender: *4 required: - action @@ -191018,11 +191242,11 @@ webhooks: properties: from: type: string - enterprise: *901 - installation: *902 - membership: *941 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + membership: *945 + organization: *907 + repository: *908 sender: *4 required: - action @@ -191100,9 +191324,9 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 package: description: Information about the package. type: object @@ -191625,7 +191849,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &942 + items: &946 title: Ruby Gems metadata type: object properties: @@ -191722,7 +191946,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -191799,9 +192023,9 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 package: description: Information about the package. type: object @@ -192163,7 +192387,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *942 + items: *946 source_url: type: string format: uri @@ -192234,7 +192458,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -192414,12 +192638,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *901 + enterprise: *905 id: type: integer - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - id @@ -192496,7 +192720,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &943 + personal_access_token_request: &947 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -192646,10 +192870,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *901 - organization: *903 + enterprise: *905 + organization: *907 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -192726,11 +192950,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *943 - enterprise: *901 - organization: *903 + personal_access_token_request: *947 + enterprise: *905 + organization: *907 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -192806,11 +193030,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *943 - enterprise: *901 - organization: *903 + personal_access_token_request: *947 + enterprise: *905 + organization: *907 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -192885,11 +193109,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *943 - organization: *903 - enterprise: *901 + personal_access_token_request: *947 + organization: *907 + enterprise: *905 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -192994,7 +193218,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *944 + last_response: *948 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -193026,8 +193250,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 zen: description: Random string of GitHub zen. @@ -193272,10 +193496,10 @@ webhooks: - from required: - note - enterprise: *901 - installation: *902 - organization: *903 - project_card: &945 + enterprise: *905 + installation: *906 + organization: *907 + project_card: &949 title: Project Card type: object properties: @@ -193398,7 +193622,7 @@ webhooks: - creator - created_at - updated_at - repository: *904 + repository: *908 sender: *4 required: - action @@ -193479,11 +193703,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - project_card: *945 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_card: *949 + repository: *908 sender: *4 required: - action @@ -193563,9 +193787,9 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 project_card: title: Project Card type: object @@ -193695,7 +193919,7 @@ webhooks: repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -193789,11 +194013,11 @@ webhooks: - from required: - note - enterprise: *901 - installation: *902 - organization: *903 - project_card: *945 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_card: *949 + repository: *908 sender: *4 required: - action @@ -193887,9 +194111,9 @@ webhooks: - from required: - column_id - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 project_card: allOf: - title: Project Card @@ -194086,7 +194310,7 @@ webhooks: type: string required: - after_id - repository: *904 + repository: *908 sender: *4 required: - action @@ -194166,10 +194390,10 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 - organization: *903 - project: &947 + enterprise: *905 + installation: *906 + organization: *907 + project: &951 title: Project type: object properties: @@ -194296,7 +194520,7 @@ webhooks: - creator - created_at - updated_at - repository: *904 + repository: *908 sender: *4 required: - action @@ -194376,10 +194600,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - project_column: &946 + enterprise: *905 + installation: *906 + organization: *907 + project_column: &950 title: Project Column type: object properties: @@ -194419,7 +194643,7 @@ webhooks: - name - created_at - updated_at - repository: *904 + repository: *908 sender: *4 required: - action @@ -194498,14 +194722,14 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - project_column: *946 + enterprise: *905 + installation: *906 + organization: *907 + project_column: *950 repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -194594,11 +194818,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - project_column: *946 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_column: *950 + repository: *908 sender: *4 required: - action @@ -194678,11 +194902,11 @@ webhooks: type: string enum: - moved - enterprise: *901 - installation: *902 - organization: *903 - project_column: *946 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_column: *950 + repository: *908 sender: *4 required: - action @@ -194762,11 +194986,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - project: *947 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 + repository: *908 sender: *4 required: - action @@ -194846,14 +195070,14 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - project: *947 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -194954,11 +195178,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - project: *947 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 + repository: *908 sender: *4 required: - action @@ -195037,11 +195261,11 @@ webhooks: type: string enum: - reopened - enterprise: *901 - installation: *902 - organization: *903 - project: *947 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 + repository: *908 sender: *4 required: - action @@ -195122,9 +195346,9 @@ webhooks: type: string enum: - closed - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -195205,9 +195429,9 @@ webhooks: type: string enum: - created - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -195288,9 +195512,9 @@ webhooks: type: string enum: - deleted - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -195411,9 +195635,9 @@ webhooks: type: string to: type: string - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -195496,7 +195720,7 @@ webhooks: type: string enum: - archived - changes: &951 + changes: &955 type: object properties: archived_at: @@ -195512,9 +195736,9 @@ webhooks: - string - 'null' format: date-time - installation: *902 - organization: *903 - projects_v2_item: &948 + installation: *906 + organization: *907 + projects_v2_item: &952 title: Projects v2 Item description: An item belonging to a project type: object @@ -195532,7 +195756,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *424 + content_type: *426 creator: *4 created_at: type: string @@ -195654,9 +195878,9 @@ webhooks: - 'null' to: type: string - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -195738,9 +195962,9 @@ webhooks: type: string enum: - created - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -195821,9 +196045,9 @@ webhooks: type: string enum: - deleted - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -195928,7 +196152,7 @@ webhooks: oneOf: - type: string - type: integer - - &949 + - &953 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -195952,7 +196176,7 @@ webhooks: required: - id - name - - &950 + - &954 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -195992,8 +196216,8 @@ webhooks: oneOf: - type: string - type: integer - - *949 - - *950 + - *953 + - *954 type: - 'null' - string @@ -196016,9 +196240,9 @@ webhooks: - 'null' required: - body - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -196115,9 +196339,9 @@ webhooks: type: - string - 'null' - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -196200,10 +196424,10 @@ webhooks: type: string enum: - restored - changes: *951 - installation: *902 - organization: *903 - projects_v2_item: *948 + changes: *955 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -196285,9 +196509,9 @@ webhooks: type: string enum: - reopened - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -196368,9 +196592,9 @@ webhooks: type: string enum: - created - installation: *902 - organization: *903 - projects_v2_status_update: *952 + installation: *906 + organization: *907 + projects_v2_status_update: *956 sender: *4 required: - action @@ -196451,9 +196675,9 @@ webhooks: type: string enum: - deleted - installation: *902 - organization: *903 - projects_v2_status_update: *952 + installation: *906 + organization: *907 + projects_v2_status_update: *956 sender: *4 required: - action @@ -196599,9 +196823,9 @@ webhooks: - string - 'null' format: date - installation: *902 - organization: *903 - projects_v2_status_update: *952 + installation: *906 + organization: *907 + projects_v2_status_update: *956 sender: *4 required: - action @@ -196672,10 +196896,10 @@ webhooks: title: public event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - repository @@ -196752,13 +196976,13 @@ webhooks: type: string enum: - assigned - assignee: *928 - enterprise: *901 - installation: *902 - number: &953 + assignee: *932 + enterprise: *905 + installation: *906 + number: &957 description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -199001,7 +199225,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -199130,7 +199354,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -199212,10 +199436,10 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -201449,7 +201673,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -201580,7 +201804,7 @@ webhooks: - draft reason: type: string - repository: *904 + repository: *908 sender: *4 required: - action @@ -201662,10 +201886,10 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -203899,7 +204123,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -204030,7 +204254,7 @@ webhooks: - draft reason: type: string - repository: *904 + repository: *908 sender: *4 required: - action @@ -204112,13 +204336,13 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: &954 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: &958 allOf: - - *742 + - *746 - type: object properties: allow_auto_merge: @@ -204180,7 +204404,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *904 + repository: *908 sender: *4 required: - action @@ -204261,12 +204485,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -204346,12 +204570,12 @@ webhooks: type: string enum: - demilestoned - enterprise: *901 - installation: *902 - milestone: *421 - number: *953 - organization: *903 - pull_request: &955 + enterprise: *905 + installation: *906 + milestone: *423 + number: *957 + organization: *907 + pull_request: &959 title: Pull Request type: object properties: @@ -206572,7 +206796,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -206701,7 +206925,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -206781,10 +207005,10 @@ webhooks: type: string enum: - dequeued - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -209009,7 +209233,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -209153,7 +209377,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *904 + repository: *908 sender: *4 required: - action @@ -209277,12 +209501,12 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -209363,10 +209587,10 @@ webhooks: type: string enum: - enqueued - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -211591,7 +211815,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -211720,7 +211944,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -211800,11 +212024,11 @@ webhooks: type: string enum: - labeled - enterprise: *901 - installation: *902 - label: *922 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + label: *926 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -214046,7 +214270,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -214175,7 +214399,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -214256,10 +214480,10 @@ webhooks: type: string enum: - locked - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -216499,7 +216723,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -216628,7 +216852,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -216708,13 +216932,13 @@ webhooks: type: string enum: - milestoned - enterprise: *901 - installation: *902 - milestone: *421 - number: *953 - organization: *903 - pull_request: *955 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *423 + number: *957 + organization: *907 + pull_request: *959 + repository: *908 sender: *4 required: - action @@ -216794,12 +217018,12 @@ webhooks: type: string enum: - opened - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -216880,12 +217104,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -216965,12 +217189,12 @@ webhooks: type: string enum: - reopened - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -217345,9 +217569,9 @@ webhooks: - start_side - side - reactions - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: type: object properties: @@ -219476,7 +219700,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -219600,7 +219824,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *904 + repository: *908 sender: *4 required: - action @@ -219680,7 +219904,7 @@ webhooks: type: string enum: - deleted - comment: &957 + comment: &961 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -219973,9 +220197,9 @@ webhooks: - start_side - side - reactions - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: type: object properties: @@ -222092,7 +222316,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -222216,7 +222440,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *904 + repository: *908 sender: *4 required: - action @@ -222296,11 +222520,11 @@ webhooks: type: string enum: - edited - changes: *956 - comment: *957 - enterprise: *901 - installation: *902 - organization: *903 + changes: *960 + comment: *961 + enterprise: *905 + installation: *906 + organization: *907 pull_request: type: object properties: @@ -224420,7 +224644,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -224544,7 +224768,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *904 + repository: *908 sender: *4 required: - action @@ -224625,9 +224849,9 @@ webhooks: type: string enum: - dismissed - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -226757,7 +226981,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -226883,7 +227107,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 + repository: *908 review: description: The review that was affected. type: object @@ -227134,9 +227358,9 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -229250,8 +229474,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 - review: &958 + repository: *908 + review: &962 description: The review that was affected. type: object properties: @@ -229489,12 +229713,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -231735,7 +231959,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -231864,7 +232088,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_reviewer: title: User type: @@ -231950,12 +232174,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -234203,7 +234427,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -234332,7 +234556,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_team: title: Team description: Groups of organization members that gives permissions @@ -234527,12 +234751,12 @@ webhooks: type: string enum: - review_requested - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -236774,7 +236998,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -236904,7 +237128,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_reviewer: title: User type: @@ -236991,12 +237215,12 @@ webhooks: type: string enum: - review_requested - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -239229,7 +239453,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -239359,7 +239583,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_team: title: Team description: Groups of organization members that gives permissions @@ -239543,9 +239767,9 @@ webhooks: type: string enum: - submitted - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -241678,7 +241902,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -241804,8 +242028,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 - review: *958 + repository: *908 + review: *962 sender: *4 required: - action @@ -241885,9 +242109,9 @@ webhooks: type: string enum: - resolved - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -243915,7 +244139,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -244041,7 +244265,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 + repository: *908 sender: *4 thread: type: object @@ -244438,9 +244662,9 @@ webhooks: type: string enum: - unresolved - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -246452,7 +246676,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -246577,7 +246801,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 + repository: *908 sender: *4 thread: type: object @@ -246970,11 +247194,11 @@ webhooks: type: string enum: - stacked - enterprise: *901 - installation: *902 - stack: *739 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + stack: *743 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -249216,7 +249440,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -249345,7 +249569,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -249431,10 +249655,10 @@ webhooks: type: string before: type: string - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -251663,7 +251887,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -251792,7 +252016,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -251874,11 +252098,11 @@ webhooks: type: string enum: - unassigned - assignee: *959 - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + assignee: *963 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -254122,7 +254346,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -254251,7 +254475,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -254331,11 +254555,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *901 - installation: *902 - label: *922 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + label: *926 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -256568,7 +256792,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -256697,7 +256921,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -256778,10 +257002,10 @@ webhooks: type: string enum: - unlocked - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -259005,7 +259229,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -259133,7 +259357,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -259336,7 +259560,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *901 + enterprise: *905 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -259431,8 +259655,8 @@ webhooks: - url - author - committer - installation: *902 - organization: *903 + installation: *906 + organization: *907 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -260031,9 +260255,9 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 registry_package: type: object properties: @@ -260510,7 +260734,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *942 + items: *946 summary: type: string tag_name: @@ -260566,7 +260790,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -260644,9 +260868,9 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 registry_package: type: object properties: @@ -260958,7 +261182,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *942 + items: *946 summary: type: string tag_name: @@ -261008,7 +261232,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -261085,10 +261309,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - release: &960 + enterprise: *905 + installation: *906 + organization: *907 + release: &964 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -261419,7 +261643,7 @@ webhooks: - updated_at - zipball_url - body - repository: *904 + repository: *908 sender: *4 required: - action @@ -261496,11 +261720,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - release: *960 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *964 + repository: *908 sender: *4 required: - action @@ -261617,11 +261841,11 @@ webhooks: type: boolean required: - to - enterprise: *901 - installation: *902 - organization: *903 - release: *960 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *964 + repository: *908 sender: *4 required: - action @@ -261699,9 +261923,9 @@ webhooks: type: string enum: - prereleased - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -262037,7 +262261,7 @@ webhooks: - string - 'null' format: uri - repository: *904 + repository: *908 sender: *4 required: - action @@ -262113,10 +262337,10 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 - release: &961 + enterprise: *905 + installation: *906 + organization: *907 + release: &965 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -262449,7 +262673,7 @@ webhooks: - string - 'null' format: uri - repository: *904 + repository: *908 sender: *4 required: - action @@ -262525,11 +262749,11 @@ webhooks: type: string enum: - released - enterprise: *901 - installation: *902 - organization: *903 - release: *960 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *964 + repository: *908 sender: *4 required: - action @@ -262605,11 +262829,11 @@ webhooks: type: string enum: - unpublished - enterprise: *901 - installation: *902 - organization: *903 - release: *961 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *965 + repository: *908 sender: *4 required: - action @@ -262685,11 +262909,11 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - repository_advisory: *797 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + repository_advisory: *801 sender: *4 required: - action @@ -262765,11 +262989,11 @@ webhooks: type: string enum: - reported - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - repository_advisory: *797 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + repository_advisory: *801 sender: *4 required: - action @@ -262845,10 +263069,10 @@ webhooks: type: string enum: - archived - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -262925,10 +263149,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263006,10 +263230,10 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263094,10 +263318,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263212,10 +263436,10 @@ webhooks: - 'null' items: type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263287,10 +263511,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 status: type: string @@ -263371,10 +263595,10 @@ webhooks: type: string enum: - privatized - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263451,10 +263675,10 @@ webhooks: type: string enum: - publicized - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263548,10 +263772,10 @@ webhooks: - name required: - repository - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263631,10 +263855,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 repository_ruleset: *188 sender: *4 required: @@ -263713,10 +263937,10 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 repository_ruleset: *188 sender: *4 required: @@ -263795,10 +264019,10 @@ webhooks: type: string enum: - edited - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 repository_ruleset: *188 changes: type: object @@ -263860,16 +264084,16 @@ webhooks: properties: added: type: array - items: *764 + items: *768 deleted: type: array - items: *764 + items: *768 updated: type: array items: type: object properties: - rule: *764 + rule: *768 changes: type: object properties: @@ -264106,10 +264330,10 @@ webhooks: - from required: - owner - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264187,10 +264411,10 @@ webhooks: type: string enum: - unarchived - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264268,7 +264492,7 @@ webhooks: type: string enum: - create - alert: &962 + alert: &966 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -264393,10 +264617,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264606,10 +264830,10 @@ webhooks: type: string enum: - dismissed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264687,11 +264911,11 @@ webhooks: type: string enum: - reopen - alert: *962 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *966 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264893,10 +265117,10 @@ webhooks: enum: - fixed - open - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264974,7 +265198,7 @@ webhooks: type: string enum: - assigned - alert: &964 + alert: &968 type: object properties: number: *128 @@ -265121,12 +265345,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *963 + metadata: *967 assignee: *4 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265204,11 +265428,11 @@ webhooks: type: string enum: - created - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265289,11 +265513,11 @@ webhooks: type: string enum: - created - alert: *964 - installation: *902 - location: *965 - organization: *903 - repository: *904 + alert: *968 + installation: *906 + location: *969 + organization: *907 + repository: *908 sender: *4 required: - location @@ -265531,11 +265755,11 @@ webhooks: type: string enum: - metadata_created - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265612,11 +265836,11 @@ webhooks: type: string enum: - metadata_removed - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265693,11 +265917,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265775,11 +265999,11 @@ webhooks: type: string enum: - reopened - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265857,11 +266081,11 @@ webhooks: type: string enum: - resolved - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265939,12 +266163,12 @@ webhooks: type: string enum: - unassigned - alert: *964 + alert: *968 assignee: *4 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -266022,11 +266246,11 @@ webhooks: type: string enum: - validated - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -266156,10 +266380,10 @@ webhooks: - organization - enterprise - - repository: *904 - enterprise: *901 - installation: *902 - organization: *903 + repository: *908 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -266237,11 +266461,11 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - security_advisory: &966 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + security_advisory: &970 description: The details of the security advisory, including summary, description, and severity. type: object @@ -266427,11 +266651,11 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - security_advisory: *966 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + security_advisory: *970 sender: *4 required: - action @@ -266504,10 +266728,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -266693,11 +266917,11 @@ webhooks: from: type: object properties: - security_and_analysis: *432 - enterprise: *901 - installation: *902 - organization: *903 - repository: *493 + security_and_analysis: *434 + enterprise: *905 + installation: *906 + organization: *907 + repository: *495 sender: *4 required: - changes @@ -266775,12 +266999,12 @@ webhooks: type: string enum: - cancelled - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: &967 + sponsorship: &971 type: object properties: created_at: @@ -267085,12 +267309,12 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - sponsorship @@ -267178,12 +267402,12 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - changes @@ -267260,17 +267484,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &968 + effective_date: &972 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - sponsorship @@ -267344,7 +267568,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &969 + changes: &973 type: object properties: tier: @@ -267388,13 +267612,13 @@ webhooks: - from required: - tier - effective_date: *968 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + effective_date: *972 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - changes @@ -267471,13 +267695,13 @@ webhooks: type: string enum: - tier_changed - changes: *969 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + changes: *973 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - changes @@ -267551,10 +267775,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -267638,10 +267862,10 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -268075,15 +268299,15 @@ webhooks: type: - string - 'null' - enterprise: *901 + enterprise: *905 id: description: The unique identifier of the status. type: integer - installation: *902 + installation: *906 name: type: string - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 sha: description: The Commit SHA. @@ -268199,9 +268423,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -268290,9 +268514,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -268381,9 +268605,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -268472,9 +268696,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -268550,12 +268774,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - team: &970 + team: &974 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -268785,9 +269009,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -269257,7 +269481,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -269333,9 +269557,9 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -269805,7 +270029,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -269882,9 +270106,9 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -270354,7 +270578,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -270498,9 +270722,9 @@ webhooks: - from required: - permissions - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -270970,7 +271194,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - changes @@ -271048,9 +271272,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -271520,7 +271744,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -271596,10 +271820,10 @@ webhooks: type: string enum: - started - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -271672,17 +271896,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *901 + enterprise: *905 inputs: type: - object - 'null' additionalProperties: true - installation: *902 - organization: *903 + installation: *906 + organization: *907 ref: type: string - repository: *904 + repository: *908 sender: *4 workflow: type: string @@ -271764,10 +271988,10 @@ webhooks: type: string enum: - completed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: allOf: @@ -272023,7 +272247,7 @@ webhooks: type: string required: - conclusion - deployment: *631 + deployment: *635 required: - action - repository @@ -272102,10 +272326,10 @@ webhooks: type: string enum: - in_progress - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: allOf: @@ -272387,7 +272611,7 @@ webhooks: required: - status - steps - deployment: *631 + deployment: *635 required: - action - repository @@ -272466,10 +272690,10 @@ webhooks: type: string enum: - queued - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: type: object @@ -272615,7 +272839,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *631 + deployment: *635 required: - action - repository @@ -272694,10 +272918,10 @@ webhooks: type: string enum: - waiting - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: type: object @@ -272844,7 +273068,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *631 + deployment: *635 required: - action - repository @@ -272924,12 +273148,12 @@ webhooks: type: string enum: - completed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: *918 + workflow: *922 workflow_run: title: Workflow Run type: object @@ -273948,12 +274172,12 @@ webhooks: type: string enum: - in_progress - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: *918 + workflow: *922 workflow_run: title: Workflow Run type: object @@ -274957,12 +275181,12 @@ webhooks: type: string enum: - requested - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: *918 + workflow: *922 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index 41bb0fde6..ba7c763ba 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -172695,6 +172695,353 @@ } } }, + "/orgs/{org}/code-scanning/ai-scan": { + "get": { + "summary": "Get the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the AI Scan setting stored on an organization.\n\nThe response reports the value stored on the organization. Organization respects enterprise policy.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + }, + "patch": { + "summary": "Update the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates the AI Scan setting stored on an organization.\n\nThe organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings update", + "description": "The AI Scan organization setting to apply", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scna. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -416712,6 +417059,366 @@ } } }, + "/repos/{owner}/{repo}/code-scanning/ai-scan": { + "get": { + "summary": "Get AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + }, + "patch": { + "summary": "Update AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement update for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether to enable or disable AI Scan for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "enabled": { + "summary": "Enable AI Scan", + "value": { + "pr_scan": "enabled" + } + }, + "disabled": { + "summary": "Disable AI Scan", + "value": { + "pr_scan": "disabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + } + }, "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for a repository", diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml index bd4c58a26..c428f0ae2 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -891,7 +891,7 @@ paths: - subscriptions_url - type - url - type: &472 + type: &474 type: string description: The type of credit the user is receiving. enum: @@ -1056,7 +1056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &800 + - &804 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4310,7 +4310,7 @@ paths: schema: type: integer default: 30 - - &360 + - &362 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4319,7 +4319,7 @@ paths: required: false schema: type: string - - &361 + - &363 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4339,7 +4339,7 @@ paths: application/json: schema: type: array - items: &362 + items: &364 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4435,7 +4435,7 @@ paths: - installation_id - repository_id examples: - default: &363 + default: &365 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4467,7 +4467,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &810 + schema: &814 title: Scim Error description: Scim Error type: object @@ -4570,7 +4570,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &366 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4705,7 +4705,7 @@ paths: - request - response examples: - default: &365 + default: &367 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -11439,7 +11439,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &811 + '401': &815 description: Authorization failure '404': *6 x-github: @@ -15694,7 +15694,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *36 - - &317 + - &319 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -15704,7 +15704,7 @@ paths: schema: &108 type: string description: The name of the tool used to generate the code scanning analysis. - - &318 + - &320 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -15728,7 +15728,7 @@ paths: be returned. in: query required: false - schema: &319 + schema: &321 type: string description: State of a code scanning alert. enum: @@ -15761,7 +15761,7 @@ paths: application/json: schema: type: array - items: &320 + items: &322 type: object properties: number: &128 @@ -15790,7 +15790,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &562 + instances_url: &566 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -15826,7 +15826,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &563 + dismissed_reason: &567 type: - string - 'null' @@ -15838,14 +15838,14 @@ paths: - used in tests - mitigated - - dismissed_comment: &564 + dismissed_comment: &568 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &565 + rule: &569 type: object properties: id: @@ -15906,7 +15906,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &566 + tool: &570 type: object properties: name: *108 @@ -15917,26 +15917,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *109 - most_recent_instance: &567 + most_recent_instance: &571 type: object properties: - ref: &560 + ref: &564 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &578 + analysis_key: &582 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &579 + environment: &583 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &580 + category: &584 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -15956,7 +15956,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &581 + location: &585 type: object description: Describe a region within a file for the alert. properties: @@ -15977,7 +15977,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &582 + items: &586 type: - string - 'null' @@ -16333,7 +16333,7 @@ paths: - most_recent_instance - repository examples: - default: &321 + default: &323 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17229,7 +17229,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 type: array description: A list of default code security configurations items: @@ -17245,7 +17245,7 @@ paths: default configuration: *111 examples: - default: &324 + default: &326 value: - default_for_new_repos: public configuration: @@ -17703,7 +17703,7 @@ paths: default: value: default_for_new_repos: all - configuration: &322 + configuration: &324 value: id: 1325 target_type: organization @@ -17793,7 +17793,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 type: object description: Repositories associated with a code security configuration and attachment status @@ -17817,7 +17817,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &326 + repository: &328 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18407,7 +18407,7 @@ paths: parent: anyOf: - type: 'null' - - &400 + - &402 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -19194,7 +19194,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &333 + '413': &335 description: Payload Too Large content: application/json: @@ -20696,7 +20696,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *36 - - &338 + - &340 name: classification in: query description: |- @@ -20705,7 +20705,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &339 + - &341 name: state in: query description: |- @@ -20714,7 +20714,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &340 + - &342 name: severity in: query description: |- @@ -20723,7 +20723,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &341 + - &343 name: ecosystem in: query description: |- @@ -20732,14 +20732,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &342 + - &344 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &343 + - &345 name: epss_percentage in: query description: |- @@ -20751,7 +20751,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &620 + - &624 name: has in: query description: |- @@ -20765,7 +20765,7 @@ paths: type: string enum: - patch - - &344 + - &346 name: assignee in: query description: |- @@ -20774,7 +20774,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &345 + - &347 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20784,7 +20784,7 @@ paths: enum: - development - runtime - - &346 + - &348 name: relationship in: query description: |- @@ -20794,7 +20794,7 @@ paths: > We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. schema: type: string - - &347 + - &349 name: sort in: query description: |- @@ -20820,7 +20820,7 @@ paths: application/json: schema: type: array - items: &348 + items: &350 type: object description: A Dependabot alert. properties: @@ -20888,7 +20888,7 @@ paths: - transitive - inconclusive - - security_advisory: &621 + security_advisory: &625 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21108,7 +21108,7 @@ paths: dismissal. maxLength: 280 fixed_at: *138 - auto_dismissed_at: &622 + auto_dismissed_at: &626 type: - string - 'null' @@ -21116,7 +21116,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &623 + dismissal_request: &627 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21179,7 +21179,7 @@ paths: - repository additionalProperties: false examples: - default: &349 + default: &351 value: - number: 2 state: dismissed @@ -21566,7 +21566,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &352 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21592,7 +21592,7 @@ paths: - *117 additionalProperties: false examples: - default: &351 + default: &353 value: default_level: public accessible_repositories: @@ -21815,7 +21815,7 @@ paths: - *100 - *101 - *102 - - &353 + - &355 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -21841,7 +21841,7 @@ paths: application/json: schema: type: array - items: &355 + items: &357 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -21968,7 +21968,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &356 + default: &358 value: - id: 21 number: 42 @@ -23066,7 +23066,7 @@ paths: application/json: schema: *20 examples: - default: &377 + default: &379 value: id: 1 account: @@ -23366,7 +23366,7 @@ paths: - name - created_on examples: - default: &476 + default: &478 value: total_count: 2 network_configurations: @@ -23617,7 +23617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *36 - - &477 + - &479 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23629,7 +23629,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &480 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23668,7 +23668,7 @@ paths: - subnet_id - region examples: - default: &479 + default: &481 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -24523,7 +24523,7 @@ paths: required: true content: application/json: - schema: &431 + schema: &433 title: Custom Property Set Payload description: Custom property set payload type: object @@ -25766,7 +25766,7 @@ paths: conditions: anyOf: - *159 - - &435 + - &437 title: Organization ruleset conditions type: object description: |- @@ -25816,7 +25816,7 @@ paths: - object rules: type: array - items: &764 + items: &768 title: Repository Rule type: object description: A repository rule. @@ -25825,7 +25825,7 @@ paths: - *168 - *169 - *170 - - &761 + - &765 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25916,7 +25916,7 @@ paths: - *181 - *182 - *183 - - &762 + - &766 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -26165,7 +26165,7 @@ paths: type: string format: date-time examples: - default: &438 + default: &440 value: - version_id: 3 actor: @@ -26218,7 +26218,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &441 allOf: - *192 - type: object @@ -26273,7 +26273,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *36 - - &440 + - &442 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26284,7 +26284,7 @@ paths: enum: - open - resolved - - &441 + - &443 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26294,7 +26294,7 @@ paths: required: false schema: type: string - - &442 + - &444 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26305,7 +26305,7 @@ paths: required: false schema: type: string - - &443 + - &445 name: exclude_providers in: query description: |- @@ -26316,7 +26316,7 @@ paths: required: false schema: type: string - - &444 + - &446 name: providers in: query description: |- @@ -26327,7 +26327,7 @@ paths: required: false schema: type: string - - &445 + - &447 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26336,7 +26336,7 @@ paths: required: false schema: type: string - - &446 + - &448 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26355,7 +26355,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &447 + - &449 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -26371,7 +26371,7 @@ paths: - *17 - *105 - *106 - - &448 + - &450 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26380,7 +26380,7 @@ paths: required: false schema: type: string - - &449 + - &451 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26389,7 +26389,7 @@ paths: schema: type: boolean default: false - - &450 + - &452 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26398,7 +26398,7 @@ paths: schema: type: boolean default: false - - &451 + - &453 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26407,7 +26407,7 @@ paths: schema: type: boolean default: false - - &452 + - &454 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26418,7 +26418,7 @@ paths: required: false schema: type: boolean - - &453 + - &455 name: included_metadata in: query description: |- @@ -26429,7 +26429,7 @@ paths: required: false schema: type: string - - &454 + - &456 name: owner_email_hash in: query description: |- @@ -26448,7 +26448,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 type: object properties: number: *128 @@ -26464,14 +26464,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &777 + state: &781 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &778 + resolution: &782 type: - string - 'null' @@ -26590,14 +26590,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &779 + - &783 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &781 + - &785 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26661,7 +26661,7 @@ paths: - blob_url - commit_sha - commit_url - - &782 + - &786 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -26722,7 +26722,7 @@ paths: - page_url - commit_sha - commit_url - - &783 + - &787 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26744,7 +26744,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &784 + - &788 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26766,7 +26766,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &785 + - &789 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26788,7 +26788,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &786 + - &790 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26803,7 +26803,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &787 + - &791 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26818,7 +26818,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &788 + - &792 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26833,7 +26833,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &789 + - &793 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -26855,7 +26855,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &790 + - &794 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -26877,7 +26877,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &791 + - &795 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -26899,7 +26899,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &792 + - &796 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -26921,7 +26921,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &793 + - &797 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -26967,7 +26967,7 @@ paths: - type: 'null' - *4 examples: - default: &456 + default: &458 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -27171,7 +27171,7 @@ paths: subcategory: custom-patterns parameters: - *36 - - &457 + - &459 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -27182,7 +27182,7 @@ paths: enum: - published - unpublished - - &458 + - &460 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -27193,7 +27193,7 @@ paths: enum: - enabled - disabled - - &459 + - &461 name: sort description: The property to sort the results by. in: query @@ -27292,7 +27292,7 @@ paths: - state - push_protection_enabled examples: - default: &460 + default: &462 value: - id: 1 name: Example Custom Pattern @@ -27355,7 +27355,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &461 + items: &463 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -27392,7 +27392,7 @@ paths: items: type: string examples: - default: &462 + default: &464 value: patterns: - name: Example Custom Pattern @@ -27418,7 +27418,7 @@ paths: description: The list of successfully created custom patterns. items: *194 examples: - default: &463 + default: &465 value: created_patterns: - id: 1 @@ -27470,7 +27470,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &464 + items: &466 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -27524,7 +27524,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &465 + items: &467 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -27547,7 +27547,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &466 + default: &468 value: patterns: - pattern_id: 2 @@ -27593,7 +27593,7 @@ paths: required: true content: application/json: - schema: &467 + schema: &469 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -27634,7 +27634,7 @@ paths: type: string custom_pattern_version: *195 examples: - default: &468 + default: &470 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27651,7 +27651,7 @@ paths: application/json: schema: *194 examples: - default: &469 + default: &471 value: id: 1 name: Example Custom Pattern @@ -27698,7 +27698,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &472 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -27779,7 +27779,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *197 examples: - default: &471 + default: &473 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27915,7 +27915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *36 - - &473 + - &475 name: advanced_security_product in: query description: | @@ -27935,7 +27935,7 @@ paths: description: Success content: application/json: - schema: &474 + schema: &476 type: object properties: total_advanced_security_committers: @@ -27998,7 +27998,7 @@ paths: required: - repositories examples: - default: &475 + default: &477 value: total_advanced_security_committers: 2 total_count: 2 @@ -32138,7 +32138,7 @@ paths: properties: action: type: string - discussion: &919 + discussion: &923 title: Discussion description: A Discussion in a repository. type: object @@ -32635,7 +32635,7 @@ paths: milestone: anyOf: - type: 'null' - - &421 + - &423 title: Milestone description: A collection of related issues and pull requests. @@ -32812,7 +32812,7 @@ paths: timeline_url: type: string format: uri - type: &387 + type: &389 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -32925,7 +32925,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &838 + sub_issues_summary: &842 title: Sub-issues Summary type: object properties: @@ -33009,7 +33009,7 @@ paths: pin: anyOf: - type: 'null' - - &706 + - &710 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -33030,7 +33030,7 @@ paths: minimized: anyOf: - type: 'null' - - &707 + - &711 title: Minimized Issue Comment description: Details about why an issue comment was minimized. @@ -33055,7 +33055,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &839 + issue_dependencies_summary: &843 title: Issue Dependencies Summary type: object properties: @@ -33074,7 +33074,7 @@ paths: - total_blocking issue_field_values: type: array - items: &688 + items: &692 title: Issue Field Value description: A value assigned to an issue field type: object @@ -33890,7 +33890,7 @@ paths: type: string release: allOf: - - &754 + - &758 title: Release description: A release. type: object @@ -33972,7 +33972,7 @@ paths: author: *4 assets: type: array - items: &755 + items: &759 title: Release Asset description: Data related to a release. type: object @@ -36228,7 +36228,7 @@ paths: - closed - all default: open - - &390 + - &392 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -36279,7 +36279,7 @@ paths: type: array items: *221 examples: - default: &391 + default: &393 value: - id: 1 node_id: MDU6SXNzdWUx @@ -37705,14 +37705,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &488 + - &490 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &489 + - &491 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -37774,7 +37774,7 @@ paths: '404': *6 '403': *27 '304': *32 - '301': &494 + '301': &496 description: Moved permanently content: application/json: @@ -37796,7 +37796,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &726 + - &730 name: all description: If `true`, show notifications marked as read. in: query @@ -37804,7 +37804,7 @@ paths: schema: type: boolean default: false - - &727 + - &731 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -37814,7 +37814,7 @@ paths: type: boolean default: false - *226 - - &728 + - &732 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -38194,7 +38194,7 @@ paths: type: boolean examples: - false - security_and_analysis: &432 + security_and_analysis: &434 type: - object - 'null' @@ -38413,7 +38413,7 @@ paths: - url - subscription_url examples: - default: &729 + default: &733 value: - id: '1' repository: @@ -39194,7 +39194,7 @@ paths: type: array items: *153 examples: - default: &735 + default: &739 value: - property_name: environment value: production @@ -39244,7 +39244,7 @@ paths: required: - properties examples: - default: &736 + default: &740 value: properties: - property_name: environment @@ -40133,7 +40133,7 @@ paths: type: integer repository_cache_usages: type: array - items: &501 + items: &503 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -42406,7 +42406,7 @@ paths: type: array items: *280 examples: - default: &332 + default: &334 value: total_count: 1 repositories: @@ -46436,12 +46436,12 @@ paths: required: - subject_digests examples: - default: &879 + default: &883 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &880 + withPredicateType: &884 value: subject_digests: - sha256:abc123 @@ -46486,7 +46486,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &881 + default: &885 value: attestations_subject_digests: - sha256:abc: @@ -46819,7 +46819,7 @@ paths: initiator: type: string examples: - default: &534 + default: &536 value: attestations: - repository_id: 1 @@ -47614,6 +47614,124 @@ paths: enabledForGitHubApps: true category: campaigns subcategory: campaigns + "/orgs/{org}/code-scanning/ai-scan": + get: + summary: Get the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the AI Scan setting stored on an organization. + + The response reports the value stored on the organization. Organization respects enterprise policy. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization + parameters: + - *84 + responses: + '200': + description: Response + content: + application/json: + schema: &317 + title: Code scanning AI Scan organization settings + description: The AI Scan organization setting + type: object + properties: + pr_scan: + description: 'Whether AI Scan on pull requests is enabled for + the organization. The organization setting respects enterprise + policy, and repositories inherit it: when disabled, repositories + cannot enable AI Scan; when enabled, repositories can still + opt out.' + type: string + enum: + - enabled + - disabled + examples: + - enabled + required: + - pr_scan + examples: + default: &318 + value: + pr_scan: enabled + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan + patch: + summary: Update the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates the AI Scan setting stored on an organization. + + The organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization + parameters: + - *84 + requestBody: + required: true + content: + application/json: + schema: + title: Code scanning AI Scan organization settings update + description: The AI Scan organization setting to apply + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the organization. Organization + respects enterprise policy. Disabled organizations prevent repositories + from enabling AI Scna. Enabled organizations enable AI Scan for + their repositories, but individual repositories can opt out. + type: string + enum: + - enabled + - disabled + examples: + - enabled + minProperties: 1 + additionalProperties: false + examples: + default: + value: + pr_scan: enabled + responses: + '200': + description: Response + content: + application/json: + schema: *317 + examples: + default: *318 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -47631,8 +47749,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *84 - - *317 - - *318 + - *319 + - *320 - *105 - *106 - *19 @@ -47643,7 +47761,7 @@ paths: be returned. in: query required: false - schema: *319 + schema: *321 - name: sort description: The property by which to sort the results. in: query @@ -47659,7 +47777,7 @@ paths: be returned. in: query required: false - schema: &561 + schema: &565 type: string description: Severity of a code scanning alert. enum: @@ -47685,9 +47803,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *321 + default: *323 headers: Link: *42 '404': *6 @@ -48062,7 +48180,7 @@ paths: application/json: schema: *111 examples: - default: *322 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48090,9 +48208,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *324 + default: *326 '304': *32 '403': *27 '404': *6 @@ -48181,7 +48299,7 @@ paths: application/json: schema: *111 examples: - default: *322 + default: *324 '304': *32 '403': *27 '404': *6 @@ -48626,7 +48744,7 @@ paths: default: value: default_for_new_repos: all - configuration: *322 + configuration: *324 '403': *27 '404': *6 x-github: @@ -48679,13 +48797,13 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *326 + repository: *328 '403': *27 '404': *6 x-github: @@ -48725,7 +48843,7 @@ paths: type: integer codespaces: type: array - items: &392 + items: &394 type: object title: Codespace description: A codespace. @@ -48760,7 +48878,7 @@ paths: machine: anyOf: - type: 'null' - - &594 + - &598 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -49047,7 +49165,7 @@ paths: - pulls_url - recent_folders examples: - default: &393 + default: &395 value: total_count: 3 codespaces: @@ -49671,7 +49789,7 @@ paths: type: integer secrets: type: array - items: &327 + items: &329 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -49712,7 +49830,7 @@ paths: - updated_at - visibility examples: - default: &595 + default: &599 value: total_count: 2 secrets: @@ -49750,7 +49868,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &600 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -49785,7 +49903,7 @@ paths: - key_id - key examples: - default: &597 + default: &601 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -49815,9 +49933,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: &599 + default: &603 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -50151,7 +50269,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &328 + items: &330 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -50548,9 +50666,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: &329 + default: &331 summary: Example response for an organization copilot space value: id: 84 @@ -50655,9 +50773,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 '403': *27 '404': *6 x-github: @@ -50786,9 +50904,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 '403': *27 '404': *6 '422': *15 @@ -50871,7 +50989,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &330 + items: &332 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -51096,7 +51214,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: user: value: @@ -51226,7 +51344,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: user: value: @@ -51377,7 +51495,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &331 + items: &333 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -51521,7 +51639,7 @@ paths: description: Resource created content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -51537,7 +51655,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -51592,7 +51710,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -51661,7 +51779,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -52394,7 +52512,7 @@ paths: - total_count - repositories examples: - default: *332 + default: *334 '500': *35 '401': *23 '403': *27 @@ -52662,7 +52780,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *333 + '413': *335 '422': *7 x-github: githubCloudOnly: @@ -53464,7 +53582,7 @@ paths: - 3 custom_roles: type: array - items: &334 + items: &336 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -53603,7 +53721,7 @@ paths: required: true content: application/json: - schema: &336 + schema: &338 type: object properties: name: @@ -53645,9 +53763,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: &335 + default: &337 value: id: 8030 name: Security Engineer @@ -53701,9 +53819,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: true @@ -53731,7 +53849,7 @@ paths: required: true content: application/json: - schema: &337 + schema: &339 type: object properties: name: @@ -53770,9 +53888,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -53830,7 +53948,7 @@ paths: required: true content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -53844,9 +53962,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -53883,9 +54001,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: true @@ -53919,7 +54037,7 @@ paths: required: true content: application/json: - schema: *337 + schema: *339 examples: default: value: @@ -53934,9 +54052,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -53996,12 +54114,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *84 - - *338 - - *339 - *340 - *341 - *342 - *343 + - *344 + - *345 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -54031,7 +54149,7 @@ paths: enum: - patch - deployment - - *344 + - *346 - name: runtime_risk in: query description: |- @@ -54040,9 +54158,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *345 - - *346 - *347 + - *348 + - *349 - *107 - *105 - *106 @@ -54054,9 +54172,9 @@ paths: application/json: schema: type: array - items: *348 + items: *350 examples: - default: *349 + default: *351 '304': *32 '400': *14 '403': *27 @@ -54105,9 +54223,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 '403': *27 '404': *6 x-github: @@ -54271,7 +54389,7 @@ paths: type: integer secrets: type: array - items: &352 + items: &354 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -54350,7 +54468,7 @@ paths: description: Response content: application/json: - schema: &626 + schema: &630 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -54369,7 +54487,7 @@ paths: - key_id - key examples: - default: &627 + default: &631 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -54399,7 +54517,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: default: value: @@ -54695,7 +54813,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - &636 + - &640 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -54703,7 +54821,7 @@ paths: required: false schema: type: string - - &637 + - &641 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -54711,7 +54829,7 @@ paths: required: false schema: type: string - - &638 + - &642 name: time_period description: |- The time period to filter by. @@ -54727,7 +54845,7 @@ paths: - week - month default: month - - &639 + - &643 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -54752,7 +54870,7 @@ paths: application/json: schema: type: array - items: &640 + items: &644 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -54862,7 +54980,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &354 + items: &356 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -54915,7 +55033,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &641 + default: &645 value: - id: 21 number: 42 @@ -55007,7 +55125,7 @@ paths: - *100 - *101 - *102 - - *353 + - *355 - *17 - *19 responses: @@ -55017,7 +55135,7 @@ paths: application/json: schema: type: array - items: &642 + items: &646 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -55127,7 +55245,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *354 + items: *356 url: type: string format: uri @@ -55140,7 +55258,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &643 + default: &647 value: - id: 21 number: 42 @@ -55232,7 +55350,7 @@ paths: - *100 - *101 - *102 - - *353 + - *355 - *17 - *19 responses: @@ -55242,9 +55360,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 '404': *6 '403': *27 '500': *35 @@ -55270,7 +55388,7 @@ paths: application/json: schema: type: array - items: &402 + items: &404 title: Package description: A software package type: object @@ -55341,7 +55459,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &405 value: - id: 197 name: hello_docker @@ -55528,7 +55646,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &487 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -55618,7 +55736,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &486 + default: &488 value: group_id: '123' group_name: Octocat admins @@ -55673,7 +55791,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &484 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -55713,7 +55831,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &483 + default: &485 value: groups: - group_id: '123' @@ -55758,7 +55876,7 @@ paths: application/json: schema: type: array - items: &381 + items: &383 title: Organization Invitation description: Organization Invitation type: object @@ -55812,7 +55930,7 @@ paths: - invitation_teams_url - node_id examples: - default: &382 + default: &384 value: - id: 1 login: monalisa @@ -55879,7 +55997,7 @@ paths: application/json: schema: type: array - items: &433 + items: &435 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -55893,7 +56011,7 @@ paths: - name - description examples: - default: &434 + default: &436 value: - name: add_assignee description: Assign or remove a user @@ -55934,7 +56052,7 @@ paths: application/json: schema: type: array - items: &357 + items: &359 title: Org Hook description: Org Hook type: object @@ -56117,9 +56235,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: &358 + default: &360 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -56164,7 +56282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *84 - - &359 + - &361 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -56177,9 +56295,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 '404': *6 x-github: githubCloudOnly: false @@ -56201,7 +56319,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *84 - - *359 + - *361 requestBody: required: false content: @@ -56247,7 +56365,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: default: value: @@ -56287,7 +56405,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *84 - - *359 + - *361 responses: '204': description: Response @@ -56313,7 +56431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *84 - - *359 + - *361 responses: '200': description: Response @@ -56342,7 +56460,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *84 - - *359 + - *361 requestBody: required: false content: @@ -56391,10 +56509,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *84 - - *359 - - *17 - - *360 - *361 + - *17 + - *362 + - *363 responses: '200': description: Response @@ -56402,9 +56520,9 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: - default: *363 + default: *365 '400': *14 '422': *15 x-github: @@ -56428,16 +56546,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *84 - - *359 + - *361 - *16 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '400': *14 '422': *15 x-github: @@ -56461,7 +56579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *84 - - *359 + - *361 - *16 responses: '202': *34 @@ -56488,7 +56606,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *84 - - *359 + - *361 responses: '204': description: Response @@ -56513,7 +56631,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *84 - - &370 + - &372 name: actor_type in: path description: The type of the actor @@ -56526,14 +56644,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &371 + - &373 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &366 + - &368 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -56541,7 +56659,7 @@ paths: required: true schema: type: string - - &367 + - &369 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -56638,12 +56756,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *84 - - *366 - - *367 + - *368 + - *369 - *19 - *17 - *107 - - &376 + - &378 name: sort description: The property to sort the results by. in: query @@ -56724,14 +56842,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *84 - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: &368 + schema: &370 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -56747,7 +56865,7 @@ paths: type: integer format: int64 examples: - default: &369 + default: &371 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -56770,23 +56888,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *84 - - &372 + - &374 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: enabledForGitHubApps: true category: orgs @@ -56806,18 +56924,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *84 - - *366 - - *367 - - *370 - - *371 + - *368 + - *369 + - *372 + - *373 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: enabledForGitHubApps: true category: orgs @@ -56837,9 +56955,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *84 - - *366 - - *367 - - &373 + - *368 + - *369 + - &375 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -56852,7 +56970,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -56868,7 +56986,7 @@ paths: type: integer format: int64 examples: - default: &375 + default: &377 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -56907,18 +57025,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *84 - - *372 - - *366 - - *367 - - *373 + - *374 + - *368 + - *369 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: enabledForGitHubApps: true category: orgs @@ -56938,19 +57056,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *84 - - *370 - - *371 - - *366 - - *367 + - *372 - *373 + - *368 + - *369 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: enabledForGitHubApps: true category: orgs @@ -56970,13 +57088,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *84 - - *372 - - *366 - - *367 + - *374 + - *368 + - *369 - *19 - *17 - *107 - - *376 + - *378 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -57060,7 +57178,7 @@ paths: application/json: schema: *20 examples: - default: *377 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57180,12 +57298,12 @@ paths: application/json: schema: anyOf: - - &379 + - &381 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &378 + limit: &380 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -57213,7 +57331,7 @@ paths: properties: {} additionalProperties: false examples: - default: &380 + default: &382 value: limit: collaborators_only origin: organization @@ -57242,13 +57360,13 @@ paths: required: true content: application/json: - schema: &672 + schema: &676 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *378 + limit: *380 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -57273,9 +57391,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *380 + default: *382 '422': *15 x-github: githubCloudOnly: false @@ -57487,9 +57605,9 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 headers: Link: *42 '404': *6 @@ -57567,7 +57685,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -57624,7 +57742,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *84 - - &383 + - &385 name: invitation_id description: The unique identifier of the invitation. in: path @@ -57658,7 +57776,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *84 - - *383 + - *385 - *17 - *19 responses: @@ -57670,7 +57788,7 @@ paths: type: array items: *313 examples: - default: &401 + default: &403 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -57713,7 +57831,7 @@ paths: application/json: schema: type: array - items: &384 + items: &386 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -57976,9 +58094,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &385 + default: &387 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -58034,7 +58152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *84 - - &386 + - &388 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -58144,9 +58262,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '404': *6 '422': *7 x-github: @@ -58171,7 +58289,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *84 - - *386 + - *388 responses: '204': *121 '404': *6 @@ -58201,9 +58319,9 @@ paths: application/json: schema: type: array - items: *387 + items: *389 examples: - default: &676 + default: &680 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -58289,9 +58407,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: &388 + default: &390 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -58324,7 +58442,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *84 - - &389 + - &391 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -58380,9 +58498,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 '404': *6 '422': *7 x-github: @@ -58407,7 +58525,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *84 - - *389 + - *391 responses: '204': description: Response @@ -58470,7 +58588,7 @@ paths: - closed - all default: open - - *390 + - *392 - name: type description: Can be the name of an issue type. in: query @@ -58501,7 +58619,7 @@ paths: type: array items: *221 examples: - default: *391 + default: *393 headers: Link: *42 '404': *6 @@ -58661,9 +58779,9 @@ paths: type: integer codespaces: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 '304': *32 '500': *35 '401': *23 @@ -58690,7 +58808,7 @@ paths: parameters: - *84 - *127 - - &394 + - &396 name: codespace_name in: path required: true @@ -58725,15 +58843,15 @@ paths: parameters: - *84 - *127 - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: &593 + default: &597 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -58989,7 +59107,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &397 title: Org Membership description: Org Membership type: object @@ -59058,7 +59176,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &396 + response-if-user-has-an-active-admin-membership-with-organization: &398 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -59159,9 +59277,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - response-if-user-already-had-membership-with-organization: *396 + response-if-user-already-had-membership-with-organization: *398 '422': *15 '403': *27 '451': *15 @@ -59234,7 +59352,7 @@ paths: application/json: schema: type: array - items: &397 + items: &399 title: Migration description: A migration. type: object @@ -59572,7 +59690,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -59751,7 +59869,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *84 - - &398 + - &400 name: migration_id description: The unique identifier of the migration. in: path @@ -59779,7 +59897,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -59949,7 +60067,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *84 - - *398 + - *400 responses: '302': description: Response @@ -59971,7 +60089,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *84 - - *398 + - *400 responses: '204': description: Response @@ -59995,8 +60113,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *84 - - *398 - - &861 + - *400 + - &865 name: repo_name description: repo_name parameter in: path @@ -60024,7 +60142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *84 - - *398 + - *400 - *17 - *19 responses: @@ -60134,7 +60252,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &399 + items: &401 title: Organization Role description: Organization roles type: object @@ -60343,7 +60461,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -60573,7 +60691,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -60670,7 +60788,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -60829,7 +60947,7 @@ paths: parent: anyOf: - type: 'null' - - *400 + - *402 type: description: The ownership type of the team type: string @@ -60862,7 +60980,7 @@ paths: - type - parent examples: - default: *401 + default: *403 headers: Link: *42 '404': @@ -60921,7 +61039,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *400 + items: *402 name: type: - string @@ -61231,7 +61349,7 @@ paths: - nuget - container - *84 - - &862 + - &866 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -61267,12 +61385,12 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *403 + default: *405 '403': *27 '401': *23 - '400': &864 + '400': &868 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -61294,7 +61412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &404 + - &406 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -61312,7 +61430,7 @@ paths: - docker - nuget - container - - &405 + - &407 name: package_name description: The name of the package. in: path @@ -61325,7 +61443,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: default: value: @@ -61377,8 +61495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 responses: '204': @@ -61411,8 +61529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 - name: token description: package token @@ -61445,8 +61563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 - *19 - *17 @@ -61467,7 +61585,7 @@ paths: application/json: schema: type: array - items: &406 + items: &408 title: Package Version description: A version of a software package type: object @@ -61602,10 +61720,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 - - &407 + - &409 name: package_version_id description: Unique identifier of the package version. in: path @@ -61617,7 +61735,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -61653,10 +61771,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *404 - - *405 - - *84 + - *406 - *407 + - *84 + - *409 responses: '204': description: Response @@ -61688,10 +61806,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *404 - - *405 - - *84 + - *406 - *407 + - *84 + - *409 responses: '204': description: Response @@ -61721,7 +61839,7 @@ paths: - *84 - *17 - *19 - - &408 + - &410 name: sort description: The property by which to sort the results. in: query @@ -61732,7 +61850,7 @@ paths: - created_at default: created_at - *107 - - &409 + - &411 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -61744,7 +61862,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &410 + - &412 name: repository description: The name of the repository to use to filter the results. in: query @@ -61753,7 +61871,7 @@ paths: type: string examples: - Hello-World - - &411 + - &413 name: permission description: The permission to use to filter the results. in: query @@ -61762,7 +61880,7 @@ paths: type: string examples: - issues_read - - &412 + - &414 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -61772,7 +61890,7 @@ paths: schema: type: string format: date-time - - &413 + - &415 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -61782,7 +61900,7 @@ paths: schema: type: string format: date-time - - &414 + - &416 name: token_id description: The ID of the token in: query @@ -62101,7 +62219,7 @@ paths: type: array items: *280 examples: - default: &415 + default: &417 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -62238,14 +62356,14 @@ paths: - *84 - *17 - *19 - - *408 - - *107 - - *409 - *410 + - *107 - *411 - *412 - *413 - *414 + - *415 + - *416 responses: '500': *35 '422': *15 @@ -62529,7 +62647,7 @@ paths: type: array items: *280 examples: - default: *415 + default: *417 headers: Link: *42 x-github: @@ -62571,7 +62689,7 @@ paths: type: integer configurations: type: array - items: &416 + items: &418 title: Organization private registry description: Private registry configuration for an organization type: object @@ -63088,7 +63206,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &417 + org-private-registry-with-selected-visibility: &419 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -63186,9 +63304,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *416 + schema: *418 examples: - default: *417 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -63440,7 +63558,7 @@ paths: application/json: schema: type: array - items: &418 + items: &420 title: Projects v2 Project description: A projects v2 project type: object @@ -63514,7 +63632,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &952 + - &956 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -63599,7 +63717,7 @@ paths: - deleted_at - deleted_by examples: - default: &419 + default: &421 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -63702,7 +63820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &420 + - &422 name: project_number description: The project's number. in: path @@ -63715,9 +63833,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *42 '304': *32 @@ -63740,7 +63858,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *84 - - *420 + - *422 requestBody: required: true description: Details of the draft item to create in the project. @@ -63774,7 +63892,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &427 title: Projects v2 Item description: An item belonging to a project type: object @@ -63788,7 +63906,7 @@ paths: content: oneOf: - *221 - - &568 + - &573 title: Pull Request Simple description: Pull Request Simple type: object @@ -63908,7 +64026,7 @@ paths: milestone: anyOf: - type: 'null' - - *421 + - *423 active_lock_reason: type: - string @@ -63991,7 +64109,7 @@ paths: _links: type: object properties: - comments: &422 + comments: &424 title: Link description: Hypermedia Link type: object @@ -64000,13 +64118,13 @@ paths: type: string required: - href - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + commits: *424 + statuses: *424 + html: *424 + issue: *424 + review_comments: *424 + review_comment: *424 + self: *424 required: - comments - commits @@ -64017,7 +64135,7 @@ paths: - review_comment - self author_association: *218 - auto_merge: &738 + auto_merge: &742 title: Auto merge description: The status of auto merging a pull request. type: @@ -64043,7 +64161,7 @@ paths: - merge_method - commit_title - commit_message - stack: &739 + stack: &743 title: Pull Request Stack description: The stack information associated with a pull request. @@ -64157,7 +64275,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &424 + content_type: &426 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -64201,7 +64319,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &426 + draft_issue: &428 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -64275,7 +64393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *420 + - *422 - *84 - *17 - *105 @@ -64287,7 +64405,7 @@ paths: application/json: schema: type: array - items: &423 + items: &425 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -64440,7 +64558,7 @@ paths: - updated_at - project_url examples: - default: &885 + default: &889 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64570,7 +64688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *420 + - *422 - *84 requestBody: required: true @@ -64617,7 +64735,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &886 + items: &890 type: object properties: name: @@ -64654,7 +64772,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &887 + iteration_configuration: &891 type: object description: The configuration for iteration fields. required: @@ -64711,7 +64829,7 @@ paths: value: name: Due date data_type: date - single_select_field: &888 + single_select_field: &892 summary: Create a single select field value: name: Priority @@ -64738,7 +64856,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &889 + iteration_field: &893 summary: Create an iteration field value: name: Sprint @@ -64758,9 +64876,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *423 + schema: *425 examples: - text_field: &890 + text_field: &894 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -64769,7 +64887,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &891 + number_field: &895 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -64778,7 +64896,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &892 + date_field: &896 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -64787,7 +64905,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &893 + single_select_field: &897 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64821,7 +64939,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &894 + iteration_field: &898 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -64866,8 +64984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *420 - - &895 + - *422 + - &899 name: field_id description: The unique identifier of the field. in: path @@ -64880,9 +64998,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: - default: &896 + default: &900 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -64938,7 +65056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *420 + - *422 - *84 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -64971,7 +65089,7 @@ paths: application/json: schema: type: array - items: &427 + items: &429 title: Projects v2 Item description: An item belonging to a project type: object @@ -64988,7 +65106,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *424 + content_type: *426 content: type: - object @@ -65038,7 +65156,7 @@ paths: - updated_at - archived_at examples: - default: &428 + default: &430 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -65736,7 +65854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *84 - - *420 + - *422 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -65806,22 +65924,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *428 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *428 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *428 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *428 '304': *32 '403': *27 '401': *23 @@ -65841,9 +65959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *420 + - *422 - *84 - - &429 + - &431 name: item_id description: The unique identifier of the project item. in: path @@ -65869,9 +65987,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -65892,9 +66010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *420 + - *422 - *84 - - *429 + - *431 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -65967,13 +66085,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *430 + number_field: *430 + date_field: *430 + single_select_field: *430 + iteration_field: *430 '401': *23 '403': *27 '404': *6 @@ -65993,9 +66111,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *420 + - *422 - *84 - - *429 + - *431 responses: '204': description: Response @@ -66019,7 +66137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *84 - - *420 + - *422 requestBody: required: true content: @@ -66134,7 +66252,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &876 + schema: &880 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -66238,7 +66356,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &430 + value: &432 value: id: 1 number: 1 @@ -66284,10 +66402,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *430 + value: *432 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *432 '304': *32 '403': *27 '401': *23 @@ -66315,9 +66433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *420 + - *422 - *84 - - &897 + - &901 name: view_number description: The number that identifies the project view. in: path @@ -66349,9 +66467,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -66515,7 +66633,7 @@ paths: required: true content: application/json: - schema: *431 + schema: *433 examples: default: value: @@ -66883,7 +67001,7 @@ paths: type: array items: *280 examples: - default: *415 + default: *417 headers: Link: *42 x-github: @@ -67087,7 +67205,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &495 title: Full Repository description: Full Repository type: object @@ -67557,7 +67675,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &612 + code_of_conduct: &616 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -67587,7 +67705,7 @@ paths: - key - name - html_url - security_and_analysis: *432 + security_and_analysis: *434 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -67671,7 +67789,7 @@ paths: - network_count - subscribers_count examples: - default: &495 + default: &497 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -68197,9 +68315,9 @@ paths: application/json: schema: type: array - items: *433 + items: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68224,7 +68342,7 @@ paths: - *84 - *17 - *19 - - &763 + - &767 name: targets description: | A comma-separated list of rule targets to filter by. @@ -68316,11 +68434,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *166 - conditions: *435 + conditions: *437 rules: type: array description: An array of rules within the ruleset. - items: &437 + items: &439 title: Repository Rule type: object description: A repository rule. @@ -68385,7 +68503,7 @@ paths: application/json: schema: *188 examples: - default: &436 + default: &438 value: id: 21 name: super cool ruleset @@ -68441,7 +68559,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *84 - - &765 + - &769 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -68453,14 +68571,14 @@ paths: x-multi-segment: true - *310 - *102 - - &766 + - &770 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &767 + - &771 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -68473,7 +68591,7 @@ paths: - bypass - all default: all - - &768 + - &772 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -68496,7 +68614,7 @@ paths: description: Response content: application/json: - schema: &769 + schema: &773 title: Rule Suites description: Response type: array @@ -68552,7 +68670,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &770 + default: &774 value: - id: 21 actor_id: 12 @@ -68596,7 +68714,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *84 - - &771 + - &775 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -68612,7 +68730,7 @@ paths: description: Response content: application/json: - schema: &772 + schema: &776 title: Rule Suite description: Response type: object @@ -68719,7 +68837,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &773 + default: &777 value: id: 21 actor_id: 12 @@ -68794,7 +68912,7 @@ paths: application/json: schema: *188 examples: - default: *436 + default: *438 '404': *6 '500': *35 put: @@ -68843,11 +68961,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *166 - conditions: *435 + conditions: *437 rules: description: An array of rules within the ruleset. type: array - items: *437 + items: *439 examples: default: value: @@ -68884,7 +69002,7 @@ paths: application/json: schema: *188 examples: - default: *436 + default: *438 '404': *6 '422': *15 '500': *35 @@ -68944,7 +69062,7 @@ paths: type: array items: *192 examples: - default: *438 + default: *440 '404': *6 '500': *35 x-github: @@ -68981,7 +69099,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -69044,18 +69162,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *84 - - *440 - - *441 - *442 - *443 - *444 - *445 - *446 - *447 + - *448 + - *449 - *107 - *19 - *17 - - &775 + - &779 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -69065,7 +69183,7 @@ paths: required: false schema: type: string - - &776 + - &780 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -69075,13 +69193,13 @@ paths: required: false schema: type: string - - *448 - - *449 - *450 - *451 - *452 - *453 - *454 + - *455 + - *456 responses: '200': description: Response @@ -69089,9 +69207,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *456 + default: *458 headers: Link: *42 '404': *6 @@ -69121,9 +69239,9 @@ paths: subcategory: custom-patterns parameters: - *84 - - *457 - - *458 - *459 + - *460 + - *461 - *107 - *105 - *106 @@ -69136,7 +69254,7 @@ paths: type: array items: *194 examples: - default: *460 + default: *462 headers: Link: *42 '403': *27 @@ -69172,9 +69290,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *461 + items: *463 examples: - default: *462 + default: *464 responses: '201': description: All patterns created successfully. @@ -69188,7 +69306,7 @@ paths: description: The list of successfully created custom patterns. items: *194 examples: - default: *463 + default: *465 '400': *14 '403': *27 '404': *6 @@ -69212,7 +69330,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *464 + items: *466 delete: summary: Bulk delete organization custom patterns description: |- @@ -69245,7 +69363,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *465 + items: *467 post_delete_action: type: string description: |- @@ -69258,7 +69376,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *466 + default: *468 responses: '204': description: All patterns deleted successfully. @@ -69296,9 +69414,9 @@ paths: required: true content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 responses: '200': description: Pattern updated successfully. @@ -69306,7 +69424,7 @@ paths: application/json: schema: *194 examples: - default: *469 + default: *471 '400': *14 '403': *27 '404': *6 @@ -69337,9 +69455,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *471 + default: *473 '403': *27 '404': *6 patch: @@ -69492,7 +69610,7 @@ paths: application/json: schema: type: array - items: &797 + items: &801 description: A repository security advisory. type: object properties: @@ -69715,7 +69833,7 @@ paths: login: type: string description: The username of the user credited. - type: *472 + type: *474 credits_detailed: type: - array @@ -69726,7 +69844,7 @@ paths: type: object properties: user: *4 - type: *472 + type: *474 state: type: string description: The state of the user's acceptance of the @@ -69789,7 +69907,7 @@ paths: - private_fork additionalProperties: false examples: - default: &798 + default: &802 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -70176,7 +70294,7 @@ paths: application/json: schema: type: array - items: *400 + items: *402 examples: default: value: @@ -70275,7 +70393,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *84 - - *473 + - *475 - *17 - *19 responses: @@ -70283,9 +70401,9 @@ paths: description: Success content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -70568,7 +70686,7 @@ paths: type: array items: *146 examples: - default: *476 + default: *478 headers: Link: *42 x-github: @@ -70797,15 +70915,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *84 - - *477 + - *479 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 headers: Link: *42 x-github: @@ -70843,7 +70961,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &492 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -70895,7 +71013,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &491 + default: &493 value: groups: - group_id: '123' @@ -70952,7 +71070,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 headers: Link: *42 '403': *27 @@ -71042,7 +71160,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &482 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -71116,7 +71234,7 @@ paths: parent: anyOf: - type: 'null' - - *400 + - *402 members_count: type: integer examples: @@ -71449,7 +71567,7 @@ paths: - repos_count - organization examples: - default: &481 + default: &483 value: id: 1 node_id: MDQ6VGVhbTE= @@ -71526,9 +71644,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 x-github: githubCloudOnly: false @@ -71619,16 +71737,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '201': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 '422': *15 '403': *27 @@ -71658,7 +71776,7 @@ paths: responses: '204': description: Response - '422': &484 + '422': &486 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -71687,10 +71805,10 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *483 - '422': *484 + default: *485 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -71734,10 +71852,10 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 - '422': *484 + default: *488 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71761,7 +71879,7 @@ paths: responses: '204': description: Response - '422': *484 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -71793,12 +71911,12 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 headers: Link: *42 - '422': *484 + '422': *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71845,7 +71963,7 @@ paths: application/json: schema: type: array - items: &841 + items: &845 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -71988,7 +72106,7 @@ paths: - type - url examples: - default: &842 + default: &846 value: - login: octocat id: 1 @@ -72047,7 +72165,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &489 title: Team Membership description: Team Membership type: object @@ -72075,7 +72193,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &843 + response-if-user-is-a-team-maintainer: &847 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -72138,9 +72256,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - response-if-users-membership-with-team-is-now-pending: &844 + response-if-users-membership-with-team-is-now-pending: &848 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -72218,7 +72336,7 @@ paths: type: array items: *280 examples: - default: *415 + default: *417 headers: Link: *42 x-github: @@ -72249,14 +72367,14 @@ paths: parameters: - *84 - *214 - - *488 - - *489 + - *490 + - *491 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &845 + schema: &849 title: Team Repository description: A team's access to a repository. type: object @@ -72891,8 +73009,8 @@ paths: parameters: - *84 - *214 - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -72939,8 +73057,8 @@ paths: parameters: - *84 - *214 - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -72973,10 +73091,10 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 - '422': *484 + default: *493 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -73042,7 +73160,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: default: value: @@ -73054,7 +73172,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *484 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -73088,7 +73206,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: &846 + response-if-child-teams-exist: &850 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -73241,7 +73359,7 @@ paths: resources: type: object properties: - core: &492 + core: &494 title: Rate Limit type: object properties: @@ -73258,17 +73376,17 @@ paths: - remaining - reset - used - graphql: *492 - search: *492 - code_search: *492 - source_import: *492 - integration_manifest: *492 - actions_runner_registration: *492 - scim: *492 - dependency_snapshots: *492 - dependency_sbom: *492 - code_scanning_autofix: *492 - copilot_usage_records: *492 + graphql: *494 + search: *494 + code_search: *494 + source_import: *494 + integration_manifest: *494 + actions_runner_registration: *494 + scim: *494 + dependency_snapshots: *494 + dependency_sbom: *494 + code_scanning_autofix: *494 + copilot_usage_records: *494 required: - core - search @@ -73365,14 +73483,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: default-response: summary: Default response @@ -73880,7 +73998,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *494 + '301': *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73898,8 +74016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -74220,10 +74338,10 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 - '307': &496 + default: *497 + '307': &498 description: Temporary Redirect content: application/json: @@ -74252,8 +74370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -74275,7 +74393,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *496 + '307': *498 '404': *6 '409': *116 x-github: @@ -74299,11 +74417,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - - &512 + - &514 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -74326,7 +74444,7 @@ paths: type: integer artifacts: type: array - items: &497 + items: &499 title: Artifact description: An artifact type: object @@ -74421,7 +74539,7 @@ paths: - expires_at - updated_at examples: - default: &513 + default: &515 value: total_count: 2 artifacts: @@ -74482,9 +74600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *488 - - *489 - - &498 + - *490 + - *491 + - &500 name: artifact_id description: The unique identifier of the artifact. in: path @@ -74496,7 +74614,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -74534,9 +74652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *488 - - *489 - - *498 + - *490 + - *491 + - *500 responses: '204': description: Response @@ -74560,9 +74678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *488 - - *489 - - *498 + - *490 + - *491 + - *500 - name: archive_format in: path required: true @@ -74572,7 +74690,7 @@ paths: '302': description: Response headers: - Location: &629 + Location: &633 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string @@ -74597,14 +74715,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &499 + schema: &501 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -74638,13 +74756,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *499 + schema: *501 examples: selected_actions: *39 responses: @@ -74673,14 +74791,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &500 + schema: &502 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -74714,13 +74832,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *500 + schema: *502 examples: selected_actions: *41 responses: @@ -74751,14 +74869,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -74784,11 +74902,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - - &502 + - &504 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -74822,7 +74940,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &505 title: Repository actions caches description: Repository actions caches type: object @@ -74872,7 +74990,7 @@ paths: - total_count - actions_caches examples: - default: &504 + default: &506 value: total_count: 1 actions_caches: @@ -74904,23 +75022,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *488 - - *489 + - *490 + - *491 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *502 + - *504 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74940,8 +75058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *488 - - *489 + - *490 + - *491 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -74970,8 +75088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *106 responses: @@ -75054,8 +75172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -75211,9 +75329,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *488 - - *489 - - &505 + - *490 + - *491 + - &507 name: job_id description: The unique identifier of the job. in: path @@ -75226,7 +75344,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &518 title: Job description: Information of a job execution in a workflow run type: object @@ -75575,9 +75693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *488 - - *489 - - *505 + - *490 + - *491 + - *507 responses: '302': description: Response @@ -75605,9 +75723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *488 - - *489 - - *505 + - *490 + - *491 + - *507 requestBody: required: false content: @@ -75658,8 +75776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Status response @@ -75718,8 +75836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -75787,8 +75905,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -75806,7 +75924,7 @@ paths: type: integer secrets: type: array - items: &518 + items: &520 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -75827,7 +75945,7 @@ paths: - created_at - updated_at examples: - default: &519 + default: &521 value: total_count: 2 secrets: @@ -75860,8 +75978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -75879,7 +75997,7 @@ paths: type: integer variables: type: array - items: &520 + items: &522 title: Actions Variable type: object properties: @@ -75913,7 +76031,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &523 value: total_count: 2 variables: @@ -75946,8 +76064,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -75956,7 +76074,7 @@ paths: schema: type: object properties: - enabled: &506 + enabled: &508 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *57 @@ -75991,8 +76109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -76003,7 +76121,7 @@ paths: schema: type: object properties: - enabled: *506 + enabled: *508 allowed_actions: *57 sha_pinning_required: *58 required: @@ -76036,14 +76154,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &507 + schema: &509 type: object properties: access_level: @@ -76061,7 +76179,7 @@ paths: required: - access_level examples: - default: &508 + default: &510 value: access_level: organization x-github: @@ -76086,15 +76204,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 responses: '204': description: Response @@ -76118,8 +76236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76149,8 +76267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Empty response for successful settings update @@ -76184,8 +76302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76212,8 +76330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -76247,8 +76365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76276,8 +76394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -76308,8 +76426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76340,8 +76458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -76373,8 +76491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76403,8 +76521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Success response @@ -76444,8 +76562,8 @@ paths: in: query schema: type: string - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -76490,8 +76608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: version description: The runner version to look up. in: path @@ -76558,8 +76676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -76591,8 +76709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -76666,8 +76784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -76703,8 +76821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -76734,8 +76852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '200': @@ -76765,8 +76883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '204': @@ -76793,8 +76911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '200': *78 @@ -76819,8 +76937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 requestBody: required: true @@ -76869,8 +76987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 requestBody: required: true @@ -76920,8 +77038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '200': *287 @@ -76951,8 +77069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 - *288 responses: @@ -76982,9 +77100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *488 - - *489 - - &524 + - *490 + - *491 + - &526 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -76992,7 +77110,7 @@ paths: required: false schema: type: string - - &525 + - &527 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -77000,7 +77118,7 @@ paths: required: false schema: type: string - - &526 + - &528 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -77009,7 +77127,7 @@ paths: required: false schema: type: string - - &527 + - &529 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -77036,7 +77154,7 @@ paths: - pending - *17 - *19 - - &528 + - &530 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -77045,7 +77163,7 @@ paths: schema: type: string format: date-time - - &509 + - &511 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -77054,14 +77172,14 @@ paths: schema: type: boolean default: false - - &529 + - &531 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &530 + - &532 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -77084,7 +77202,7 @@ paths: type: integer workflow_runs: type: array - items: &510 + items: &512 title: Workflow Run description: An invocation of a workflow type: object @@ -77264,7 +77382,7 @@ paths: head_commit: anyOf: - type: 'null' - - &554 + - &556 title: Simple Commit description: A commit. type: object @@ -77379,7 +77497,7 @@ paths: - workflow_url - pull_requests examples: - default: &531 + default: &533 value: total_count: 1 workflow_runs: @@ -77615,24 +77733,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *488 - - *489 - - &511 + - *490 + - *491 + - &513 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *509 + - *511 responses: '200': description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: &514 + default: &516 value: id: 30433642 name: Build @@ -77873,9 +77991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '204': description: Response @@ -77898,9 +78016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '200': description: Response @@ -78028,9 +78146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '201': description: Response @@ -78063,12 +78181,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 - *17 - *19 - - *512 + - *514 - *107 responses: '200': @@ -78085,9 +78203,9 @@ paths: type: integer artifacts: type: array - items: *497 + items: *499 examples: - default: *513 + default: *515 headers: Link: *42 x-github: @@ -78111,25 +78229,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *488 - - *489 - - *511 - - &515 + - *490 + - *491 + - *513 + - &517 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *509 + - *511 responses: '200': description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *514 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78152,10 +78270,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *488 - - *489 - - *511 - - *515 + - *490 + - *491 + - *513 + - *517 - *17 - *19 responses: @@ -78173,9 +78291,9 @@ paths: type: integer jobs: type: array - items: *516 + items: *518 examples: - default: &517 + default: &519 value: total_count: 1 jobs: @@ -78288,10 +78406,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *488 - - *489 - - *511 - - *515 + - *490 + - *491 + - *513 + - *517 responses: '302': description: Response @@ -78319,9 +78437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '202': description: Response @@ -78367,9 +78485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 - *17 - *105 - *106 @@ -78546,9 +78664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: true content: @@ -78615,9 +78733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '202': description: Response @@ -78650,9 +78768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -78682,9 +78800,9 @@ paths: type: integer jobs: type: array - items: *516 + items: *518 examples: - default: *517 + default: *519 headers: Link: *42 x-github: @@ -78709,9 +78827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '302': description: Response @@ -78738,9 +78856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '204': description: Response @@ -78767,9 +78885,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '200': description: Response @@ -78838,7 +78956,7 @@ paths: items: type: object properties: - type: &644 + type: &648 type: string description: The type of reviewer. enum: @@ -78924,9 +79042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: true content: @@ -78976,7 +79094,7 @@ paths: application/json: schema: type: array - items: &631 + items: &635 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -79088,7 +79206,7 @@ paths: - created_at - updated_at examples: - default: &632 + default: &636 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -79144,9 +79262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: false content: @@ -79191,9 +79309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: false content: @@ -79248,9 +79366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '200': description: Response @@ -79387,8 +79505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -79406,9 +79524,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -79433,8 +79551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -79464,17 +79582,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: &532 + default: &534 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -79500,8 +79618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -79559,8 +79677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -79586,8 +79704,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -79605,9 +79723,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -79630,8 +79748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -79683,17 +79801,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: &533 + default: &535 value: name: USERNAME value: octocat @@ -79719,8 +79837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 requestBody: required: true @@ -79763,8 +79881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '204': @@ -79790,8 +79908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -79809,7 +79927,7 @@ paths: type: integer workflows: type: array - items: &522 + items: &524 title: Workflow description: A GitHub Actions workflow type: object @@ -79927,9 +80045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *488 - - *489 - - &523 + - *490 + - *491 + - &525 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -79944,7 +80062,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -79977,9 +80095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '204': description: Response @@ -80004,9 +80122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '200': description: Response including the workflow run ID and URLs. @@ -80086,9 +80204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '204': description: Response @@ -80115,19 +80233,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *488 - - *489 - - *523 - - *524 + - *490 + - *491 - *525 - *526 - *527 - - *17 - - *19 - *528 - - *509 - *529 + - *17 + - *19 - *530 + - *511 + - *531 + - *532 responses: '200': description: Response @@ -80143,9 +80261,9 @@ paths: type: integer workflow_runs: type: array - items: *510 + items: *512 examples: - default: *531 + default: *533 headers: Link: *42 x-github: @@ -80178,9 +80296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '200': description: Response @@ -80241,8 +80359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *488 - - *489 + - *490 + - *491 - *107 - *17 - *105 @@ -80415,8 +80533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -80434,9 +80552,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -80460,8 +80578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -80479,9 +80597,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -80506,8 +80624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -80525,9 +80643,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -80552,8 +80670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -80583,17 +80701,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *532 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80615,8 +80733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -80674,8 +80792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -80701,8 +80819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -80720,9 +80838,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -80745,8 +80863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -80798,17 +80916,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80829,8 +80947,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 requestBody: required: true @@ -80873,8 +80991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '204': @@ -80896,8 +81014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -80934,8 +81052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *488 - - *489 + - *490 + - *491 - name: assignee in: path required: true @@ -80971,8 +81089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -81082,8 +81200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *105 - *106 @@ -81124,7 +81242,7 @@ paths: initiator: type: string examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81144,8 +81262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -81153,7 +81271,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Autolink reference description: An autolink reference. type: object @@ -81212,8 +81330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -81252,9 +81370,9 @@ paths: description: response content: application/json: - schema: *535 + schema: *537 examples: - default: &536 + default: &538 value: id: 1 key_prefix: TICKET- @@ -81285,9 +81403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *488 - - *489 - - &537 + - *490 + - *491 + - &539 name: autolink_id description: The unique identifier of the autolink. in: path @@ -81299,9 +81417,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -81321,9 +81439,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *488 - - *489 - - *537 + - *490 + - *491 + - *539 responses: '204': description: Response @@ -81347,8 +81465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response if Dependabot is enabled @@ -81398,8 +81516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -81420,8 +81538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -81441,8 +81559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *488 - - *489 + - *490 + - *491 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -81480,7 +81598,7 @@ paths: - url protected: type: boolean - protection: &539 + protection: &541 title: Branch Protection description: Branch Protection type: object @@ -81523,7 +81641,7 @@ paths: required: - contexts - checks - enforce_admins: &542 + enforce_admins: &544 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -81540,7 +81658,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &544 + required_pull_request_reviews: &546 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -81624,7 +81742,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &541 + restrictions: &543 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -81917,9 +82035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *488 - - *489 - - &540 + - *490 + - *491 + - &542 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -81933,14 +82051,14 @@ paths: description: Response content: application/json: - schema: &550 + schema: &552 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &604 + commit: &608 title: Commit description: Commit type: object @@ -81979,7 +82097,7 @@ paths: author: anyOf: - type: 'null' - - &538 + - &540 title: Git User description: Metaproperties for Git author/committer information. @@ -82001,7 +82119,7 @@ paths: committer: anyOf: - type: 'null' - - *538 + - *540 message: type: string examples: @@ -82025,7 +82143,7 @@ paths: required: - sha - url - verification: &662 + verification: &666 title: Verification type: object properties: @@ -82105,7 +82223,7 @@ paths: type: integer files: type: array - items: &614 + items: &618 title: Diff Entry description: Diff Entry type: object @@ -82201,7 +82319,7 @@ paths: - self protected: type: boolean - protection: *539 + protection: *541 protection_url: type: string format: uri @@ -82310,7 +82428,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *494 + '301': *496 '404': *6 x-github: githubCloudOnly: false @@ -82332,15 +82450,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -82534,9 +82652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -82796,7 +82914,7 @@ paths: url: type: string format: uri - required_status_checks: &547 + required_status_checks: &549 title: Status Check Policy description: Status Check Policy type: object @@ -82955,7 +83073,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *541 + restrictions: *543 required_conversation_resolution: type: object properties: @@ -83067,9 +83185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -83094,17 +83212,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: &543 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -83126,17 +83244,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *543 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83155,9 +83273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -83182,17 +83300,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: &545 + default: &547 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -83288,9 +83406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -83388,9 +83506,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: *545 + default: *547 '422': *15 x-github: githubCloudOnly: false @@ -83411,9 +83529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -83440,17 +83558,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: &546 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -83473,17 +83591,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *546 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -83503,9 +83621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -83530,17 +83648,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: &548 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -83566,9 +83684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -83620,9 +83738,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: *548 + default: *550 '404': *6 '422': *15 x-github: @@ -83644,9 +83762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -83670,9 +83788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -83706,9 +83824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -83775,9 +83893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -83841,9 +83959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: content: application/json: @@ -83909,15 +84027,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *541 + schema: *543 examples: default: value: @@ -84008,9 +84126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -84033,9 +84151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -84045,7 +84163,7 @@ paths: type: array items: *5 examples: - default: &549 + default: &551 value: - id: 1 slug: octoapp @@ -84102,9 +84220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84138,7 +84256,7 @@ paths: type: array items: *5 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -84159,9 +84277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84195,7 +84313,7 @@ paths: type: array items: *5 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -84216,9 +84334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84252,7 +84370,7 @@ paths: type: array items: *5 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -84274,9 +84392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -84286,7 +84404,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '404': *6 x-github: githubCloudOnly: false @@ -84306,9 +84424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84346,7 +84464,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -84367,9 +84485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84407,7 +84525,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -84428,9 +84546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: content: application/json: @@ -84467,7 +84585,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -84489,9 +84607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -84525,9 +84643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84585,9 +84703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84645,9 +84763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84707,9 +84825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -84731,7 +84849,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -84845,8 +84963,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *488 - - *489 + - *490 + - *491 - *100 - *101 - *102 @@ -84882,8 +85000,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_request_number in: path required: true @@ -84956,8 +85074,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - *100 - *101 - *102 @@ -84997,8 +85115,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_request_number in: path required: true @@ -85068,8 +85186,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_request_number in: path required: true @@ -85140,8 +85258,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_response_id in: path required: true @@ -85174,8 +85292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -85454,7 +85572,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &553 title: CheckRun description: A check performed on the code of a given code change type: object @@ -85590,7 +85708,7 @@ paths: check. type: array items: *224 - deployment: &908 + deployment: &912 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -85877,9 +85995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *488 - - *489 - - &552 + - *490 + - *491 + - &554 name: check_run_id description: The unique identifier of the check run. in: path @@ -85892,9 +86010,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: &553 + default: &555 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -85994,9 +86112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *488 - - *489 - - *552 + - *490 + - *491 + - *554 requestBody: required: true content: @@ -86236,9 +86354,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86258,9 +86376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *488 - - *489 - - *552 + - *490 + - *491 + - *554 - *17 - *19 responses: @@ -86370,9 +86488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *488 - - *489 - - *552 + - *490 + - *491 + - *554 responses: '201': description: Response @@ -86416,8 +86534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -86439,7 +86557,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &555 + schema: &557 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -86537,7 +86655,7 @@ paths: - string - 'null' format: date-time - head_commit: *554 + head_commit: *556 latest_check_runs_count: type: integer check_runs_url: @@ -86565,7 +86683,7 @@ paths: - check_runs_url - pull_requests examples: - default: &556 + default: &558 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -86856,9 +86974,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86877,8 +86995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -87187,9 +87305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *488 - - *489 - - &557 + - *490 + - *491 + - &559 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -87201,9 +87319,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87226,17 +87344,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *488 - - *489 - - *557 - - &609 + - *490 + - *491 + - *559 + - &613 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &610 + - &614 name: status description: Returns check runs with the specified `status`. in: query @@ -87275,9 +87393,9 @@ paths: type: integer check_runs: type: array - items: *551 + items: *553 examples: - default: &611 + default: &615 value: total_count: 1 check_runs: @@ -87379,9 +87497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *488 - - *489 - - *557 + - *490 + - *491 + - *559 responses: '201': description: Response @@ -87410,8 +87528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *107 - *105 @@ -87433,7 +87551,7 @@ paths: application/json: schema: type: array - items: &558 + items: &560 description: Code quality finding type: object properties: @@ -87563,7 +87681,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &559 + '403': &561 description: Response if the user is not authorized to access Code quality for this repository. content: @@ -87590,8 +87708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *488 - - *489 + - *490 + - *491 - name: finding_number in: path description: The number that identifies a finding. @@ -87603,7 +87721,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default: value: @@ -87632,7 +87750,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *559 + '403': *561 '404': *6 '503': *193 x-github: @@ -87654,8 +87772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -87737,7 +87855,7 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *559 + '403': *561 '404': *6 '503': *193 x-github: @@ -87758,8 +87876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -87879,6 +87997,122 @@ paths: enabledForGitHubApps: true category: code-quality subcategory: code-quality + "/repos/{owner}/{repo}/code-scanning/ai-scan": + get: + summary: Get AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository + parameters: + - *490 + - *491 + responses: + '200': + description: Response + content: + application/json: + schema: &562 + description: AI Scan enablement for a repository. + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the repository. + type: string + enum: + - enabled + - disabled + required: + - pr_scan + examples: + default: &563 + value: + pr_scan: enabled + '403': &572 + description: Response if GitHub Advanced Security is not enabled for this + repository + content: + application/json: + schema: *3 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning + patch: + summary: Update AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository + parameters: + - *490 + - *491 + requestBody: + required: true + content: + application/json: + schema: + description: AI Scan enablement update for a repository. + type: object + properties: + pr_scan: + description: Whether to enable or disable AI Scan for the repository. + type: string + enum: + - enabled + - disabled + minProperties: 1 + additionalProperties: false + examples: + enabled: + summary: Enable AI Scan + value: + pr_scan: enabled + disabled: + summary: Disable AI Scan + value: + pr_scan: disabled + responses: + '200': + description: Response + content: + application/json: + schema: *562 + examples: + default: *563 + '403': &576 + description: Response if the repository is archived or if GitHub Advanced + Security is not enabled for this repository + content: + application/json: + schema: *3 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning "/repos/{owner}/{repo}/code-scanning/alerts": get: summary: List code scanning alerts for a repository @@ -87897,21 +88131,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *488 - - *489 - - *317 - - *318 + - *490 + - *491 + - *319 + - *320 - *19 - *17 - - &576 + - &580 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *560 - - &577 + schema: *564 + - &581 name: pr description: The number of the pull request for the results you want to list. in: query @@ -87936,13 +88170,13 @@ paths: be returned. in: query required: false - schema: *319 + schema: *321 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *561 + schema: *565 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -87966,7 +88200,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *562 + instances_url: *566 state: *110 fixed_at: *138 dismissed_by: @@ -87974,11 +88208,11 @@ paths: - type: 'null' - *4 dismissed_at: *137 - dismissed_reason: *563 - dismissed_comment: *564 - rule: *565 - tool: *566 - most_recent_instance: *567 + dismissed_reason: *567 + dismissed_comment: *568 + rule: *569 + tool: *570 + most_recent_instance: *571 dismissal_approved_by: anyOf: - type: 'null' @@ -88101,12 +88335,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *32 - '403': &569 - description: Response if GitHub Advanced Security is not enabled for this - repository - content: - application/json: - schema: *3 + '403': *572 '404': *6 '503': *193 x-github: @@ -88128,9 +88357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *488 - - *489 - - &570 + - *490 + - *491 + - &574 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -88144,7 +88373,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &575 type: object properties: number: *128 @@ -88152,7 +88381,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *562 + instances_url: *566 state: *110 fixed_at: *138 dismissed_by: @@ -88160,8 +88389,8 @@ paths: - type: 'null' - *4 dismissed_at: *137 - dismissed_reason: *563 - dismissed_comment: *564 + dismissed_reason: *567 + dismissed_comment: *568 rule: type: object properties: @@ -88223,8 +88452,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *566 - most_recent_instance: *567 + tool: *570 + most_recent_instance: *571 dismissal_approved_by: anyOf: - type: 'null' @@ -88235,7 +88464,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *568 + items: *573 required: - number - created_at @@ -88324,7 +88553,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *32 - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -88344,9 +88573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 requestBody: required: true content: @@ -88361,8 +88590,8 @@ paths: enum: - open - dismissed - dismissed_reason: *563 - dismissed_comment: *564 + dismissed_reason: *567 + dismissed_comment: *568 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -88390,7 +88619,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *575 examples: default: value: @@ -88466,12 +88695,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &575 - description: Response if the repository is archived or if GitHub Advanced - Security is not enabled for this repository - content: - application/json: - schema: *3 + '403': *576 '404': *6 '503': *193 x-github: @@ -88493,15 +88717,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 responses: '200': description: Response content: application/json: - schema: &572 + schema: &577 type: object properties: status: @@ -88528,13 +88752,13 @@ paths: - description - started_at examples: - default: &573 + default: &578 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &574 + '400': &579 description: Bad Request content: application/json: @@ -88545,7 +88769,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *569 + '403': *572 '404': *6 '500': *35 x-github: @@ -88570,29 +88794,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 responses: '200': description: OK content: application/json: - schema: *572 + schema: *577 examples: - default: *573 + default: *578 '202': description: Accepted content: application/json: - schema: *572 + schema: *577 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *574 + '400': *579 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -88624,9 +88848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 requestBody: required: false content: @@ -88672,8 +88896,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *574 - '403': *575 + '400': *579 + '403': *576 '404': *6 '422': description: Unprocessable Entity @@ -88697,13 +88921,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 - *19 - *17 - - *576 - - *577 + - *580 + - *581 responses: '200': description: Response @@ -88714,10 +88938,10 @@ paths: items: type: object properties: - ref: *560 - analysis_key: *578 - environment: *579 - category: *580 + ref: *564 + analysis_key: *582 + environment: *583 + category: *584 state: type: - string @@ -88734,7 +88958,7 @@ paths: properties: text: type: string - location: *581 + location: *585 html_url: type: string classifications: @@ -88742,7 +88966,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *582 + items: *586 examples: default: value: @@ -88779,7 +89003,7 @@ paths: end_column: 50 classifications: - source - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -88813,25 +89037,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *488 - - *489 - - *317 - - *318 + - *490 + - *491 + - *319 + - *320 - *19 - *17 - - *577 + - *581 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *560 + schema: *564 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &583 + schema: &587 type: string description: An identifier for the upload. examples: @@ -88853,23 +89077,23 @@ paths: application/json: schema: type: array - items: &584 + items: &588 type: object properties: - ref: *560 - commit_sha: &592 + ref: *564 + commit_sha: &596 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *578 + analysis_key: *582 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *580 + category: *584 error: type: string examples: @@ -88894,8 +89118,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *583 - tool: *566 + sarif_id: *587 + tool: *570 deletable: type: boolean warning: @@ -88957,7 +89181,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -88993,8 +89217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -89007,7 +89231,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: response: summary: application/json response @@ -89061,7 +89285,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *569 + '403': *572 '404': *6 '422': description: Response if analysis could not be processed @@ -89148,8 +89372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -89205,7 +89429,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *575 + '403': *576 '404': *6 '503': *193 x-github: @@ -89227,8 +89451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -89236,7 +89460,7 @@ paths: application/json: schema: type: array - items: &585 + items: &589 title: CodeQL Database description: A CodeQL database. type: object @@ -89348,7 +89572,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -89377,8 +89601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: language in: path description: The language of the CodeQL database. @@ -89390,7 +89614,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *589 examples: default: value: @@ -89422,9 +89646,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &618 + '302': &622 description: Found - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -89446,8 +89670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *488 - - *489 + - *490 + - *491 - name: language in: path description: The language of the CodeQL database. @@ -89457,7 +89681,7 @@ paths: responses: '204': description: Response - '403': *575 + '403': *576 '404': *6 '503': *193 x-github: @@ -89485,8 +89709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -89495,7 +89719,7 @@ paths: type: object additionalProperties: false properties: - language: &586 + language: &590 type: string description: The language targeted by the CodeQL query enum: @@ -89575,7 +89799,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &590 + schema: &594 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -89585,7 +89809,7 @@ paths: description: The ID of the variant analysis. controller_repo: *117 actor: *4 - query_language: *586 + query_language: *590 query_pack_url: type: string description: The download url for the query pack. @@ -89633,7 +89857,7 @@ paths: items: type: object properties: - repository: &587 + repository: &591 title: Repository Identifier description: Repository Identifier type: object @@ -89675,7 +89899,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &591 + analysis_status: &595 type: string description: The new status of the CodeQL variant analysis repository task. @@ -89707,7 +89931,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &588 + access_mismatch_repos: &592 type: object properties: repository_count: @@ -89722,7 +89946,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *587 + items: *591 required: - repository_count - repositories @@ -89745,8 +89969,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *588 - over_limit_repos: *588 + no_codeql_db_repos: *592 + over_limit_repos: *592 required: - access_mismatch_repos - not_found_repos @@ -89762,7 +89986,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &589 + value: &593 summary: Default response value: id: 1 @@ -89908,10 +90132,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *589 + value: *593 repository_lists: summary: Response for a successful variant analysis submission - value: *589 + value: *593 '404': *6 '422': description: Unable to process variant analysis submission @@ -89939,8 +90163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *488 - - *489 + - *490 + - *491 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -89952,9 +90176,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *594 examples: - default: *589 + default: *593 '404': *6 '503': *193 x-github: @@ -89977,7 +90201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *488 + - *490 - name: repo in: path description: The name of the controller repository. @@ -90012,7 +90236,7 @@ paths: type: object properties: repository: *117 - analysis_status: *591 + analysis_status: *595 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -90137,8 +90361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -90229,7 +90453,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -90250,8 +90474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -90345,7 +90569,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *575 + '403': *576 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -90416,8 +90640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -90425,7 +90649,7 @@ paths: schema: type: object properties: - commit_sha: *592 + commit_sha: *596 ref: type: string description: |- @@ -90485,7 +90709,7 @@ paths: schema: type: object properties: - id: *583 + id: *587 url: type: string description: The REST API URL for checking the status of the upload. @@ -90499,7 +90723,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *575 + '403': *576 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -90522,8 +90746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *488 - - *489 + - *490 + - *491 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -90571,7 +90795,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *569 + '403': *572 '404': description: Not Found if the sarif id does not match any upload '503': *193 @@ -90596,8 +90820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -90678,8 +90902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -90807,8 +91031,8 @@ paths: parameters: - *17 - *19 - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -90824,7 +91048,7 @@ paths: type: integer codespaces: type: array - items: *392 + items: *394 examples: default: value: @@ -91122,8 +91346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -91187,17 +91411,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '400': *14 '401': *23 '403': *27 @@ -91226,8 +91450,8 @@ paths: parameters: - *17 - *19 - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -91291,8 +91515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -91329,9 +91553,9 @@ paths: type: integer machines: type: array - items: *594 + items: *598 examples: - default: &851 + default: &855 value: total_count: 2 machines: @@ -91371,8 +91595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -91459,8 +91683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -91529,8 +91753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -91548,7 +91772,7 @@ paths: type: integer secrets: type: array - items: &598 + items: &602 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -91569,7 +91793,7 @@ paths: - created_at - updated_at examples: - default: *595 + default: *599 headers: Link: *42 x-github: @@ -91592,16 +91816,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: *597 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91621,17 +91845,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: *599 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,8 +91875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -91705,8 +91929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -91735,8 +91959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *488 - - *489 + - *490 + - *491 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -91774,7 +91998,7 @@ paths: application/json: schema: type: array - items: &600 + items: &604 title: Collaborator description: Collaborator type: object @@ -91967,8 +92191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *488 - - *489 + - *490 + - *491 - *127 responses: '204': @@ -92015,8 +92239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *488 - - *489 + - *490 + - *491 - *127 requestBody: required: false @@ -92043,7 +92267,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &675 + schema: &679 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92271,8 +92495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *488 - - *489 + - *490 + - *491 - *127 responses: '204': @@ -92304,8 +92528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *488 - - *489 + - *490 + - *491 - *127 responses: '200': @@ -92326,7 +92550,7 @@ paths: user: anyOf: - type: 'null' - - *600 + - *604 required: - permission - role_name @@ -92380,8 +92604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -92391,7 +92615,7 @@ paths: application/json: schema: type: array - items: &601 + items: &605 title: Commit Comment description: Commit Comment type: object @@ -92449,7 +92673,7 @@ paths: - created_at - updated_at examples: - default: &606 + default: &610 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -92508,17 +92732,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': description: Response content: application/json: - schema: *601 + schema: *605 examples: - default: &607 + default: &611 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -92575,8 +92799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -92599,7 +92823,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *605 examples: default: value: @@ -92650,8 +92874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -92673,8 +92897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -92701,7 +92925,7 @@ paths: application/json: schema: type: array - items: &602 + items: &606 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -92745,7 +92969,7 @@ paths: - content - created_at examples: - default: &678 + default: &682 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -92790,8 +93014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -92824,9 +93048,9 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: &603 + default: &607 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -92855,9 +93079,9 @@ paths: description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -92879,10 +93103,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *488 - - *489 + - *490 + - *491 - *235 - - &679 + - &683 name: reaction_id description: The unique identifier of the reaction. in: path @@ -92937,8 +93161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *488 - - *489 + - *490 + - *491 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -92994,9 +93218,9 @@ paths: application/json: schema: type: array - items: *604 + items: *608 examples: - default: &746 + default: &750 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -93090,9 +93314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *488 - - *489 - - &605 + - *490 + - *491 + - &609 name: commit_sha description: The SHA of the commit. in: path @@ -93164,9 +93388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 - *17 - *19 responses: @@ -93176,9 +93400,9 @@ paths: application/json: schema: type: array - items: *601 + items: *605 examples: - default: *606 + default: *610 headers: Link: *42 x-github: @@ -93208,9 +93432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 requestBody: required: true content: @@ -93245,9 +93469,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *605 examples: - default: *607 + default: *611 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93275,9 +93499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 - *17 - *19 responses: @@ -93287,9 +93511,9 @@ paths: application/json: schema: type: array - items: *568 + items: *573 examples: - default: &737 + default: &741 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -93826,11 +94050,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *488 - - *489 + - *490 + - *491 - *19 - *17 - - &608 + - &612 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -93845,9 +94069,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *608 examples: - default: &723 + default: &727 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -93935,7 +94159,7 @@ paths: schema: type: string examples: - default: &615 + default: &619 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -93948,7 +94172,7 @@ paths: schema: type: string examples: - default: &616 + default: &620 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -94001,11 +94225,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *488 - - *489 - - *608 - - *609 - - *610 + - *490 + - *491 + - *612 + - *613 + - *614 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -94039,9 +94263,9 @@ paths: type: integer check_runs: type: array - items: *551 + items: *553 examples: - default: *611 + default: *615 headers: Link: *42 x-github: @@ -94066,9 +94290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *488 - - *489 - - *608 + - *490 + - *491 + - *612 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -94076,7 +94300,7 @@ paths: schema: type: integer example: 1 - - *609 + - *613 - *17 - *19 responses: @@ -94094,7 +94318,7 @@ paths: type: integer check_suites: type: array - items: *555 + items: *557 examples: default: value: @@ -94294,9 +94518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *488 - - *489 - - *608 + - *490 + - *491 + - *612 - *17 - *19 responses: @@ -94498,9 +94722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *488 - - *489 - - *608 + - *490 + - *491 + - *612 - *17 - *19 responses: @@ -94510,7 +94734,7 @@ paths: application/json: schema: type: array - items: &804 + items: &808 title: Status description: The status of a commit. type: object @@ -94591,7 +94815,7 @@ paths: site_admin: false headers: Link: *42 - '301': *494 + '301': *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94619,8 +94843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -94653,11 +94877,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *612 + - *616 code_of_conduct_file: anyOf: - type: 'null' - - &613 + - &617 title: Community Health File type: object properties: @@ -94677,19 +94901,19 @@ paths: contributing: anyOf: - type: 'null' - - *613 + - *617 readme: anyOf: - type: 'null' - - *613 + - *617 issue_template: anyOf: - type: 'null' - - *613 + - *617 pull_request_template: anyOf: - type: 'null' - - *613 + - *617 required: - code_of_conduct - code_of_conduct_file @@ -94818,8 +95042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *488 - - *489 + - *490 + - *491 - *19 - *17 - name: basehead @@ -94867,8 +95091,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *604 - merge_base_commit: *604 + base_commit: *608 + merge_base_commit: *608 status: type: string enum: @@ -94892,10 +95116,10 @@ paths: - 6 commits: type: array - items: *604 + items: *608 files: type: array - items: *614 + items: *618 required: - url - html_url @@ -95141,12 +95365,12 @@ paths: schema: type: string examples: - default: *615 + default: *619 application/vnd.github.patch: schema: type: string examples: - default: *616 + default: *620 '404': *6 '500': *35 '503': *193 @@ -95191,8 +95415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *488 - - *489 + - *490 + - *491 - name: path description: path parameter in: path @@ -95362,7 +95586,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &617 + response-if-content-is-a-file-github-object: &621 summary: Response if content is a file value: type: file @@ -95499,7 +95723,7 @@ paths: - size - type - url - - &752 + - &756 title: Content File description: Content File type: object @@ -95717,7 +95941,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *617 + response-if-content-is-a-file: *621 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -95786,7 +96010,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *618 + '302': *622 '304': *32 x-github: githubCloudOnly: false @@ -95809,8 +96033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *488 - - *489 + - *490 + - *491 - name: path description: path parameter in: path @@ -95905,7 +96129,7 @@ paths: description: Response content: application/json: - schema: &619 + schema: &623 title: File Commit description: File Commit type: object @@ -96061,7 +96285,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: example-for-creating-a-file: value: @@ -96115,7 +96339,7 @@ paths: schema: oneOf: - *3 - - &657 + - &661 description: Repository rule violation was detected type: object properties: @@ -96136,7 +96360,7 @@ paths: items: type: object properties: - placeholder_id: &794 + placeholder_id: &798 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -96168,8 +96392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *488 - - *489 + - *490 + - *491 - name: path description: path parameter in: path @@ -96230,7 +96454,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: default: value: @@ -96285,8 +96509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *488 - - *489 + - *490 + - *491 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -96416,8 +96640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -96569,25 +96793,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *488 - - *489 - - *338 - - *339 + - *490 + - *491 - *340 - *341 - *342 + - *343 + - *344 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *343 - - *620 - - *344 - *345 + - *624 - *346 - *347 + - *348 + - *349 - *107 - *105 - *106 @@ -96599,7 +96823,7 @@ paths: application/json: schema: type: array - items: &624 + items: &628 type: object description: A Dependabot alert. properties: @@ -96650,7 +96874,7 @@ paths: - transitive - inconclusive - - security_advisory: *621 + security_advisory: *625 security_vulnerability: *132 url: *133 html_url: *134 @@ -96681,8 +96905,8 @@ paths: dismissal. maxLength: 280 fixed_at: *138 - auto_dismissed_at: *622 - dismissal_request: *623 + auto_dismissed_at: *626 + dismissal_request: *627 assignees: type: array description: The users assigned to this alert. @@ -96939,9 +97163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *488 - - *489 - - &625 + - *490 + - *491 + - &629 name: alert_number in: path description: |- @@ -96956,7 +97180,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *628 examples: default: value: @@ -97089,9 +97313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *488 - - *489 - - *625 + - *490 + - *491 + - *629 requestBody: required: true content: @@ -97164,7 +97388,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *628 examples: default: value: @@ -97295,8 +97519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -97314,7 +97538,7 @@ paths: type: integer secrets: type: array - items: &628 + items: &632 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -97368,16 +97592,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *626 + schema: *630 examples: - default: *627 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97397,15 +97621,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *628 + schema: *632 examples: default: value: @@ -97431,8 +97655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -97485,8 +97709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -97509,8 +97733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *488 - - *489 + - *490 + - *491 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -97690,8 +97914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -97953,8 +98177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: sbom_uuid in: path required: true @@ -97965,7 +98189,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *629 + Location: *633 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -97986,8 +98210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -98025,8 +98249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -98109,7 +98333,7 @@ paths: - version - url additionalProperties: false - metadata: &630 + metadata: &634 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -98148,7 +98372,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *630 + metadata: *634 resolved: type: object description: A collection of resolved package dependencies. @@ -98162,7 +98386,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *630 + metadata: *634 relationship: type: string description: A notation of whether a dependency is requested @@ -98295,8 +98519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *488 - - *489 + - *490 + - *491 - name: sha description: The SHA recorded at creation time. in: query @@ -98337,9 +98561,9 @@ paths: application/json: schema: type: array - items: *631 + items: *635 examples: - default: *632 + default: *636 headers: Link: *42 x-github: @@ -98405,8 +98629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -98488,7 +98712,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *635 examples: simple-example: summary: Simple example @@ -98561,9 +98785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *488 - - *489 - - &633 + - *490 + - *491 + - &637 name: deployment_id description: deployment_id parameter in: path @@ -98575,7 +98799,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *635 examples: default: value: @@ -98640,9 +98864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 responses: '204': description: Response @@ -98664,9 +98888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 - *17 - *19 responses: @@ -98676,7 +98900,7 @@ paths: application/json: schema: type: array - items: &634 + items: &638 title: Deployment Status description: The status of a deployment. type: object @@ -98840,9 +99064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 requestBody: required: true content: @@ -98917,9 +99141,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: &635 + default: &639 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -98975,9 +99199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 - name: status_id in: path required: true @@ -98988,9 +99212,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: *635 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -99017,12 +99241,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 - - *636 - - *637 - - *638 - - *639 + - *490 + - *491 + - *640 + - *641 + - *642 + - *643 - *17 - *19 responses: @@ -99032,9 +99256,9 @@ paths: application/json: schema: type: array - items: *640 + items: *644 examples: - default: *641 + default: *645 '404': *6 '403': *27 '500': *35 @@ -99058,8 +99282,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99071,7 +99295,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *640 + schema: *644 examples: default: value: @@ -99127,8 +99351,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99187,12 +99411,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 - - *636 - - *637 - - *638 - - *639 + - *490 + - *491 + - *640 + - *641 + - *642 + - *643 - *17 - *19 responses: @@ -99202,9 +99426,9 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 + default: *647 '404': *6 '403': *27 '500': *35 @@ -99228,8 +99452,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99241,7 +99465,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *642 + schema: *646 examples: default: value: @@ -99292,8 +99516,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99332,7 +99556,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *642 + schema: *646 examples: default: value: @@ -99383,8 +99607,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99455,8 +99679,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99489,12 +99713,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - *100 - *101 - *102 - - *353 + - *355 - *17 - *19 responses: @@ -99504,9 +99728,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 '404': *6 '403': *27 '500': *35 @@ -99531,8 +99755,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99544,7 +99768,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *355 + schema: *357 examples: default: value: @@ -99602,8 +99826,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -99672,8 +99896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -99730,8 +99954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -99749,7 +99973,7 @@ paths: - 5 environments: type: array - items: &645 + items: &649 title: Environment description: Details of a deployment environment type: object @@ -99811,7 +100035,7 @@ paths: type: string examples: - wait_timer - wait_timer: &647 + wait_timer: &651 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -99853,7 +100077,7 @@ paths: items: type: object properties: - type: *644 + type: *648 reviewer: anyOf: - *4 @@ -99880,7 +100104,7 @@ paths: - id - node_id - type - deployment_branch_policy: &648 + deployment_branch_policy: &652 type: - object - 'null' @@ -99997,9 +100221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *488 - - *489 - - &646 + - *490 + - *491 + - &650 name: environment_name in: path required: true @@ -100012,9 +100236,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: &649 + default: &653 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -100098,9 +100322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 requestBody: required: false content: @@ -100110,7 +100334,7 @@ paths: - object - 'null' properties: - wait_timer: *647 + wait_timer: *651 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -100129,14 +100353,14 @@ paths: items: type: object properties: - type: *644 + type: *648 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *648 + deployment_branch_policy: *652 additionalProperties: false examples: default: @@ -100156,9 +100380,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: *649 + default: *653 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -100182,9 +100406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 responses: '204': description: Default response @@ -100209,9 +100433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *17 - *19 responses: @@ -100230,7 +100454,7 @@ paths: - 2 branch_policies: type: array - items: &650 + items: &654 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -100291,9 +100515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 requestBody: required: true content: @@ -100341,9 +100565,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - example-wildcard: &651 + example-wildcard: &655 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -100385,10 +100609,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 - - &652 + - *490 + - *491 + - *650 + - &656 name: branch_policy_id in: path required: true @@ -100400,9 +100624,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - default: *651 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100421,10 +100645,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 - - *652 + - *490 + - *491 + - *650 + - *656 requestBody: required: true content: @@ -100453,9 +100677,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - default: *651 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100474,10 +100698,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 - - *652 + - *490 + - *491 + - *650 + - *656 responses: '204': description: Response @@ -100502,9 +100726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *646 - - *489 - - *488 + - *650 + - *491 + - *490 responses: '200': description: List of deployment protection rules @@ -100521,7 +100745,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &653 + items: &657 title: Deployment protection rule description: Deployment protection rule type: object @@ -100543,7 +100767,7 @@ paths: for the environment. examples: - true - app: &654 + app: &658 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -100646,9 +100870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *646 - - *489 - - *488 + - *650 + - *491 + - *490 requestBody: content: application/json: @@ -100669,9 +100893,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *653 + schema: *657 examples: - default: &655 + default: &659 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -100706,9 +100930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *646 - - *489 - - *488 + - *650 + - *491 + - *490 - *19 - *17 responses: @@ -100728,7 +100952,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *654 + items: *658 examples: default: value: @@ -100763,10 +100987,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *488 - - *489 - - *646 - - &656 + - *490 + - *491 + - *650 + - &660 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -100778,9 +101002,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *657 examples: - default: *655 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100801,10 +101025,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *646 - - *489 - - *488 - - *656 + - *650 + - *491 + - *490 + - *660 responses: '204': description: Response @@ -100830,9 +101054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *17 - *19 responses: @@ -100850,9 +101074,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -100877,9 +101101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 responses: '200': description: Response @@ -100909,18 +101133,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *290 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *532 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100942,9 +101166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *290 requestBody: required: true @@ -101002,9 +101226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *290 responses: '204': @@ -101030,9 +101254,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *299 - *19 responses: @@ -101050,9 +101274,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -101075,9 +101299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 requestBody: required: true content: @@ -101129,18 +101353,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101161,10 +101385,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 - - *646 + - *650 requestBody: required: true content: @@ -101206,10 +101430,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 - - *646 + - *650 responses: '204': description: Response @@ -101231,8 +101455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -101300,8 +101524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *488 - - *489 + - *490 + - *491 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -101460,8 +101684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -101494,9 +101718,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 '400': *14 '422': *15 '403': *27 @@ -101517,8 +101741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -101578,7 +101802,7 @@ paths: schema: oneOf: - *255 - - *657 + - *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101603,8 +101827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *488 - - *489 + - *490 + - *491 - name: file_sha in: path required: true @@ -101704,8 +101928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -101814,7 +102038,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &662 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -102041,15 +102265,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 responses: '200': description: Response content: application/json: - schema: *658 + schema: *662 examples: default: value: @@ -102105,9 +102329,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *488 - - *489 - - &659 + - *490 + - *491 + - &663 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -102124,7 +102348,7 @@ paths: application/json: schema: type: array - items: &660 + items: &664 title: Git Reference description: Git references within a repository type: object @@ -102200,17 +102424,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *488 - - *489 - - *659 + - *490 + - *491 + - *663 responses: '200': description: Response content: application/json: - schema: *660 + schema: *664 examples: - default: &661 + default: &665 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -102239,8 +102463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -102269,9 +102493,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *664 examples: - default: *661 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -102297,9 +102521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *488 - - *489 - - *659 + - *490 + - *491 + - *663 requestBody: required: true content: @@ -102328,9 +102552,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *664 examples: - default: *661 + default: *665 '422': *15 '409': *116 x-github: @@ -102348,9 +102572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *488 - - *489 - - *659 + - *490 + - *491 + - *663 responses: '204': description: Response @@ -102405,8 +102629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -102473,7 +102697,7 @@ paths: description: Response content: application/json: - schema: &663 + schema: &667 title: Git Tag description: Metadata for a Git tag type: object @@ -102529,7 +102753,7 @@ paths: - sha - type - url - verification: *662 + verification: *666 required: - sha - url @@ -102539,7 +102763,7 @@ paths: - tag - message examples: - default: &664 + default: &668 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -102612,8 +102836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *488 - - *489 + - *490 + - *491 - name: tag_sha in: path required: true @@ -102624,9 +102848,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: *664 + default: *668 '404': *6 '409': *116 x-github: @@ -102650,8 +102874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -102725,7 +102949,7 @@ paths: description: Response content: application/json: - schema: &665 + schema: &669 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -102827,8 +103051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *488 - - *489 + - *490 + - *491 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -102851,7 +103075,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: default-response: summary: Default response @@ -102909,8 +103133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -102954,8 +103178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -102965,7 +103189,7 @@ paths: application/json: schema: type: array - items: &666 + items: &670 title: Webhook description: Webhooks for repositories. type: object @@ -103028,7 +103252,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &944 + last_response: &948 title: Hook Response type: object properties: @@ -103105,8 +103329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -103159,9 +103383,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: &667 + default: &671 value: type: Repository id: 12345678 @@ -103209,17 +103433,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '200': description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '404': *6 x-github: githubCloudOnly: false @@ -103239,9 +103463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 requestBody: required: true content: @@ -103286,9 +103510,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '422': *15 '404': *6 x-github: @@ -103309,9 +103533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '204': description: Response @@ -103335,9 +103559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '200': description: Response @@ -103364,9 +103588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 requestBody: required: false content: @@ -103410,12 +103634,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *488 - - *489 - - *359 - - *17 - - *360 + - *490 + - *491 - *361 + - *17 + - *362 + - *363 responses: '200': description: Response @@ -103423,9 +103647,9 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: - default: *363 + default: *365 '400': *14 '422': *15 x-github: @@ -103444,18 +103668,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 - *16 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '400': *14 '422': *15 x-github: @@ -103474,9 +103698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 - *16 responses: '202': *34 @@ -103499,9 +103723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '204': description: Response @@ -103526,9 +103750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '204': description: Response @@ -103551,8 +103775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response if immutable releases are enabled @@ -103600,8 +103824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '409': *116 @@ -103621,8 +103845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '409': *116 @@ -103679,14 +103903,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &668 + schema: &672 title: Import description: A repository import from an external source. type: object @@ -103793,7 +104017,7 @@ paths: - html_url - authors_url examples: - default: &671 + default: &675 value: vcs: subversion use_lfs: true @@ -103809,7 +104033,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &669 + '503': &673 description: Unavailable due to service under maintenance. content: application/json: @@ -103838,8 +104062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -103887,7 +104111,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: default: value: @@ -103912,7 +104136,7 @@ paths: type: string '422': *15 '404': *6 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103940,8 +104164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -103993,7 +104217,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: example-1: summary: Example 1 @@ -104041,7 +104265,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104064,12 +104288,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104095,9 +104319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *488 - - *489 - - &874 + - *490 + - *491 + - &878 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -104111,7 +104335,7 @@ paths: application/json: schema: type: array - items: &670 + items: &674 title: Porter Author description: Porter Author type: object @@ -104165,7 +104389,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104190,8 +104414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *488 - - *489 + - *490 + - *491 - name: author_id in: path required: true @@ -104221,7 +104445,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: default: value: @@ -104234,7 +104458,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104258,8 +104482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -104300,7 +104524,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104328,8 +104552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -104356,11 +104580,11 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: - default: *671 + default: *675 '422': *15 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104383,8 +104607,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -104392,8 +104616,8 @@ paths: application/json: schema: *20 examples: - default: *377 - '301': *494 + default: *379 + '301': *496 '404': *6 x-github: githubCloudOnly: false @@ -104413,8 +104637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -104422,12 +104646,12 @@ paths: application/json: schema: anyOf: - - *379 + - *381 - type: object properties: {} additionalProperties: false examples: - default: &673 + default: &677 value: limit: collaborators_only origin: repository @@ -104452,13 +104676,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *672 + schema: *676 examples: default: summary: Example request body @@ -104470,9 +104694,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *673 + default: *677 '409': description: Response x-github: @@ -104494,8 +104718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -104522,8 +104746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -104577,13 +104801,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: &674 + schema: &678 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -104633,13 +104857,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *674 + schema: *678 examples: default: summary: Example request body @@ -104672,8 +104896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -104726,8 +104950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -104803,8 +105027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -104814,9 +105038,9 @@ paths: application/json: schema: type: array - items: *675 + items: *679 examples: - default: &866 + default: &870 value: - id: 1 repository: @@ -104947,9 +105171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *488 - - *489 - - *383 + - *490 + - *491 + - *385 requestBody: required: false content: @@ -104978,7 +105202,7 @@ paths: description: Response content: application/json: - schema: *675 + schema: *679 examples: default: value: @@ -105109,9 +105333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *488 - - *489 - - *383 + - *490 + - *491 + - *385 responses: '204': description: Response @@ -105134,8 +105358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -105143,9 +105367,9 @@ paths: application/json: schema: type: array - items: *387 + items: *389 examples: - default: *676 + default: *680 '404': *6 x-github: githubCloudOnly: false @@ -105174,8 +105398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *488 - - *489 + - *490 + - *491 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -105237,7 +105461,7 @@ paths: required: false schema: type: string - - *390 + - *392 - name: sort description: What to sort results by. in: query @@ -105262,7 +105486,7 @@ paths: type: array items: *221 examples: - default: &686 + default: &690 value: - id: 1 node_id: MDU6SXNzdWUx @@ -105411,7 +105635,7 @@ paths: state_reason: completed headers: Link: *42 - '301': *494 + '301': *496 '422': *15 '404': *6 x-github: @@ -105440,8 +105664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -105556,7 +105780,7 @@ paths: application/json: schema: *221 examples: - default: &683 + default: &687 value: id: 1 node_id: MDU6SXNzdWUx @@ -105722,8 +105946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *243 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -105746,7 +105970,7 @@ paths: type: array items: *222 examples: - default: &685 + default: &689 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -105805,8 +106029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': @@ -105815,7 +106039,7 @@ paths: application/json: schema: *222 examples: - default: &677 + default: &681 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -105871,8 +106095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -105897,7 +106121,7 @@ paths: application/json: schema: *222 examples: - default: *677 + default: *681 '422': *15 x-github: githubCloudOnly: false @@ -105915,8 +106139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -105945,8 +106169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': @@ -106026,8 +106250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -106053,8 +106277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -106081,9 +106305,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -106104,8 +106328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -106138,16 +106362,16 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -106169,10 +106393,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *488 - - *489 + - *490 + - *491 - *235 - - *679 + - *683 responses: '204': description: Response @@ -106192,8 +106416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -106203,7 +106427,7 @@ paths: application/json: schema: type: array - items: &682 + items: &686 title: Issue Event description: Issue Event type: object @@ -106350,7 +106574,7 @@ paths: required: - from - to - issue_type: &680 + issue_type: &684 title: Issue Type description: The type of issue. type: @@ -106381,11 +106605,11 @@ paths: required: - id - name - prev_issue_type: *680 + prev_issue_type: *684 sub_issue: anyOf: - type: 'null' - - &681 + - &685 title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency @@ -106443,19 +106667,19 @@ paths: parent_issue: anyOf: - type: 'null' - - *681 + - *685 blocked_by: anyOf: - type: 'null' - - *681 + - *685 blocking: anyOf: - type: 'null' - - *681 + - *685 intent: anyOf: - type: 'null' - - &687 + - &691 title: Issue Event Intent description: The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` @@ -106677,8 +106901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *488 - - *489 + - *490 + - *491 - name: event_id in: path required: true @@ -106689,7 +106913,7 @@ paths: description: Response content: application/json: - schema: *682 + schema: *686 examples: default: value: @@ -106916,9 +107140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *488 - - *489 - - &684 + - *490 + - *491 + - &688 name: issue_number description: The number that identifies the issue. in: path @@ -106934,7 +107158,7 @@ paths: examples: default: summary: Issue - value: *683 + value: *687 pinned_comment: summary: Issue with pinned comment value: @@ -107114,7 +107338,7 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *494 + '301': *496 '404': *6 '410': *30 '304': *32 @@ -107141,9 +107365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -107508,11 +107732,11 @@ paths: - already_applied - issue_already_closed examples: - default: *683 + default: *687 '422': *15 '503': *193 '403': *27 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -107532,9 +107756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -107584,7 +107808,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107600,9 +107824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: content: application/json: @@ -107629,7 +107853,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107651,9 +107875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: assignee in: path required: true @@ -107693,9 +107917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *226 - *17 - *19 @@ -107708,7 +107932,7 @@ paths: type: array items: *222 examples: - default: *685 + default: *689 headers: Link: *42 '404': *6 @@ -107741,9 +107965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -107767,7 +107991,7 @@ paths: application/json: schema: *222 examples: - default: *677 + default: *681 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -107802,9 +108026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -107816,10 +108040,10 @@ paths: type: array items: *221 examples: - default: *686 + default: *690 headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -107849,9 +108073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -107875,13 +108099,13 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *494 + '301': *496 '403': *27 '410': *30 '422': *15 @@ -107914,9 +108138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -107930,8 +108154,8 @@ paths: application/json: schema: *221 examples: - default: *683 - '301': *494 + default: *687 + '301': *496 '400': *14 '401': *23 '403': *27 @@ -107962,9 +108186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -107976,10 +108200,10 @@ paths: type: array items: *221 examples: - default: *686 + default: *690 headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -107998,9 +108222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -108014,7 +108238,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &693 + - &697 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -108055,7 +108279,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - label - id @@ -108067,7 +108291,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &694 + - &698 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -108108,7 +108332,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - label - id @@ -108149,7 +108373,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - id - node_id @@ -108203,7 +108427,7 @@ paths: - performed_via_github_app - assignee - assigner - - &695 + - &699 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -108249,7 +108473,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &696 + - &700 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -108295,7 +108519,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &697 + - &701 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -108344,7 +108568,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &698 + - &702 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -108386,7 +108610,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &699 + - &703 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -108428,7 +108652,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &700 + - &704 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -108484,7 +108708,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &705 title: Locked Issue Event description: Locked Issue Event type: object @@ -108529,7 +108753,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &706 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -108590,7 +108814,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &707 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -108651,7 +108875,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &708 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -108712,7 +108936,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &709 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -108770,7 +108994,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &712 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -108798,11 +109022,11 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *680 + issue_type: *684 intent: anyOf: - type: 'null' - - *687 + - *691 required: - issue_type - id @@ -108814,7 +109038,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &713 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -108842,11 +109066,11 @@ paths: anyOf: - type: 'null' - *5 - prev_issue_type: *680 + prev_issue_type: *684 intent: anyOf: - type: 'null' - - *687 + - *691 required: - prev_issue_type - id @@ -108858,7 +109082,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &710 + - &714 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -108886,12 +109110,12 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *680 - prev_issue_type: *680 + issue_type: *684 + prev_issue_type: *684 intent: anyOf: - type: 'null' - - *687 + - *691 required: - issue_type - prev_issue_type @@ -108904,7 +109128,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &711 + - &715 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -108935,7 +109159,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *681 + - *685 required: - sub_issue - id @@ -108947,7 +109171,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &716 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -108978,7 +109202,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *681 + - *685 required: - sub_issue - id @@ -108990,7 +109214,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &713 + - &717 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -109021,7 +109245,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *681 + - *685 required: - parent_issue - id @@ -109033,7 +109257,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &714 + - &718 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -109064,7 +109288,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *681 + - *685 required: - parent_issue - id @@ -109076,7 +109300,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &715 + - &719 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -109107,7 +109331,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *681 + - *685 required: - blocked_by - id @@ -109119,7 +109343,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &716 + - &720 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -109150,7 +109374,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *681 + - *685 required: - blocked_by - id @@ -109162,7 +109386,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &717 + - &721 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -109193,7 +109417,7 @@ paths: blocking: anyOf: - type: 'null' - - *681 + - *685 required: - blocking - id @@ -109205,7 +109429,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &718 + - &722 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -109236,7 +109460,7 @@ paths: blocking: anyOf: - type: 'null' - - *681 + - *685 required: - blocking - id @@ -109300,9 +109524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -109312,9 +109536,9 @@ paths: application/json: schema: type: array - items: *688 + items: *692 examples: - default: &689 + default: &693 value: - issue_field_id: 1 issue_field_name: DRI @@ -109354,7 +109578,7 @@ paths: color: green headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -109385,9 +109609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -109459,9 +109683,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *688 + items: *692 examples: - default: *689 + default: *693 '400': *14 '403': *27 '404': *6 @@ -109497,9 +109721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -109566,9 +109790,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *688 + items: *692 examples: - default: *689 + default: *693 '400': *14 '403': *27 '404': *6 @@ -109599,10 +109823,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *488 - - *489 - - *684 - - *386 + - *490 + - *491 + - *688 + - *388 responses: '204': description: Issue field value deleted successfully @@ -109627,9 +109851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -109641,7 +109865,7 @@ paths: type: array items: *220 examples: - default: &690 + default: &694 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -109659,7 +109883,7 @@ paths: default: false headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -109677,9 +109901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -109759,8 +109983,8 @@ paths: type: array items: *220 examples: - default: *690 - '301': *494 + default: *694 + '301': *496 '404': *6 '410': *30 '422': *15 @@ -109779,9 +110003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -109843,8 +110067,8 @@ paths: type: array items: *220 examples: - default: *690 - '301': *494 + default: *694 + '301': *496 '404': *6 '410': *30 '422': *15 @@ -109863,13 +110087,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 responses: '204': description: Response - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -109890,9 +110114,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: name in: path required: true @@ -109916,7 +110140,7 @@ paths: description: Something isn't working color: f29513 default: true - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -109938,9 +110162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -109987,9 +110211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 responses: '204': description: Response @@ -110019,9 +110243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 responses: '200': description: Response @@ -110029,8 +110253,8 @@ paths: application/json: schema: *221 examples: - default: *683 - '301': *494 + default: *687 + '301': *496 '404': *6 '410': *30 x-github: @@ -110049,9 +110273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -110077,9 +110301,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -110101,9 +110325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110135,16 +110359,16 @@ paths: description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -110166,10 +110390,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *488 - - *489 - - *684 - - *679 + - *490 + - *491 + - *688 + - *683 responses: '204': description: Response @@ -110198,9 +110422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110224,7 +110448,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -110258,9 +110482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -110272,7 +110496,7 @@ paths: type: array items: *221 examples: - default: *686 + default: *690 headers: Link: *42 '404': *6 @@ -110304,9 +110528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110335,7 +110559,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -110362,9 +110586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110397,7 +110621,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 '403': *27 '404': *6 '422': *7 @@ -110426,9 +110650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issue-suggestions parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: state in: query required: false @@ -110465,7 +110689,7 @@ paths: application/json: schema: type: array - items: &691 + items: &695 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -110629,9 +110853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#approve-an-issue-suggestion parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: suggestion_id in: path required: true @@ -110643,9 +110867,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: - default: &692 + default: &696 value: id: 12 issue_id: 4567 @@ -110683,9 +110907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: suggestion_id in: path required: true @@ -110697,9 +110921,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: - default: *692 + default: *696 '403': *27 '404': *6 '422': *15 @@ -110719,9 +110943,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 - name: exclude @@ -110742,10 +110966,6 @@ paths: description: Timeline Event type: object anyOf: - - *693 - - *694 - - *695 - - *696 - *697 - *698 - *699 @@ -110755,6 +110975,10 @@ paths: - *703 - *704 - *705 + - *706 + - *707 + - *708 + - *709 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -110811,11 +111035,11 @@ paths: pin: anyOf: - type: 'null' - - *706 + - *710 minimized: anyOf: - type: 'null' - - *707 + - *711 required: - event - actor @@ -111091,7 +111315,7 @@ paths: type: string comments: type: array - items: &740 + items: &744 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -111332,7 +111556,7 @@ paths: type: string comments: type: array - items: *601 + items: *605 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -111364,7 +111588,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - id - node_id @@ -111449,7 +111673,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - id - node_id @@ -111460,10 +111684,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *708 - - *709 - - *710 - - *711 - *712 - *713 - *714 @@ -111471,6 +111691,10 @@ paths: - *716 - *717 - *718 + - *719 + - *720 + - *721 + - *722 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -111718,8 +111942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -111729,7 +111953,7 @@ paths: application/json: schema: type: array - items: &719 + items: &723 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -111797,8 +112021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -111834,9 +112058,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: &720 + default: &724 value: id: 1 key: ssh-rsa AAA... @@ -111870,9 +112094,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *488 - - *489 - - &721 + - *490 + - *491 + - &725 name: key_id description: The unique identifier of the key. in: path @@ -111884,9 +112108,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: *720 + default: *724 '404': *6 x-github: githubCloudOnly: false @@ -111904,9 +112128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *488 - - *489 - - *721 + - *490 + - *491 + - *725 responses: '204': description: Response @@ -111926,8 +112150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -111939,7 +112163,7 @@ paths: type: array items: *220 examples: - default: *690 + default: *694 headers: Link: *42 '404': *6 @@ -111960,8 +112184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -111999,7 +112223,7 @@ paths: application/json: schema: *220 examples: - default: &722 + default: &726 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -112031,8 +112255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *488 - - *489 + - *490 + - *491 - name: name in: path required: true @@ -112045,7 +112269,7 @@ paths: application/json: schema: *220 examples: - default: *722 + default: *726 '404': *6 x-github: githubCloudOnly: false @@ -112062,8 +112286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *488 - - *489 + - *490 + - *491 - name: name in: path required: true @@ -112133,8 +112357,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *488 - - *489 + - *490 + - *491 - name: name in: path required: true @@ -112160,8 +112384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -112197,8 +112421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '202': *34 '403': @@ -112226,8 +112450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -112253,9 +112477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *488 - - *489 - - *576 + - *490 + - *491 + - *580 responses: '200': description: Response @@ -112402,8 +112626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -112468,8 +112692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -112503,9 +112727,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *604 + schema: *608 examples: - default: *723 + default: *727 '204': description: Response when already merged '404': @@ -112530,8 +112754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *488 - - *489 + - *490 + - *491 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -112572,7 +112796,7 @@ paths: application/json: schema: type: array - items: *421 + items: *423 examples: default: value: @@ -112628,8 +112852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -112669,9 +112893,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: &724 + default: &728 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -112730,9 +112954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *488 - - *489 - - &725 + - *490 + - *491 + - &729 name: milestone_number description: The number that identifies the milestone. in: path @@ -112744,9 +112968,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *724 + default: *728 '404': *6 x-github: githubCloudOnly: false @@ -112763,9 +112987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *488 - - *489 - - *725 + - *490 + - *491 + - *729 requestBody: required: false content: @@ -112803,9 +113027,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *724 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112821,9 +113045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *488 - - *489 - - *725 + - *490 + - *491 + - *729 responses: '204': description: Response @@ -112844,9 +113068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *488 - - *489 - - *725 + - *490 + - *491 + - *729 - *17 - *19 responses: @@ -112858,7 +113082,7 @@ paths: type: array items: *220 examples: - default: *690 + default: *694 headers: Link: *42 x-github: @@ -112877,12 +113101,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *488 - - *489 - - *726 - - *727 + - *490 + - *491 + - *730 + - *731 - *226 - - *728 + - *732 - *17 - *19 responses: @@ -112894,7 +113118,7 @@ paths: type: array items: *246 examples: - default: *729 + default: *733 headers: Link: *42 x-github: @@ -112918,8 +113142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -112977,14 +113201,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &730 + schema: &734 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -113128,7 +113352,7 @@ paths: - custom_404 - public examples: - default: &731 + default: &735 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -113169,8 +113393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113225,9 +113449,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *734 examples: - default: *731 + default: *735 '422': *15 '409': *116 x-github: @@ -113250,8 +113474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113359,8 +113583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -113386,8 +113610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -113397,7 +113621,7 @@ paths: application/json: schema: type: array - items: &732 + items: &736 title: Page Build description: Page Build type: object @@ -113489,8 +113713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -113537,16 +113761,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *732 + schema: *736 examples: - default: &733 + default: &737 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -113594,8 +113818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *488 - - *489 + - *490 + - *491 - name: build_id in: path required: true @@ -113606,9 +113830,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *736 examples: - default: *733 + default: *737 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113628,8 +113852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113737,9 +113961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *488 - - *489 - - &734 + - *490 + - *491 + - &738 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -113797,9 +114021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *488 - - *489 - - *734 + - *490 + - *491 + - *738 responses: '204': *121 '404': *6 @@ -113826,8 +114050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -114122,8 +114346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Private vulnerability reporting status @@ -114160,8 +114384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '422': *14 @@ -114182,8 +114406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '422': *14 @@ -114205,8 +114429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -114216,7 +114440,7 @@ paths: type: array items: *153 examples: - default: *735 + default: *739 '403': *27 '404': *6 x-github: @@ -114238,8 +114462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -114255,7 +114479,7 @@ paths: required: - properties examples: - default: *736 + default: *740 responses: '204': description: No Content when custom property values are successfully created @@ -114293,8 +114517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -114354,9 +114578,9 @@ paths: application/json: schema: type: array - items: *568 + items: *573 examples: - default: *737 + default: *741 headers: Link: *42 '304': *32 @@ -114388,8 +114612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -114456,7 +114680,7 @@ paths: description: Response content: application/json: - schema: &742 + schema: &746 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -114585,7 +114809,7 @@ paths: milestone: anyOf: - type: 'null' - - *421 + - *423 active_lock_reason: type: - string @@ -114624,7 +114848,7 @@ paths: items: *4 requested_teams: type: array - items: *400 + items: *402 head: type: object properties: @@ -114662,14 +114886,14 @@ paths: _links: type: object properties: - comments: *422 - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + comments: *424 + commits: *424 + statuses: *424 + html: *424 + issue: *424 + review_comments: *424 + review_comment: *424 + self: *424 required: - comments - commits @@ -114680,8 +114904,8 @@ paths: - review_comment - self author_association: *218 - auto_merge: *738 - stack: *739 + auto_merge: *742 + stack: *743 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -114781,7 +115005,7 @@ paths: - merged_by - review_comments examples: - default: &743 + default: &747 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -115288,8 +115512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: sort in: query required: false @@ -115318,9 +115542,9 @@ paths: application/json: schema: type: array - items: *740 + items: *744 examples: - default: &745 + default: &749 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -115397,17 +115621,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: &741 + default: &745 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -115482,8 +115706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -115506,9 +115730,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: *741 + default: *745 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115524,8 +115748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -115547,8 +115771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -115575,9 +115799,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -115598,8 +115822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -115632,16 +115856,16 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -115663,10 +115887,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *488 - - *489 + - *490 + - *491 - *235 - - *679 + - *683 responses: '204': description: Response @@ -115709,9 +115933,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *488 - - *489 - - &744 + - *490 + - *491 + - &748 name: pull_number description: The number that identifies the pull request. in: path @@ -115724,9 +115948,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *742 + schema: *746 examples: - default: *743 + default: *747 '304': *32 '404': *6 '406': @@ -115761,9 +115985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -115805,9 +116029,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: *743 + default: *747 '422': *15 '403': *27 x-github: @@ -115829,9 +116053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: true content: @@ -115892,17 +116116,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '401': *23 '403': *27 '404': *6 @@ -115932,9 +116156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *243 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -115955,9 +116179,9 @@ paths: application/json: schema: type: array - items: *740 + items: *744 examples: - default: *745 + default: *749 headers: Link: *42 x-github: @@ -115990,9 +116214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: true content: @@ -116098,7 +116322,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: example-for-a-multi-line-comment: value: @@ -116186,9 +116410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *235 requestBody: required: true @@ -116211,7 +116435,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: default: value: @@ -116297,9 +116521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *17 - *19 responses: @@ -116309,9 +116533,9 @@ paths: application/json: schema: type: array - items: *604 + items: *608 examples: - default: *746 + default: *750 headers: Link: *42 x-github: @@ -116341,9 +116565,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *17 - *19 responses: @@ -116353,7 +116577,7 @@ paths: application/json: schema: type: array - items: *614 + items: *618 examples: default: value: @@ -116391,9 +116615,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 responses: '204': description: Response if pull request has been merged @@ -116416,9 +116640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -116541,9 +116765,9 @@ paths: category: pulls subcategory: pulls parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -116596,7 +116820,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &747 + schema: &751 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -116681,7 +116905,7 @@ paths: merge queue content: application/json: - schema: *747 + schema: *751 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -116701,7 +116925,7 @@ paths: this pull request content: application/json: - schema: *747 + schema: *751 examples: response-if-a-merge-request-already-exists: value: @@ -116717,7 +116941,7 @@ paths: it is closed content: application/json: - schema: *747 + schema: *751 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -116749,9 +116973,9 @@ paths: category: pulls subcategory: pulls parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -116764,7 +116988,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *747 + schema: *751 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -116812,9 +117036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 responses: '200': description: Response @@ -116889,9 +117113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -116928,7 +117152,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *573 examples: default: value: @@ -117464,9 +117688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: true content: @@ -117500,7 +117724,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *573 examples: default: value: @@ -117985,9 +118209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *17 - *19 responses: @@ -117997,7 +118221,7 @@ paths: application/json: schema: type: array - items: &748 + items: &752 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -118153,9 +118377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -118245,9 +118469,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: &750 + default: &754 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -118310,10 +118534,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - &749 + - *490 + - *491 + - *748 + - &753 name: review_id description: The unique identifier of the review. in: path @@ -118325,9 +118549,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: &751 + default: &755 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -118386,10 +118610,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 requestBody: required: true content: @@ -118412,7 +118636,7 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: default: value: @@ -118474,18 +118698,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 responses: '200': description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: *750 + default: *754 '422': *7 '404': *6 x-github: @@ -118512,10 +118736,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 - *17 - *19 responses: @@ -118613,9 +118837,9 @@ paths: _links: type: object properties: - self: *422 - html: *422 - pull_request: *422 + self: *424 + html: *424 + pull_request: *424 required: - self - html @@ -118773,10 +118997,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 requestBody: required: true content: @@ -118805,7 +119029,7 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: default: value: @@ -118868,10 +119092,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 requestBody: required: true content: @@ -118906,9 +119130,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: *751 + default: *755 '404': *6 '422': *7 '403': *27 @@ -118930,9 +119154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -118996,8 +119220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -119010,9 +119234,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *756 examples: - default: &753 + default: &757 value: type: file encoding: base64 @@ -119054,8 +119278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *488 - - *489 + - *490 + - *491 - name: dir description: The alternate path to look for a README file in: path @@ -119075,9 +119299,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *756 examples: - default: *753 + default: *757 '404': *6 '422': *15 x-github: @@ -119099,8 +119323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -119110,7 +119334,7 @@ paths: application/json: schema: type: array - items: *754 + items: *758 examples: default: value: @@ -119209,8 +119433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -119286,9 +119510,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: &758 + default: &762 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -119393,9 +119617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *488 - - *489 - - &756 + - *490 + - *491 + - &760 name: asset_id description: The unique identifier of the asset. in: path @@ -119407,9 +119631,9 @@ paths: description: Response content: application/json: - schema: *755 + schema: *759 examples: - default: &757 + default: &761 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -119444,7 +119668,7 @@ paths: type: User site_admin: false '404': *6 - '302': *618 + '302': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119460,9 +119684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *488 - - *489 - - *756 + - *490 + - *491 + - *760 requestBody: required: false content: @@ -119491,9 +119715,9 @@ paths: description: Response content: application/json: - schema: *755 + schema: *759 examples: - default: *757 + default: *761 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119509,9 +119733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *488 - - *489 - - *756 + - *490 + - *491 + - *760 responses: '204': description: Response @@ -119536,8 +119760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -119623,16 +119847,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '404': *6 x-github: githubCloudOnly: false @@ -119650,8 +119874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *488 - - *489 + - *490 + - *491 - name: tag description: tag parameter in: path @@ -119664,9 +119888,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '404': *6 x-github: githubCloudOnly: false @@ -119688,9 +119912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *488 - - *489 - - &759 + - *490 + - *491 + - &763 name: release_id description: The unique identifier of the release. in: path @@ -119704,9 +119928,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '401': description: Unauthorized x-github: @@ -119730,9 +119954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 requestBody: required: false content: @@ -119796,9 +120020,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '404': description: Not Found if the discussion category name is invalid content: @@ -119819,9 +120043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 responses: '204': description: Response @@ -119842,9 +120066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 - *17 - *19 responses: @@ -119854,7 +120078,7 @@ paths: application/json: schema: type: array - items: *755 + items: *759 examples: default: value: @@ -119936,9 +120160,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 - name: name in: query required: true @@ -119964,7 +120188,7 @@ paths: description: Response for successful upload content: application/json: - schema: *755 + schema: *759 examples: response-for-successful-upload: value: @@ -120019,9 +120243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -120045,9 +120269,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -120068,9 +120292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 requestBody: required: true content: @@ -120100,16 +120324,16 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -120131,10 +120355,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *488 - - *489 - - *759 - - *679 + - *490 + - *491 + - *763 + - *683 responses: '204': description: Response @@ -120158,9 +120382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 - *17 - *19 responses: @@ -120177,7 +120401,7 @@ paths: oneOf: - allOf: - *167 - - &760 + - &764 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -120198,70 +120422,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *168 - - *760 + - *764 - allOf: - *169 - - *760 + - *764 - allOf: - *170 - - *760 + - *764 - allOf: - - *761 - - *760 + - *765 + - *764 - allOf: - *171 - - *760 + - *764 - allOf: - *172 - - *760 + - *764 - allOf: - *173 - - *760 + - *764 - allOf: - *174 - - *760 + - *764 - allOf: - *175 - - *760 + - *764 - allOf: - *176 - - *760 + - *764 - allOf: - *177 - - *760 + - *764 - allOf: - *178 - - *760 + - *764 - allOf: - *179 - - *760 + - *764 - allOf: - *180 - - *760 + - *764 - allOf: - *181 - - *760 + - *764 - allOf: - *182 - - *760 + - *764 - allOf: - *183 - - *760 + - *764 - allOf: - - *762 - - *760 + - *766 + - *764 - allOf: - *184 - - *760 + - *764 - allOf: - *185 - - *760 + - *764 - allOf: - *186 - - *760 + - *764 - allOf: - *187 - - *760 + - *764 examples: default: value: @@ -120300,8 +120524,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - name: includes_parents @@ -120312,7 +120536,7 @@ paths: schema: type: boolean default: true - - *763 + - *767 responses: '200': description: Response @@ -120367,8 +120591,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 requestBody: description: Request body required: true @@ -120397,7 +120621,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *764 + items: *768 required: - name - enforcement @@ -120430,7 +120654,7 @@ paths: application/json: schema: *188 examples: - default: &774 + default: &778 value: id: 42 name: super cool ruleset @@ -120478,13 +120702,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *488 - - *489 - - *765 + - *490 + - *491 + - *769 - *102 - - *766 - - *767 - - *768 + - *770 + - *771 + - *772 - *17 - *19 responses: @@ -120492,9 +120716,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *773 examples: - default: *770 + default: *774 '404': *6 '500': *35 x-github: @@ -120515,17 +120739,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *488 - - *489 - - *771 + - *490 + - *491 + - *775 responses: '200': description: Response content: application/json: - schema: *772 + schema: *776 examples: - default: *773 + default: *777 '404': *6 '500': *35 x-github: @@ -120553,8 +120777,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120576,7 +120800,7 @@ paths: application/json: schema: *188 examples: - default: *774 + default: *778 '404': *6 '500': *35 put: @@ -120594,8 +120818,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120629,7 +120853,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *764 + items: *768 examples: default: value: @@ -120659,7 +120883,7 @@ paths: application/json: schema: *188 examples: - default: *774 + default: *778 '404': *6 '422': *15 '500': *35 @@ -120678,8 +120902,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120702,8 +120926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - name: ruleset_id @@ -120721,7 +120945,7 @@ paths: type: array items: *192 examples: - default: *438 + default: *440 '404': *6 '500': *35 x-github: @@ -120740,8 +120964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -120759,7 +120983,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -120814,28 +121038,28 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *488 - - *489 - - *440 - - *441 + - *490 + - *491 - *442 - *443 - *444 - *445 - *446 - *447 + - *448 + - *449 - *107 - *19 - *17 - - *775 - - *776 - - *448 - - *449 + - *779 + - *780 - *450 - *451 - *452 - *453 - *454 + - *455 + - *456 responses: '200': description: Response @@ -120859,8 +121083,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *777 - resolution: *778 + state: *781 + resolution: *782 resolved_at: type: - string @@ -120966,7 +121190,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *779 + - *783 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -121125,16 +121349,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *488 - - *489 - - *570 - - *451 + - *490 + - *491 + - *574 + - *453 responses: '200': description: Response content: application/json: - schema: &780 + schema: &784 type: object properties: number: *128 @@ -121149,8 +121373,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *777 - resolution: *778 + state: *781 + resolution: *782 resolved_at: type: - string @@ -121256,7 +121480,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *779 + - *783 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -121279,7 +121503,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &963 + metadata: &967 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -121352,9 +121576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 requestBody: required: true content: @@ -121362,8 +121586,8 @@ paths: schema: type: object properties: - state: *777 - resolution: *778 + state: *781 + resolution: *782 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -121411,7 +121635,7 @@ paths: description: Response content: application/json: - schema: *780 + schema: *784 examples: default: value: @@ -121513,9 +121737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 - *19 - *17 responses: @@ -121526,7 +121750,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &965 + items: &969 type: object properties: type: @@ -121553,10 +121777,6 @@ paths: - commit details: oneOf: - - *781 - - *782 - - *783 - - *784 - *785 - *786 - *787 @@ -121566,6 +121786,10 @@ paths: - *791 - *792 - *793 + - *794 + - *795 + - *796 + - *797 examples: default: value: @@ -121654,11 +121878,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 - - *457 - - *458 + - *490 + - *491 - *459 + - *460 + - *461 - *107 - *105 - *106 @@ -121671,7 +121895,7 @@ paths: type: array items: *194 examples: - default: *460 + default: *462 headers: Link: *42 '403': *27 @@ -121694,8 +121918,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -121708,9 +121932,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *461 + items: *463 examples: - default: *462 + default: *464 responses: '201': description: All patterns created successfully. @@ -121724,7 +121948,7 @@ paths: description: The list of successfully created custom patterns. items: *194 examples: - default: *463 + default: *465 '400': *14 '403': *27 '404': *6 @@ -121748,7 +121972,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *464 + items: *466 delete: summary: Bulk delete repository custom patterns description: |- @@ -121767,8 +121991,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -121782,7 +122006,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *465 + items: *467 post_delete_action: type: string description: |- @@ -121795,7 +122019,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *466 + default: *468 responses: '204': description: All patterns deleted successfully. @@ -121822,8 +122046,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 + - *490 + - *491 - name: pattern_id in: path required: true @@ -121834,9 +122058,9 @@ paths: required: true content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 responses: '200': description: Pattern updated successfully. @@ -121844,7 +122068,7 @@ paths: application/json: schema: *194 examples: - default: *469 + default: *471 '400': *14 '403': *27 '404': *6 @@ -121866,8 +122090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -121875,14 +122099,14 @@ paths: schema: type: object properties: - reason: &795 + reason: &799 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *794 + placeholder_id: *798 required: - reason - placeholder_id @@ -121899,7 +122123,7 @@ paths: schema: type: object properties: - reason: *795 + reason: *799 expire_at: type: - string @@ -121946,8 +122170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -121962,7 +122186,7 @@ paths: properties: incremental_scans: type: array - items: &796 + items: &800 description: Information on a single scan performed by secret scanning on the repository type: object @@ -121995,15 +122219,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *796 + items: *800 backfill_scans: type: array - items: *796 + items: *800 custom_pattern_backfill_scans: type: array items: allOf: - - *796 + - *800 - type: object properties: pattern_name: @@ -122016,7 +122240,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *796 + items: *800 examples: default: value: @@ -122081,8 +122305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *488 - - *489 + - *490 + - *491 - *107 - name: sort description: The property to sort the results by. @@ -122126,9 +122350,9 @@ paths: application/json: schema: type: array - items: *797 + items: *801 examples: - default: *798 + default: *802 '400': *14 '404': *6 x-github: @@ -122151,8 +122375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -122232,7 +122456,7 @@ paths: login: type: string description: The username of the user credited. - type: *472 + type: *474 required: - login - type @@ -122322,9 +122546,9 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: &801 + default: &805 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -122539,7 +122763,7 @@ paths: description: Validation failed. content: application/json: - schema: &799 + schema: &803 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -122612,8 +122836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -122726,7 +122950,7 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: default: value: @@ -122851,7 +123075,7 @@ paths: description: Validation failed. content: application/json: - schema: *799 + schema: *803 examples: missing_section: value: @@ -122898,17 +123122,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 responses: '200': description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: *801 + default: *805 '403': *27 '404': *6 x-github: @@ -122932,9 +123156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 requestBody: required: true content: @@ -123014,7 +123238,7 @@ paths: login: type: string description: The username of the user credited. - type: *472 + type: *474 required: - login - type @@ -123105,10 +123329,10 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: *801 - add_credit: *801 + default: *805 + add_credit: *805 '403': *27 '404': *6 '422': @@ -123146,9 +123370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 responses: '202': *34 '400': *14 @@ -123175,17 +123399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 responses: '202': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 '400': *14 '422': *15 '403': *27 @@ -123206,8 +123430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#list-pull-request-stacks parameters: - - *488 - - *489 + - *490 + - *491 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -123340,8 +123564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -123408,7 +123632,7 @@ paths: format: date-time pull_requests: type: array - items: &802 + items: &806 title: Pull Request Stack Pull Request type: object allOf: @@ -123635,8 +123859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -123685,7 +123909,7 @@ paths: format: date-time pull_requests: type: array - items: *802 + items: *806 examples: default: value: @@ -123805,8 +124029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -123878,7 +124102,7 @@ paths: format: date-time pull_requests: type: array - items: *802 + items: *806 examples: default: value: @@ -124085,8 +124309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -124135,7 +124359,7 @@ paths: format: date-time pull_requests: type: array - items: *802 + items: *806 examples: default: value: @@ -124241,8 +124465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -124336,8 +124560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -124379,8 +124603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-repository-star-history parameters: - - *488 - - *489 + - *490 + - *491 - name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -124476,8 +124700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -124486,7 +124710,7 @@ paths: application/json: schema: type: array - items: &803 + items: &807 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -124519,8 +124743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -124598,8 +124822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -124693,8 +124917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -124848,8 +125072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -124859,7 +125083,7 @@ paths: application/json: schema: type: array - items: *803 + items: *807 examples: default: value: @@ -124892,8 +125116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *488 - - *489 + - *490 + - *491 - name: sha in: path required: true @@ -124949,7 +125173,7 @@ paths: description: Response content: application/json: - schema: *804 + schema: *808 examples: default: value: @@ -125003,8 +125227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -125036,14 +125260,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &805 + schema: &809 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -125116,8 +125340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -125143,7 +125367,7 @@ paths: description: Response content: application/json: - schema: *805 + schema: *809 examples: default: value: @@ -125170,8 +125394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -125191,8 +125415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -125274,8 +125498,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *488 - - *489 + - *490 + - *491 - name: ref in: path required: true @@ -125311,8 +125535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -125324,7 +125548,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 headers: Link: *42 '404': *6 @@ -125344,8 +125568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *488 - - *489 + - *490 + - *491 - *19 - *17 responses: @@ -125353,7 +125577,7 @@ paths: description: Response content: application/json: - schema: &806 + schema: &810 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -125365,7 +125589,7 @@ paths: required: - names examples: - default: &807 + default: &811 value: names: - octocat @@ -125388,8 +125612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -125420,9 +125644,9 @@ paths: description: Response content: application/json: - schema: *806 + schema: *810 examples: - default: *807 + default: *811 '404': *6 '422': *7 x-github: @@ -125443,9 +125667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *488 - - *489 - - &808 + - *490 + - *491 + - &812 name: per description: The time frame to display results for. in: query @@ -125476,7 +125700,7 @@ paths: - 128 clones: type: array - items: &809 + items: &813 title: Traffic type: object properties: @@ -125563,8 +125787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -125658,8 +125882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -125722,9 +125946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *488 - - *489 - - *808 + - *490 + - *491 + - *812 responses: '200': description: Response @@ -125745,7 +125969,7 @@ paths: - 3782 views: type: array - items: *809 + items: *813 required: - uniques - count @@ -125822,8 +126046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -126096,8 +126320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -126120,8 +126344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -126143,8 +126367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -126170,8 +126394,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *488 - - *489 + - *490 + - *491 - name: ref in: path required: true @@ -126263,9 +126487,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -126416,7 +126640,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &817 + - &821 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -126426,7 +126650,7 @@ paths: type: string examples: - members - - &822 + - &826 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -126438,7 +126662,7 @@ paths: format: int32 examples: - 1 - - &823 + - &827 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -126482,7 +126706,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &812 + items: &816 allOf: - type: object required: @@ -126564,7 +126788,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &824 + meta: &828 type: object description: The metadata associated with the creation/updates to the user. @@ -126629,30 +126853,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &813 + '400': &817 description: Bad request content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '401': *811 - '403': &814 + schema: *814 + '401': *815 + '403': &818 description: Permission denied - '429': &815 + '429': &819 description: Too many requests content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '500': &816 + schema: *814 + '500': &820 description: Internal server error content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 + schema: *814 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126676,7 +126900,7 @@ paths: required: true content: application/json: - schema: &820 + schema: &824 type: object required: - schemas @@ -126740,9 +126964,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *812 + schema: *816 examples: - group: &818 + group: &822 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -126761,13 +126985,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *813 - '401': *811 - '403': *814 - '409': &821 + '400': *817 + '401': *815 + '403': *818 + '409': &825 description: Duplicate record detected - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126784,7 +127008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &819 + - &823 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -126793,22 +127017,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *817 + - *821 - *36 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *812 + schema: *816 examples: - default: *818 - '400': *813 - '401': *811 - '403': *814 + default: *822 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126827,13 +127051,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *819 + - *823 - *36 requestBody: required: true content: application/json: - schema: *820 + schema: *824 examples: group: summary: Group @@ -126859,17 +127083,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *812 + schema: *816 examples: - group: *818 - groupWithMembers: *818 - '400': *813 - '401': *811 - '403': *814 + group: *822 + groupWithMembers: *822 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126893,13 +127117,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *819 + - *823 - *36 requestBody: required: true content: application/json: - schema: &831 + schema: &835 type: object required: - Operations @@ -126959,17 +127183,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *812 + schema: *816 examples: - updateGroup: *818 - addMembers: *818 - '400': *813 - '401': *811 - '403': *814 + updateGroup: *822 + addMembers: *822 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -126985,17 +127209,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *819 + - *823 - *36 responses: '204': description: Group was deleted, no content - '400': *813 - '401': *811 - '403': *814 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127029,8 +127253,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *822 - - *823 + - *826 + - *827 - *36 responses: '200': @@ -127064,7 +127288,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &826 + items: &830 allOf: - type: object required: @@ -127156,7 +127380,7 @@ paths: address. examples: - true - roles: &825 + roles: &829 type: array description: The roles assigned to the user. items: @@ -127215,7 +127439,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *824 + meta: *828 startIndex: type: integer description: A starting index for the returned page @@ -127254,11 +127478,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *813 - '401': *811 - '403': *814 - '429': *815 - '500': *816 + '400': *817 + '401': *815 + '403': *818 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127282,7 +127506,7 @@ paths: required: true content: application/json: - schema: &829 + schema: &833 type: object required: - schemas @@ -127375,9 +127599,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *825 + roles: *829 examples: - user: &830 + user: &834 summary: User value: schemas: @@ -127424,9 +127648,9 @@ paths: description: User has been created content: application/scim+json: - schema: *826 + schema: *830 examples: - user: &827 + user: &831 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -127452,13 +127676,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *827 - '400': *813 - '401': *811 - '403': *814 - '409': *821 - '429': *815 - '500': *816 + enterpriseOwner: *831 + '400': *817 + '401': *815 + '403': *818 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127475,7 +127699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &828 + - &832 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -127488,15 +127712,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *826 + schema: *830 examples: - default: *827 - '400': *813 - '401': *811 - '403': *814 + default: *831 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127547,30 +127771,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *828 + - *832 - *36 requestBody: required: true content: application/json: - schema: *829 + schema: *833 examples: - user: *830 + user: *834 responses: '200': description: User was updated content: application/scim+json: - schema: *826 + schema: *830 examples: - user: *827 - '400': *813 - '401': *811 - '403': *814 + user: *831 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127611,13 +127835,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *828 + - *832 - *36 requestBody: required: true content: application/json: - schema: *831 + schema: *835 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -127657,18 +127881,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *826 - examples: - userMultiValuedProperties: *827 - userSingleValuedProperties: *827 - disableUser: *827 - '400': *813 - '401': *811 - '403': *814 + schema: *830 + examples: + userMultiValuedProperties: *831 + userSingleValuedProperties: *831 + disableUser: *831 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127688,17 +127912,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *828 + - *832 - *36 responses: '204': description: User was deleted, no content - '400': *813 - '401': *811 - '403': *814 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -127789,7 +128013,7 @@ paths: - 1 Resources: type: array - items: &832 + items: &836 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -128044,22 +128268,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *32 - '404': &833 + '404': &837 description: Resource not found content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '403': &834 + schema: *814 + '403': &838 description: Forbidden content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '400': *813 - '429': *815 + schema: *814 + '400': *817 + '429': *819 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -128085,9 +128309,9 @@ paths: description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: &835 + default: &839 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -128111,17 +128335,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *32 - '404': *833 - '403': *834 - '500': *816 + '404': *837 + '403': *838 + '500': *820 '409': description: Conflict content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '400': *813 + schema: *814 + '400': *817 requestBody: required: true content: @@ -128221,17 +128445,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *84 - - *828 + - *832 responses: '200': description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: *835 - '404': *833 - '403': *834 + default: *839 + '404': *837 + '403': *838 '304': *32 x-github: githubCloudOnly: true @@ -128255,18 +128479,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *84 - - *828 + - *832 responses: '200': description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: *835 + default: *839 '304': *32 - '404': *833 - '403': *834 + '404': *837 + '403': *838 requestBody: required: true content: @@ -128381,19 +128605,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *84 - - *828 + - *832 responses: '200': description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: *835 + default: *839 '304': *32 - '404': *833 - '403': *834 - '400': *813 + '404': *837 + '403': *838 + '400': *817 '429': description: Response content: @@ -128489,12 +128713,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *84 - - *828 + - *832 responses: '204': description: Response - '404': *833 - '403': *834 + '404': *837 + '403': *838 '304': *32 x-github: githubCloudOnly: true @@ -128628,7 +128852,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &836 + text_matches: &840 title: Search Result Text Matches type: array items: @@ -128792,7 +129016,7 @@ paths: enum: - author-date - committer-date - - &837 + - &841 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -128861,7 +129085,7 @@ paths: committer: anyOf: - type: 'null' - - *538 + - *540 comment_count: type: integer message: @@ -128880,7 +129104,7 @@ paths: url: type: string format: uri - verification: *662 + verification: *666 required: - author - committer @@ -128895,7 +129119,7 @@ paths: committer: anyOf: - type: 'null' - - *538 + - *540 parents: type: array items: @@ -128912,7 +129136,7 @@ paths: type: number node_id: type: string - text_matches: *836 + text_matches: *840 required: - sha - node_id @@ -129105,7 +129329,7 @@ paths: - interactions - created - updated - - *837 + - *841 - *17 - *19 - name: advanced_search @@ -129219,11 +129443,11 @@ paths: type: - string - 'null' - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: type: string state_reason: @@ -129233,7 +129457,7 @@ paths: milestone: anyOf: - type: 'null' - - *421 + - *423 comments: type: integer created_at: @@ -129247,7 +129471,7 @@ paths: - string - 'null' format: date-time - text_matches: *836 + text_matches: *840 pull_request: type: object properties: @@ -129296,7 +129520,7 @@ paths: timeline_url: type: string format: uri - type: *387 + type: *389 performed_via_github_app: anyOf: - type: 'null' @@ -129521,7 +129745,7 @@ paths: enum: - created - updated - - *837 + - *841 - *17 - *19 responses: @@ -129566,7 +129790,7 @@ paths: - 'null' score: type: number - text_matches: *836 + text_matches: *840 required: - id - node_id @@ -129652,7 +129876,7 @@ paths: - forks - help-wanted-issues - updated - - *837 + - *841 - *17 - *19 responses: @@ -129898,7 +130122,7 @@ paths: - admin - pull - push - text_matches: *836 + text_matches: *840 temp_clone_token: type: string allow_merge_commit: @@ -130207,7 +130431,7 @@ paths: - string - 'null' format: uri - text_matches: *836 + text_matches: *840 related: type: - array @@ -130402,7 +130626,7 @@ paths: - followers - repositories - joined - - *837 + - *841 - *17 - *19 responses: @@ -130512,7 +130736,7 @@ paths: type: - boolean - 'null' - text_matches: *836 + text_matches: *840 blog: type: - string @@ -130594,7 +130818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &840 + - &844 name: team_id description: The unique identifier of the team. in: path @@ -130606,9 +130830,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 x-github: githubCloudOnly: false @@ -130635,7 +130859,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *840 + - *844 requestBody: required: true content: @@ -130705,16 +130929,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '201': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 '422': *15 '403': *27 @@ -130742,7 +130966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *840 + - *844 responses: '204': description: Response @@ -130771,7 +130995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *840 + - *844 - *17 - *19 responses: @@ -130781,9 +131005,9 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 headers: Link: *42 x-github: @@ -130811,7 +131035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *840 + - *844 - name: role description: Filters members returned by their role in the team. in: query @@ -130832,9 +131056,9 @@ paths: application/json: schema: type: array - items: *841 + items: *845 examples: - default: *842 + default: *846 headers: Link: *42 '404': *6 @@ -130862,7 +131086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -130899,7 +131123,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -130939,7 +131163,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -130976,16 +131200,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *840 + - *844 - *127 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - response-if-user-is-a-team-maintainer: *843 + response-if-user-is-a-team-maintainer: *847 '404': *6 x-github: githubCloudOnly: false @@ -131018,7 +131242,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *840 + - *844 - *127 requestBody: required: false @@ -131044,9 +131268,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - response-if-users-membership-with-team-is-now-pending: *844 + response-if-users-membership-with-team-is-now-pending: *848 '403': description: Forbidden if team synchronization is set up '422': @@ -131080,7 +131304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -131108,7 +131332,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *840 + - *844 - *17 - *19 responses: @@ -131120,7 +131344,7 @@ paths: type: array items: *280 examples: - default: *415 + default: *417 headers: Link: *42 '404': *6 @@ -131150,15 +131374,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *840 - - *488 - - *489 + - *844 + - *490 + - *491 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *845 + schema: *849 examples: alternative-response-with-extra-repository-information: value: @@ -131308,9 +131532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *840 - - *488 - - *489 + - *844 + - *490 + - *491 requestBody: required: false content: @@ -131360,9 +131584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *840 - - *488 - - *489 + - *844 + - *490 + - *491 responses: '204': description: Response @@ -131391,15 +131615,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *840 + - *844 responses: '200': description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 '403': *27 '404': *6 x-github: @@ -131426,7 +131650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *840 + - *844 requestBody: required: true content: @@ -131487,7 +131711,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: default: value: @@ -131518,7 +131742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *840 + - *844 - *17 - *19 responses: @@ -131530,7 +131754,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: *846 + response-if-child-teams-exist: *850 headers: Link: *42 '404': *6 @@ -131565,7 +131789,7 @@ paths: application/json: schema: oneOf: - - &847 + - &851 title: Private User description: Private User type: object @@ -131815,7 +132039,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &873 + - &877 title: Public User description: Public User type: object @@ -132149,7 +132373,7 @@ paths: description: Response content: application/json: - schema: *847 + schema: *851 examples: default: value: @@ -132352,9 +132576,9 @@ paths: type: integer codespaces: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 '304': *32 '500': *35 '401': *23 @@ -132493,17 +132717,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '401': *23 '403': *27 '404': *6 @@ -132547,7 +132771,7 @@ paths: type: integer secrets: type: array - items: &848 + items: &852 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -132589,7 +132813,7 @@ paths: - visibility - selected_repositories_url examples: - default: *595 + default: *599 headers: Link: *42 x-github: @@ -132667,7 +132891,7 @@ paths: description: Response content: application/json: - schema: *848 + schema: *852 examples: default: value: @@ -132813,7 +133037,7 @@ paths: type: array items: *280 examples: - default: *332 + default: *334 '401': *23 '403': *27 '404': *6 @@ -132957,15 +133181,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '304': *32 '500': *35 '401': *23 @@ -132991,7 +133215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 requestBody: required: false content: @@ -133021,9 +133245,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '401': *23 '403': *27 '404': *6 @@ -133045,7 +133269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '202': *34 '304': *32 @@ -133074,13 +133298,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '202': description: Response content: application/json: - schema: &849 + schema: &853 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -133133,7 +133357,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &850 + default: &854 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -133165,7 +133389,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *394 + - *396 - name: export_id in: path required: true @@ -133178,9 +133402,9 @@ paths: description: Response content: application/json: - schema: *849 + schema: *853 examples: - default: *850 + default: *854 '404': *6 x-github: githubCloudOnly: false @@ -133201,7 +133425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *394 + - *396 responses: '200': description: Response @@ -133217,9 +133441,9 @@ paths: type: integer machines: type: array - items: *594 + items: *598 examples: - default: *851 + default: *855 '304': *32 '500': *35 '401': *23 @@ -133248,7 +133472,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *394 + - *396 requestBody: required: true content: @@ -133304,11 +133528,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *493 + repository: *495 machine: anyOf: - type: 'null' - - *594 + - *598 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -134105,15 +134329,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '304': *32 '500': *35 '400': *14 @@ -134145,15 +134369,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '500': *35 '401': *23 '403': *27 @@ -134183,9 +134407,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: &863 + default: &867 value: - id: 197 name: hello_docker @@ -134286,7 +134510,7 @@ paths: application/json: schema: type: array - items: &852 + items: &856 title: Email description: Email type: object @@ -134356,9 +134580,9 @@ paths: application/json: schema: type: array - items: *852 + items: *856 examples: - default: &865 + default: &869 value: - email: octocat@github.com verified: true @@ -134435,7 +134659,7 @@ paths: application/json: schema: type: array - items: *852 + items: *856 examples: default: value: @@ -134693,7 +134917,7 @@ paths: application/json: schema: type: array - items: &853 + items: &857 title: GPG Key description: A unique encryption key type: object @@ -134838,7 +135062,7 @@ paths: - subkeys - revoked examples: - default: &883 + default: &887 value: - id: 3 name: Octocat's GPG Key @@ -134923,9 +135147,9 @@ paths: description: Response content: application/json: - schema: *853 + schema: *857 examples: - default: &854 + default: &858 value: id: 3 name: Octocat's GPG Key @@ -134982,7 +135206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &855 + - &859 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -134994,9 +135218,9 @@ paths: description: Response content: application/json: - schema: *853 + schema: *857 examples: - default: *854 + default: *858 '404': *6 '304': *32 '403': *27 @@ -135019,7 +135243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *855 + - *859 responses: '204': description: Response @@ -135307,12 +135531,12 @@ paths: application/json: schema: anyOf: - - *379 + - *381 - type: object properties: {} additionalProperties: false examples: - default: *380 + default: *382 '204': description: Response when there are no restrictions x-github: @@ -135336,7 +135560,7 @@ paths: required: true content: application/json: - schema: *672 + schema: *676 examples: default: value: @@ -135347,7 +135571,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -135428,7 +135652,7 @@ paths: - closed - all default: open - - *390 + - *392 - name: sort description: What to sort results by. in: query @@ -135453,7 +135677,7 @@ paths: type: array items: *221 examples: - default: *391 + default: *393 headers: Link: *42 '404': *6 @@ -135486,7 +135710,7 @@ paths: application/json: schema: type: array - items: &856 + items: &860 title: Key description: Key type: object @@ -135589,9 +135813,9 @@ paths: description: Response content: application/json: - schema: *856 + schema: *860 examples: - default: &857 + default: &861 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -135624,15 +135848,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *721 + - *725 responses: '200': description: Response content: application/json: - schema: *856 + schema: *860 examples: - default: *857 + default: *861 '404': *6 '304': *32 '403': *27 @@ -135655,7 +135879,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *721 + - *725 responses: '204': description: Response @@ -135688,7 +135912,7 @@ paths: application/json: schema: type: array - items: &858 + items: &862 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -135767,7 +135991,7 @@ paths: - account - plan examples: - default: &859 + default: &863 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -135829,9 +136053,9 @@ paths: application/json: schema: type: array - items: *858 + items: *862 examples: - default: *859 + default: *863 headers: Link: *42 '304': *32 @@ -135871,7 +136095,7 @@ paths: application/json: schema: type: array - items: *395 + items: *397 examples: default: value: @@ -135985,7 +136209,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -136072,9 +136296,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *395 + schema: *397 examples: - default: &860 + default: &864 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -136121,9 +136345,9 @@ paths: processed asynchronously. content: application/json: - schema: *395 + schema: *397 examples: - default: *860 + default: *864 '403': *27 '404': *6 '422': *15 @@ -136152,7 +136376,7 @@ paths: application/json: schema: type: array - items: *397 + items: *399 examples: default: value: @@ -136414,7 +136638,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -136594,7 +136818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *398 + - *400 - name: exclude in: query required: false @@ -136607,7 +136831,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -136801,7 +137025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *398 + - *400 responses: '302': description: Response @@ -136827,7 +137051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *398 + - *400 responses: '204': description: Response @@ -136856,8 +137080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *398 - - *861 + - *400 + - *865 responses: '204': description: Response @@ -136881,7 +137105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *398 + - *400 - *17 - *19 responses: @@ -136970,7 +137194,7 @@ paths: - docker - nuget - container - - *862 + - *866 - *19 - *17 responses: @@ -136980,10 +137204,10 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *863 - '400': *864 + default: *867 + '400': *868 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -137003,16 +137227,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: &884 + default: &888 value: id: 40201 name: octo-name @@ -137125,8 +137349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 responses: '204': description: Response @@ -137156,8 +137380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 - name: token description: package token schema: @@ -137189,8 +137413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 - *19 - *17 - name: state @@ -137210,7 +137434,7 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: default: value: @@ -137259,15 +137483,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -137303,9 +137527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 responses: '204': description: Response @@ -137335,9 +137559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 responses: '204': description: Response @@ -137374,9 +137598,9 @@ paths: application/json: schema: type: array - items: *852 + items: *856 examples: - default: *865 + default: *869 headers: Link: *42 '304': *32 @@ -137489,7 +137713,7 @@ paths: type: array items: *75 examples: - default: &872 + default: &876 summary: Default response value: - id: 1296269 @@ -137807,9 +138031,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -137848,9 +138072,9 @@ paths: application/json: schema: type: array - items: *675 + items: *679 examples: - default: *866 + default: *870 headers: Link: *42 '304': *32 @@ -137873,7 +138097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *383 + - *385 responses: '204': description: Response @@ -137897,7 +138121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *383 + - *385 responses: '204': description: Response @@ -137930,7 +138154,7 @@ paths: application/json: schema: type: array - items: &867 + items: &871 title: Social account description: Social media account type: object @@ -137947,7 +138171,7 @@ paths: - provider - url examples: - default: &868 + default: &872 value: - provider: twitter url: https://twitter.com/github @@ -138010,9 +138234,9 @@ paths: application/json: schema: type: array - items: *867 + items: *871 examples: - default: *868 + default: *872 '422': *15 '304': *32 '404': *6 @@ -138100,7 +138324,7 @@ paths: application/json: schema: type: array - items: &869 + items: &873 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -138120,7 +138344,7 @@ paths: - title - created_at examples: - default: &898 + default: &902 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -138185,9 +138409,9 @@ paths: description: Response content: application/json: - schema: *869 + schema: *873 examples: - default: &870 + default: &874 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -138217,7 +138441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &871 + - &875 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -138229,9 +138453,9 @@ paths: description: Response content: application/json: - schema: *869 + schema: *873 examples: - default: *870 + default: *874 '404': *6 '304': *32 '403': *27 @@ -138254,7 +138478,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *871 + - *875 responses: '204': description: Response @@ -138283,7 +138507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &899 + - &903 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -138308,11 +138532,11 @@ paths: type: array items: *75 examples: - default-response: *872 + default-response: *876 application/vnd.github.v3.star+json: schema: type: array - items: &900 + items: &904 title: Starred Repository description: Starred Repository type: object @@ -138468,8 +138692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response if this repository is starred by you @@ -138497,8 +138721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -138522,8 +138746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -138558,7 +138782,7 @@ paths: type: array items: *280 examples: - default: *415 + default: *417 headers: Link: *42 '304': *32 @@ -138595,7 +138819,7 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: default: value: @@ -138681,10 +138905,10 @@ paths: application/json: schema: oneOf: - - *847 - - *873 + - *851 + - *877 examples: - default-response: &877 + default-response: &881 summary: Default response value: login: octocat @@ -138719,7 +138943,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &878 + response-with-git-hub-plan-information: &882 summary: Response with GitHub plan information value: login: octocat @@ -138776,14 +139000,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &875 + - &879 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *420 + - *422 requestBody: required: true description: Details of the draft item to create in the project. @@ -138817,9 +139041,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: - draft_issue: *426 + draft_issue: *428 '304': *32 '403': *27 '401': *23 @@ -138842,7 +139066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *874 + - *878 - *17 responses: '200': @@ -138877,8 +139101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *875 - - *420 + - *879 + - *422 requestBody: required: true content: @@ -138993,17 +139217,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *876 + schema: *880 examples: table_view: summary: Response for creating a table view - value: *430 + value: *432 board_view: summary: Response for creating a board view with filter - value: *430 + value: *432 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *432 '304': *32 '403': *27 '401': *23 @@ -139049,11 +139273,11 @@ paths: application/json: schema: oneOf: - - *847 - - *873 + - *851 + - *877 examples: - default-response: *877 - response-with-git-hub-plan-information: *878 + default-response: *881 + response-with-git-hub-plan-information: *882 '404': *6 x-github: githubCloudOnly: false @@ -139103,8 +139327,8 @@ paths: required: - subject_digests examples: - default: *879 - withPredicateType: *880 + default: *883 + withPredicateType: *884 responses: '200': description: Response @@ -139144,7 +139368,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *881 + default: *885 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -139333,7 +139557,7 @@ paths: initiator: type: string examples: - default: *534 + default: *536 '201': description: Response content: @@ -139400,7 +139624,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *328 + items: *330 examples: default: summary: Example response for listing user copilot spaces @@ -139615,9 +139839,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: &882 + default: &886 summary: Example response for a user copilot space value: id: 42 @@ -139716,9 +139940,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *882 + default: *886 '403': *27 '404': *6 x-github: @@ -139842,9 +140066,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *882 + default: *886 '403': *27 '404': *6 '422': *15 @@ -139921,7 +140145,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *330 + items: *332 examples: default: value: @@ -140064,7 +140288,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: default: value: @@ -140175,7 +140399,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: default: value: @@ -140305,7 +140529,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *331 + items: *333 examples: default: value: @@ -140397,7 +140621,7 @@ paths: description: Resource created content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -140413,7 +140637,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -140466,7 +140690,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -140533,7 +140757,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -140610,9 +140834,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *863 + default: *867 '403': *27 '401': *23 x-github: @@ -141002,9 +141226,9 @@ paths: application/json: schema: type: array - items: *853 + items: *857 examples: - default: *883 + default: *887 headers: Link: *42 x-github: @@ -141108,7 +141332,7 @@ paths: application/json: schema: *20 examples: - default: *377 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141233,7 +141457,7 @@ paths: - docker - nuget - container - - *862 + - *866 - *127 - *19 - *17 @@ -141244,12 +141468,12 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *863 + default: *867 '403': *27 '401': *23 - '400': *864 + '400': *868 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141269,17 +141493,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *884 + default: *888 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -141300,8 +141524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 responses: '204': @@ -141334,8 +141558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 - name: token description: package token @@ -141368,8 +141592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 responses: '200': @@ -141378,7 +141602,7 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: default: value: @@ -141436,16 +141660,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 - *127 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -141480,10 +141704,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *404 - - *405 - - *127 + - *406 - *407 + - *127 + - *409 responses: '204': description: Response @@ -141515,10 +141739,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *404 - - *405 - - *127 + - *406 - *407 + - *127 + - *409 responses: '204': description: Response @@ -141559,9 +141783,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *42 '304': *32 @@ -141583,16 +141807,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *420 + - *422 - *127 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *42 '304': *32 @@ -141614,7 +141838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *420 + - *422 - *127 - *17 - *105 @@ -141626,9 +141850,9 @@ paths: application/json: schema: type: array - items: *423 + items: *425 examples: - default: *885 + default: *889 headers: Link: *42 '304': *32 @@ -141650,7 +141874,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *127 - - *420 + - *422 requestBody: required: true content: @@ -141688,7 +141912,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *886 + items: *890 required: - name - data_type @@ -141704,7 +141928,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *887 + iteration_configuration: *891 required: - name - data_type @@ -141726,20 +141950,20 @@ paths: value: name: Due date data_type: date - single_select_field: *888 - iteration_field: *889 + single_select_field: *892 + iteration_field: *893 responses: '201': description: Response content: application/json: - schema: *423 + schema: *425 examples: - text_field: *890 - number_field: *891 - date_field: *892 - single_select_field: *893 - iteration_field: *894 + text_field: *894 + number_field: *895 + date_field: *896 + single_select_field: *897 + iteration_field: *898 '304': *32 '403': *27 '401': *23 @@ -141760,17 +141984,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *420 - - *895 + - *422 + - *899 - *127 responses: '200': description: Response content: application/json: - schema: *423 + schema: *425 examples: - default: *896 + default: *900 headers: Link: *42 '304': *32 @@ -141793,7 +142017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *420 + - *422 - *127 - *105 - *106 @@ -141826,9 +142050,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -141850,7 +142074,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *127 - - *420 + - *422 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -141920,22 +142144,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *428 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *428 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *428 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *428 '304': *32 '403': *27 '401': *23 @@ -141955,9 +142179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *420 + - *422 - *127 - - *429 + - *431 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -141977,9 +142201,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -142000,9 +142224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *420 + - *422 - *127 - - *429 + - *431 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -142075,13 +142299,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *430 + number_field: *430 + date_field: *430 + single_select_field: *430 + iteration_field: *430 '401': *23 '403': *27 '404': *6 @@ -142101,9 +142325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *420 + - *422 - *127 - - *429 + - *431 responses: '204': description: Response @@ -142125,9 +142349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *420 + - *422 - *127 - - *897 + - *901 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -142153,9 +142377,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -142376,7 +142600,7 @@ paths: type: array items: *280 examples: - default: *415 + default: *417 headers: Link: *42 x-github: @@ -142406,9 +142630,9 @@ paths: application/json: schema: type: array - items: *867 + items: *871 examples: - default: *868 + default: *872 headers: Link: *42 x-github: @@ -142438,9 +142662,9 @@ paths: application/json: schema: type: array - items: *869 + items: *873 examples: - default: *898 + default: *902 headers: Link: *42 x-github: @@ -142467,7 +142691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *127 - - *899 + - *903 - *107 - *17 - *19 @@ -142479,11 +142703,11 @@ paths: schema: anyOf: - type: array - items: *900 + items: *904 - type: array items: *75 examples: - default-response: *872 + default-response: *876 headers: Link: *42 x-github: @@ -142514,7 +142738,7 @@ paths: type: array items: *280 examples: - default: *415 + default: *417 headers: Link: *42 x-github: @@ -142643,7 +142867,7 @@ webhooks: type: string enum: - disabled - enterprise: &901 + enterprise: &905 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -142712,7 +142936,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &902 + installation: &906 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -142733,7 +142957,7 @@ webhooks: required: - id - node_id - organization: &903 + organization: &907 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -142806,7 +143030,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &904 + repository: &908 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -143721,10 +143945,10 @@ webhooks: type: string enum: - enabled - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -143800,11 +144024,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - rule: &905 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + rule: &909 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -144027,11 +144251,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - rule: *905 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + rule: *909 sender: *4 required: - action @@ -144219,11 +144443,11 @@ webhooks: - everyone required: - from - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - rule: *905 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + rule: *909 sender: *4 required: - action @@ -144296,7 +144520,7 @@ webhooks: required: true content: application/json: - schema: &925 + schema: &929 title: Exemption request cancellation event type: object properties: @@ -144304,11 +144528,11 @@ webhooks: type: string enum: - cancelled - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: &906 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: &910 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -144617,7 +144841,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &907 + items: &911 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -144729,7 +144953,7 @@ webhooks: required: true content: application/json: - schema: &926 + schema: &930 title: Exemption request completed event type: object properties: @@ -144737,11 +144961,11 @@ webhooks: type: string enum: - completed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 sender: *4 required: - action @@ -144813,7 +145037,7 @@ webhooks: required: true content: application/json: - schema: &923 + schema: &927 title: Exemption request created event type: object properties: @@ -144821,11 +145045,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 sender: *4 required: - action @@ -144897,7 +145121,7 @@ webhooks: required: true content: application/json: - schema: &927 + schema: &931 title: Exemption response dismissed event type: object properties: @@ -144905,12 +145129,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 - exemption_response: *907 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 + exemption_response: *911 sender: *4 required: - action @@ -144984,7 +145208,7 @@ webhooks: required: true content: application/json: - schema: &924 + schema: &928 title: Exemption response submitted event type: object properties: @@ -144992,12 +145216,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 - exemption_response: *907 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 + exemption_response: *911 sender: *4 required: - action @@ -145081,7 +145305,7 @@ webhooks: type: string enum: - completed - check_run: &909 + check_run: &913 title: CheckRun description: A check performed on the code of a given code change type: object @@ -145191,7 +145415,7 @@ webhooks: - examples: - neutral - deployment: *908 + deployment: *912 details_url: type: string examples: @@ -145289,10 +145513,10 @@ webhooks: - output - app - pull_requests - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 sender: *4 required: - check_run @@ -145683,11 +145907,11 @@ webhooks: type: string enum: - created - check_run: *909 - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + check_run: *913 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 sender: *4 required: - check_run @@ -146081,11 +146305,11 @@ webhooks: type: string enum: - requested_action - check_run: *909 - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + check_run: *913 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 requested_action: description: The action requested by the user. type: object @@ -146488,11 +146712,11 @@ webhooks: type: string enum: - rerequested - check_run: *909 - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + check_run: *913 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 sender: *4 required: - check_run @@ -147477,10 +147701,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -148194,10 +148418,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -148905,10 +149129,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -149077,7 +149301,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -149230,20 +149454,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &910 + commit_oid: &914 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *901 - installation: *902 - organization: *903 - ref: &911 + enterprise: *905 + installation: *906 + organization: *907 + ref: &915 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *904 + repository: *908 sender: *4 required: - action @@ -149410,7 +149634,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -149652,12 +149876,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -149755,7 +149979,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -149940,12 +150164,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -150114,7 +150338,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -150292,12 +150516,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -150398,7 +150622,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -150587,9 +150811,9 @@ webhooks: type: - string - 'null' - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -150597,7 +150821,7 @@ webhooks: type: - string - 'null' - repository: *904 + repository: *908 sender: *4 required: - action @@ -150696,7 +150920,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -150843,12 +151067,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -151017,7 +151241,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -151170,10 +151394,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -151433,10 +151657,10 @@ webhooks: - updated_at - author_association - body - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -151517,18 +151741,18 @@ webhooks: type: - string - 'null' - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *903 - pusher_type: &912 + organization: *907 + pusher_type: &916 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &913 + ref: &917 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -151538,7 +151762,7 @@ webhooks: enum: - tag - branch - repository: *904 + repository: *908 sender: *4 required: - ref @@ -151621,9 +151845,9 @@ webhooks: enum: - created definition: *154 - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -151708,9 +151932,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -151788,9 +152012,9 @@ webhooks: enum: - promote_to_enterprise definition: *154 - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -151868,9 +152092,9 @@ webhooks: enum: - updated definition: *154 - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -151947,10 +152171,10 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - repository: *904 - organization: *903 + enterprise: *905 + installation: *906 + repository: *908 + organization: *907 sender: *4 new_property_values: type: array @@ -152035,18 +152259,18 @@ webhooks: title: delete event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - pusher_type: *912 - ref: *913 + enterprise: *905 + installation: *906 + organization: *907 + pusher_type: *916 + ref: *917 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *904 + repository: *908 sender: *4 required: - ref @@ -152126,11 +152350,11 @@ webhooks: type: string enum: - assignees_changed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152210,11 +152434,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152295,11 +152519,11 @@ webhooks: type: string enum: - auto_reopened - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152380,11 +152604,11 @@ webhooks: type: string enum: - created - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152463,11 +152687,11 @@ webhooks: type: string enum: - dismissed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152546,11 +152770,11 @@ webhooks: type: string enum: - fixed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152630,11 +152854,11 @@ webhooks: type: string enum: - reintroduced - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152713,11 +152937,11 @@ webhooks: type: string enum: - reopened - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -152794,9 +153018,9 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - key: &914 + enterprise: *905 + installation: *906 + key: &918 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -152834,8 +153058,8 @@ webhooks: - verified - created_at - read_only - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -152912,11 +153136,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - key: *914 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + key: *918 + organization: *907 + repository: *908 sender: *4 required: - action @@ -153483,12 +153707,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: &918 + workflow: &922 title: Workflow type: - object @@ -154239,13 +154463,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *631 + - *635 pull_requests: type: array - items: *742 - repository: *904 - organization: *903 - installation: *902 + items: *746 + repository: *908 + organization: *907 + installation: *906 sender: *4 responses: '200': @@ -154316,7 +154540,7 @@ webhooks: type: string enum: - approved - approver: &915 + approver: &919 type: object properties: avatar_url: @@ -154359,11 +154583,11 @@ webhooks: type: string comment: type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - reviewers: &916 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + reviewers: &920 type: array items: type: object @@ -154444,7 +154668,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &917 + workflow_job_run: &921 type: object properties: conclusion: @@ -155190,18 +155414,18 @@ webhooks: type: string enum: - rejected - approver: *915 + approver: *919 comment: type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - reviewers: *916 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + reviewers: *920 sender: *4 since: type: string - workflow_job_run: *917 + workflow_job_run: *921 workflow_job_runs: type: array items: @@ -155918,13 +156142,13 @@ webhooks: type: string enum: - requested - enterprise: *901 + enterprise: *905 environment: type: string - installation: *902 - organization: *903 - repository: *904 - requestor: &928 + installation: *906 + organization: *907 + repository: *908 + requestor: &932 title: User type: - object @@ -157857,12 +158081,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: *918 + workflow: *922 workflow_run: title: Deployment Workflow Run type: @@ -158553,7 +158777,7 @@ webhooks: type: string enum: - answered - answer: &921 + answer: &925 type: object properties: author_association: @@ -158713,11 +158937,11 @@ webhooks: - created_at - updated_at - body - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -158844,11 +159068,11 @@ webhooks: - from required: - category - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -158931,11 +159155,11 @@ webhooks: type: string enum: - closed - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159017,7 +159241,7 @@ webhooks: type: string enum: - created - comment: &920 + comment: &924 type: object properties: author_association: @@ -159177,11 +159401,11 @@ webhooks: - updated_at - body - reactions - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159264,12 +159488,12 @@ webhooks: type: string enum: - deleted - comment: *920 - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + comment: *924 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159364,12 +159588,12 @@ webhooks: - from required: - body - comment: *920 - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + comment: *924 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159453,11 +159677,11 @@ webhooks: type: string enum: - created - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159539,11 +159763,11 @@ webhooks: type: string enum: - deleted - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159643,11 +159867,11 @@ webhooks: type: string required: - from - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159729,10 +159953,10 @@ webhooks: type: string enum: - labeled - discussion: *919 - enterprise: *901 - installation: *902 - label: &922 + discussion: *923 + enterprise: *905 + installation: *906 + label: &926 title: Label type: object properties: @@ -159765,8 +159989,8 @@ webhooks: - color - default - description - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159849,11 +160073,11 @@ webhooks: type: string enum: - locked - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -159935,11 +160159,11 @@ webhooks: type: string enum: - pinned - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160021,11 +160245,11 @@ webhooks: type: string enum: - reopened - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160110,16 +160334,16 @@ webhooks: changes: type: object properties: - new_discussion: *919 - new_repository: *904 + new_discussion: *923 + new_repository: *908 required: - new_discussion - new_repository - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160202,10 +160426,10 @@ webhooks: type: string enum: - unanswered - discussion: *919 - old_answer: *921 - organization: *903 - repository: *904 + discussion: *923 + old_answer: *925 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160287,12 +160511,12 @@ webhooks: type: string enum: - unlabeled - discussion: *919 - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160375,11 +160599,11 @@ webhooks: type: string enum: - unlocked - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160461,11 +160685,11 @@ webhooks: type: string enum: - unpinned - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160534,7 +160758,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160597,7 +160821,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160660,7 +160884,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160723,7 +160947,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160786,7 +161010,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160852,7 +161076,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160918,7 +161142,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -160984,7 +161208,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161050,7 +161274,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161116,7 +161340,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161181,7 +161405,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161246,7 +161470,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161311,7 +161535,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161376,7 +161600,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161442,7 +161666,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -161509,7 +161733,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *901 + enterprise: *905 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -162187,9 +162411,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - forkee @@ -162335,9 +162559,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pages: description: The pages that were updated. type: array @@ -162375,7 +162599,7 @@ webhooks: - action - sha - html_url - repository: *904 + repository: *908 sender: *4 required: - pages @@ -162451,10 +162675,10 @@ webhooks: type: string enum: - created - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: &929 + organization: *907 + repositories: &933 description: An array of repository objects that the installation can access. type: array @@ -162480,8 +162704,8 @@ webhooks: - name - full_name - private - repository: *904 - requester: *928 + repository: *908 + requester: *932 sender: *4 required: - action @@ -162556,11 +162780,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -162637,11 +162861,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -162718,10 +162942,10 @@ webhooks: type: string enum: - added - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories_added: &930 + organization: *907 + repositories_added: &934 description: An array of repository objects, which were added to the installation. type: array @@ -162768,15 +162992,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *904 - repository_selection: &931 + repository: *908 + repository_selection: &935 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *928 + requester: *932 sender: *4 required: - action @@ -162855,10 +163079,10 @@ webhooks: type: string enum: - removed - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories_added: *930 + organization: *907 + repositories_added: *934 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -162886,9 +163110,9 @@ webhooks: - name - full_name - private - repository: *904 - repository_selection: *931 - requester: *928 + repository: *908 + repository_selection: *935 + requester: *932 sender: *4 required: - action @@ -162967,11 +163191,11 @@ webhooks: type: string enum: - suspend - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -163154,10 +163378,10 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 target_type: type: string @@ -163236,11 +163460,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -163406,11 +163630,11 @@ webhooks: pin: anyOf: - type: 'null' - - *706 + - *710 minimized: anyOf: - type: 'null' - - *707 + - *711 user: title: User type: @@ -163496,8 +163720,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -164309,8 +164533,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164327,7 +164551,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -164671,8 +164895,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -164752,7 +164976,7 @@ webhooks: type: string enum: - deleted - comment: &932 + comment: &936 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -164909,11 +165133,11 @@ webhooks: pin: anyOf: - type: 'null' - - *706 + - *710 minimized: anyOf: - type: 'null' - - *707 + - *711 required: - url - html_url @@ -164927,8 +165151,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -165736,8 +165960,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165754,7 +165978,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -166100,8 +166324,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -166181,7 +166405,7 @@ webhooks: type: string enum: - edited - changes: &956 + changes: &960 description: The changes to the comment. type: object properties: @@ -166193,9 +166417,9 @@ webhooks: type: string required: - from - comment: *932 - enterprise: *901 - installation: *902 + comment: *936 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -167006,8 +167230,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167024,7 +167248,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -167368,8 +167592,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -167450,9 +167674,9 @@ webhooks: type: string enum: - pinned - comment: *932 - enterprise: *901 - installation: *902 + comment: *936 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -168265,8 +168489,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168283,7 +168507,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -168629,8 +168853,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -168710,9 +168934,9 @@ webhooks: type: string enum: - unpinned - comment: *932 - enterprise: *901 - installation: *902 + comment: *936 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -169525,8 +169749,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169543,7 +169767,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -169889,8 +170113,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -169979,9 +170203,9 @@ webhooks: type: number blocking_issue: *221 blocking_issue_repo: *75 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170070,9 +170294,9 @@ webhooks: type: number blocking_issue: *221 blocking_issue_repo: *75 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170160,9 +170384,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170251,9 +170475,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170333,10 +170557,10 @@ webhooks: type: string enum: - assigned - assignee: *928 - enterprise: *901 - installation: *902 - issue: &933 + assignee: *932 + enterprise: *905 + installation: *906 + issue: &937 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -171147,11 +171371,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171168,7 +171392,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -171271,8 +171495,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -171352,8 +171576,8 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -172169,11 +172393,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172190,7 +172414,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -172436,8 +172660,8 @@ webhooks: required: - state - closed_at - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -172516,8 +172740,8 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -173324,11 +173548,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173345,7 +173569,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -173447,8 +173671,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -173527,8 +173751,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174358,11 +174582,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174379,7 +174603,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -174460,7 +174684,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &934 + milestone: &938 title: Milestone description: A collection of related issues and pull requests. type: object @@ -174603,8 +174827,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -174703,8 +174927,8 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175515,11 +175739,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175533,7 +175757,7 @@ webhooks: timeline_url: type: string format: uri - type: *387 + type: *389 title: description: Title of the issue type: string @@ -175639,9 +175863,9 @@ webhooks: - active_lock_reason - body - reactions - label: *922 - organization: *903 - repository: *904 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -175721,9 +175945,9 @@ webhooks: type: string enum: - field_added - enterprise: *901 - installation: *902 - issue: *933 + enterprise: *905 + installation: *906 + issue: *937 issue_field: type: object description: The issue field whose value was set or updated on the @@ -175889,8 +176113,8 @@ webhooks: - id required: - from - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -175970,9 +176194,9 @@ webhooks: type: string enum: - field_removed - enterprise: *901 - installation: *902 - issue: *933 + enterprise: *905 + installation: *906 + issue: *937 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -176059,8 +176283,8 @@ webhooks: - 'null' required: - id - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -176140,8 +176364,8 @@ webhooks: type: string enum: - labeled - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176951,11 +177175,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176969,7 +177193,7 @@ webhooks: timeline_url: type: string format: uri - type: *387 + type: *389 title: description: Title of the issue type: string @@ -177075,9 +177299,9 @@ webhooks: - active_lock_reason - body - reactions - label: *922 - organization: *903 - repository: *904 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -177157,8 +177381,8 @@ webhooks: type: string enum: - locked - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177993,11 +178217,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178011,7 +178235,7 @@ webhooks: timeline_url: type: string format: uri - type: *387 + type: *389 title: description: Title of the issue type: string @@ -178094,8 +178318,8 @@ webhooks: format: uri user_view_type: type: string - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -178174,8 +178398,8 @@ webhooks: type: string enum: - milestoned - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179004,11 +179228,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179025,7 +179249,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -179105,9 +179329,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *934 - organization: *903 - repository: *904 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -179994,11 +180218,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180098,7 +180322,7 @@ webhooks: required: - login - id - type: *387 + type: *389 required: - id - number @@ -180590,8 +180814,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -181398,11 +181622,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -181419,7 +181643,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -181525,8 +181749,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -181606,9 +181830,9 @@ webhooks: type: string enum: - pinned - enterprise: *901 - installation: *902 - issue: &935 + enterprise: *905 + installation: *906 + issue: &939 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -182413,11 +182637,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -182434,7 +182658,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -182536,8 +182760,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -182616,8 +182840,8 @@ webhooks: type: string enum: - reopened - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -183450,11 +183674,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -183551,9 +183775,9 @@ webhooks: format: uri user_view_type: type: string - type: *387 - organization: *903 - repository: *904 + type: *389 + organization: *907 + repository: *908 sender: *4 required: - action @@ -184441,11 +184665,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -184462,7 +184686,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -185055,11 +185279,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *901 - installation: *902 - issue: *935 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *939 + organization: *907 + repository: *908 sender: *4 required: - action @@ -185139,12 +185363,12 @@ webhooks: type: string enum: - typed - enterprise: *901 - installation: *902 - issue: *933 - type: *387 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + type: *389 + organization: *907 + repository: *908 sender: *4 required: - action @@ -185225,7 +185449,7 @@ webhooks: type: string enum: - unassigned - assignee: &959 + assignee: &963 title: User type: - object @@ -185297,11 +185521,11 @@ webhooks: required: - login - id - enterprise: *901 - installation: *902 - issue: *933 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + organization: *907 + repository: *908 sender: *4 required: - action @@ -185380,12 +185604,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *901 - installation: *902 - issue: *933 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -185465,8 +185689,8 @@ webhooks: type: string enum: - unlocked - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -186299,11 +186523,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -186320,7 +186544,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -186400,8 +186624,8 @@ webhooks: format: uri user_view_type: type: string - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186481,11 +186705,11 @@ webhooks: type: string enum: - unpinned - enterprise: *901 - installation: *902 - issue: *935 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *939 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186564,12 +186788,12 @@ webhooks: type: string enum: - untyped - enterprise: *901 - installation: *902 - issue: *933 - type: *387 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + type: *389 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186649,11 +186873,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186731,11 +186955,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186845,11 +187069,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186931,9 +187155,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: &936 + enterprise: *905 + installation: *906 + marketplace_purchase: &940 title: Marketplace Purchase type: object required: @@ -187021,8 +187245,8 @@ webhooks: type: integer unit_count: type: integer - organization: *903 - previous_marketplace_purchase: &937 + organization: *907 + previous_marketplace_purchase: &941 title: Marketplace Purchase type: object properties: @@ -187106,7 +187330,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *904 + repository: *908 sender: *4 required: - action @@ -187186,10 +187410,10 @@ webhooks: - changed effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: *936 - organization: *903 + enterprise: *905 + installation: *906 + marketplace_purchase: *940 + organization: *907 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -187277,7 +187501,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *904 + repository: *908 sender: *4 required: - action @@ -187359,10 +187583,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: *936 - organization: *903 + enterprise: *905 + installation: *906 + marketplace_purchase: *940 + organization: *907 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -187448,7 +187672,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *904 + repository: *908 sender: *4 required: - action @@ -187529,8 +187753,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 marketplace_purchase: title: Marketplace Purchase type: object @@ -187616,9 +187840,9 @@ webhooks: type: integer unit_count: type: integer - organization: *903 - previous_marketplace_purchase: *937 - repository: *904 + organization: *907 + previous_marketplace_purchase: *941 + repository: *908 sender: *4 required: - action @@ -187698,12 +187922,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: *936 - organization: *903 - previous_marketplace_purchase: *937 - repository: *904 + enterprise: *905 + installation: *906 + marketplace_purchase: *940 + organization: *907 + previous_marketplace_purchase: *941 + repository: *908 sender: *4 required: - action @@ -187805,11 +188029,11 @@ webhooks: type: string required: - to - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 sender: *4 required: - action @@ -187911,11 +188135,11 @@ webhooks: type: - string - 'null' - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 sender: *4 required: - action @@ -187994,11 +188218,11 @@ webhooks: type: string enum: - removed - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188076,11 +188300,11 @@ webhooks: type: string enum: - added - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 scope: description: The scope of the membership. Currently, can only be `team`. @@ -188158,7 +188382,7 @@ webhooks: required: - login - id - team: &938 + team: &942 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -188388,11 +188612,11 @@ webhooks: type: string enum: - removed - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 scope: description: The scope of the membership. Currently, can only be `team`. @@ -188471,7 +188695,7 @@ webhooks: required: - login - id - team: *938 + team: *942 required: - action - scope @@ -188553,8 +188777,8 @@ webhooks: type: string enum: - checks_requested - installation: *902 - merge_group: &939 + installation: *906 + merge_group: &943 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -188573,15 +188797,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *554 + head_commit: *556 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188667,10 +188891,10 @@ webhooks: - merged - invalidated - dequeued - installation: *902 - merge_group: *939 - organization: *903 - repository: *904 + installation: *906 + merge_group: *943 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188743,7 +188967,7 @@ webhooks: type: string enum: - deleted - enterprise: *901 + enterprise: *905 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -188852,12 +189076,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *902 - organization: *903 + installation: *906 + organization: *907 repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -188937,11 +189161,11 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 - milestone: *934 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189020,9 +189244,9 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - milestone: &940 + enterprise: *905 + installation: *906 + milestone: &944 title: Milestone description: A collection of related issues and pull requests. type: object @@ -189164,8 +189388,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189244,11 +189468,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - milestone: *934 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189358,11 +189582,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - milestone: *934 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189442,11 +189666,11 @@ webhooks: type: string enum: - opened - enterprise: *901 - installation: *902 - milestone: *940 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *944 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189525,11 +189749,11 @@ webhooks: type: string enum: - blocked - blocked_user: *928 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + blocked_user: *932 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189608,11 +189832,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *928 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + blocked_user: *932 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189688,7 +189912,7 @@ webhooks: enum: - created definition: *149 - enterprise: *901 + enterprise: *905 sender: *4 required: - action @@ -189768,8 +189992,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 sender: *4 required: - action @@ -189842,8 +190066,8 @@ webhooks: enum: - updated definition: *149 - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 sender: *4 required: - action @@ -189915,9 +190139,9 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 new_property_values: type: array @@ -190005,9 +190229,9 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - membership: &941 + enterprise: *905 + installation: *906 + membership: &945 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -190117,8 +190341,8 @@ webhooks: - role - organization_url - user - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190196,11 +190420,11 @@ webhooks: type: string enum: - member_added - enterprise: *901 - installation: *902 - membership: *941 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + membership: *945 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190279,8 +190503,8 @@ webhooks: type: string enum: - member_invited - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -190402,10 +190626,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 - user: *928 + user: *932 required: - action - invitation @@ -190483,11 +190707,11 @@ webhooks: type: string enum: - member_removed - enterprise: *901 - installation: *902 - membership: *941 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + membership: *945 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190574,11 +190798,11 @@ webhooks: properties: from: type: string - enterprise: *901 - installation: *902 - membership: *941 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + membership: *945 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190656,9 +190880,9 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 package: description: Information about the package. type: object @@ -191181,7 +191405,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &942 + items: &946 title: Ruby Gems metadata type: object properties: @@ -191278,7 +191502,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -191355,9 +191579,9 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 package: description: Information about the package. type: object @@ -191719,7 +191943,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *942 + items: *946 source_url: type: string format: uri @@ -191790,7 +192014,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -191970,12 +192194,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *901 + enterprise: *905 id: type: integer - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - id @@ -192052,7 +192276,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &943 + personal_access_token_request: &947 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -192202,10 +192426,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *901 - organization: *903 + enterprise: *905 + organization: *907 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -192282,11 +192506,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *943 - enterprise: *901 - organization: *903 + personal_access_token_request: *947 + enterprise: *905 + organization: *907 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -192362,11 +192586,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *943 - enterprise: *901 - organization: *903 + personal_access_token_request: *947 + enterprise: *905 + organization: *907 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -192441,11 +192665,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *943 - organization: *903 - enterprise: *901 + personal_access_token_request: *947 + organization: *907 + enterprise: *905 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -192550,7 +192774,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *944 + last_response: *948 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -192582,8 +192806,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 zen: description: Random string of GitHub zen. @@ -192828,10 +193052,10 @@ webhooks: - from required: - note - enterprise: *901 - installation: *902 - organization: *903 - project_card: &945 + enterprise: *905 + installation: *906 + organization: *907 + project_card: &949 title: Project Card type: object properties: @@ -192954,7 +193178,7 @@ webhooks: - creator - created_at - updated_at - repository: *904 + repository: *908 sender: *4 required: - action @@ -193035,11 +193259,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - project_card: *945 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_card: *949 + repository: *908 sender: *4 required: - action @@ -193119,9 +193343,9 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 project_card: title: Project Card type: object @@ -193251,7 +193475,7 @@ webhooks: repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -193345,11 +193569,11 @@ webhooks: - from required: - note - enterprise: *901 - installation: *902 - organization: *903 - project_card: *945 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_card: *949 + repository: *908 sender: *4 required: - action @@ -193443,9 +193667,9 @@ webhooks: - from required: - column_id - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 project_card: allOf: - title: Project Card @@ -193642,7 +193866,7 @@ webhooks: type: string required: - after_id - repository: *904 + repository: *908 sender: *4 required: - action @@ -193722,10 +193946,10 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 - organization: *903 - project: &947 + enterprise: *905 + installation: *906 + organization: *907 + project: &951 title: Project type: object properties: @@ -193852,7 +194076,7 @@ webhooks: - creator - created_at - updated_at - repository: *904 + repository: *908 sender: *4 required: - action @@ -193932,10 +194156,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - project_column: &946 + enterprise: *905 + installation: *906 + organization: *907 + project_column: &950 title: Project Column type: object properties: @@ -193975,7 +194199,7 @@ webhooks: - name - created_at - updated_at - repository: *904 + repository: *908 sender: *4 required: - action @@ -194054,14 +194278,14 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - project_column: *946 + enterprise: *905 + installation: *906 + organization: *907 + project_column: *950 repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -194150,11 +194374,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - project_column: *946 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_column: *950 + repository: *908 sender: *4 required: - action @@ -194234,11 +194458,11 @@ webhooks: type: string enum: - moved - enterprise: *901 - installation: *902 - organization: *903 - project_column: *946 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_column: *950 + repository: *908 sender: *4 required: - action @@ -194318,11 +194542,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - project: *947 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 + repository: *908 sender: *4 required: - action @@ -194402,14 +194626,14 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - project: *947 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -194510,11 +194734,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - project: *947 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 + repository: *908 sender: *4 required: - action @@ -194593,11 +194817,11 @@ webhooks: type: string enum: - reopened - enterprise: *901 - installation: *902 - organization: *903 - project: *947 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 + repository: *908 sender: *4 required: - action @@ -194678,9 +194902,9 @@ webhooks: type: string enum: - closed - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -194761,9 +194985,9 @@ webhooks: type: string enum: - created - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -194844,9 +195068,9 @@ webhooks: type: string enum: - deleted - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -194967,9 +195191,9 @@ webhooks: type: string to: type: string - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -195052,7 +195276,7 @@ webhooks: type: string enum: - archived - changes: &951 + changes: &955 type: object properties: archived_at: @@ -195068,9 +195292,9 @@ webhooks: - string - 'null' format: date-time - installation: *902 - organization: *903 - projects_v2_item: &948 + installation: *906 + organization: *907 + projects_v2_item: &952 title: Projects v2 Item description: An item belonging to a project type: object @@ -195088,7 +195312,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *424 + content_type: *426 creator: *4 created_at: type: string @@ -195210,9 +195434,9 @@ webhooks: - 'null' to: type: string - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -195294,9 +195518,9 @@ webhooks: type: string enum: - created - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -195377,9 +195601,9 @@ webhooks: type: string enum: - deleted - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -195484,7 +195708,7 @@ webhooks: oneOf: - type: string - type: integer - - &949 + - &953 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -195508,7 +195732,7 @@ webhooks: required: - id - name - - &950 + - &954 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -195548,8 +195772,8 @@ webhooks: oneOf: - type: string - type: integer - - *949 - - *950 + - *953 + - *954 type: - 'null' - string @@ -195572,9 +195796,9 @@ webhooks: - 'null' required: - body - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -195671,9 +195895,9 @@ webhooks: type: - string - 'null' - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -195756,10 +195980,10 @@ webhooks: type: string enum: - restored - changes: *951 - installation: *902 - organization: *903 - projects_v2_item: *948 + changes: *955 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -195841,9 +196065,9 @@ webhooks: type: string enum: - reopened - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -195924,9 +196148,9 @@ webhooks: type: string enum: - created - installation: *902 - organization: *903 - projects_v2_status_update: *952 + installation: *906 + organization: *907 + projects_v2_status_update: *956 sender: *4 required: - action @@ -196007,9 +196231,9 @@ webhooks: type: string enum: - deleted - installation: *902 - organization: *903 - projects_v2_status_update: *952 + installation: *906 + organization: *907 + projects_v2_status_update: *956 sender: *4 required: - action @@ -196155,9 +196379,9 @@ webhooks: - string - 'null' format: date - installation: *902 - organization: *903 - projects_v2_status_update: *952 + installation: *906 + organization: *907 + projects_v2_status_update: *956 sender: *4 required: - action @@ -196228,10 +196452,10 @@ webhooks: title: public event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - repository @@ -196308,13 +196532,13 @@ webhooks: type: string enum: - assigned - assignee: *928 - enterprise: *901 - installation: *902 - number: &953 + assignee: *932 + enterprise: *905 + installation: *906 + number: &957 description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -198539,7 +198763,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -198667,7 +198891,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -198749,10 +198973,10 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -200968,7 +201192,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -201098,7 +201322,7 @@ webhooks: - draft reason: type: string - repository: *904 + repository: *908 sender: *4 required: - action @@ -201180,10 +201404,10 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -203399,7 +203623,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -203529,7 +203753,7 @@ webhooks: - draft reason: type: string - repository: *904 + repository: *908 sender: *4 required: - action @@ -203611,13 +203835,13 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: &954 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: &958 allOf: - - *742 + - *746 - type: object properties: allow_auto_merge: @@ -203679,7 +203903,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *904 + repository: *908 sender: *4 required: - action @@ -203760,12 +203984,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -203845,12 +204069,12 @@ webhooks: type: string enum: - demilestoned - enterprise: *901 - installation: *902 - milestone: *421 - number: *953 - organization: *903 - pull_request: &955 + enterprise: *905 + installation: *906 + milestone: *423 + number: *957 + organization: *907 + pull_request: &959 title: Pull Request type: object properties: @@ -206067,7 +206291,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -206195,7 +206419,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -206275,10 +206499,10 @@ webhooks: type: string enum: - dequeued - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -208499,7 +208723,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -208642,7 +208866,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *904 + repository: *908 sender: *4 required: - action @@ -208766,12 +208990,12 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -208852,10 +209076,10 @@ webhooks: type: string enum: - enqueued - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -211076,7 +211300,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -211204,7 +211428,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -211284,11 +211508,11 @@ webhooks: type: string enum: - labeled - enterprise: *901 - installation: *902 - label: *922 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + label: *926 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -213512,7 +213736,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -213640,7 +213864,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -213721,10 +213945,10 @@ webhooks: type: string enum: - locked - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -215946,7 +216170,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -216074,7 +216298,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -216154,13 +216378,13 @@ webhooks: type: string enum: - milestoned - enterprise: *901 - installation: *902 - milestone: *421 - number: *953 - organization: *903 - pull_request: *955 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *423 + number: *957 + organization: *907 + pull_request: *959 + repository: *908 sender: *4 required: - action @@ -216240,12 +216464,12 @@ webhooks: type: string enum: - opened - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -216326,12 +216550,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -216411,12 +216635,12 @@ webhooks: type: string enum: - reopened - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -216791,9 +217015,9 @@ webhooks: - start_side - side - reactions - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: type: object properties: @@ -218904,7 +219128,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -219027,7 +219251,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *904 + repository: *908 sender: *4 required: - action @@ -219107,7 +219331,7 @@ webhooks: type: string enum: - deleted - comment: &957 + comment: &961 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -219400,9 +219624,9 @@ webhooks: - start_side - side - reactions - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: type: object properties: @@ -221501,7 +221725,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -221624,7 +221848,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *904 + repository: *908 sender: *4 required: - action @@ -221704,11 +221928,11 @@ webhooks: type: string enum: - edited - changes: *956 - comment: *957 - enterprise: *901 - installation: *902 - organization: *903 + changes: *960 + comment: *961 + enterprise: *905 + installation: *906 + organization: *907 pull_request: type: object properties: @@ -223810,7 +224034,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -223933,7 +224157,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *904 + repository: *908 sender: *4 required: - action @@ -224014,9 +224238,9 @@ webhooks: type: string enum: - dismissed - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -226128,7 +226352,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -226253,7 +226477,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 + repository: *908 review: description: The review that was affected. type: object @@ -226504,9 +226728,9 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -228615,8 +228839,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 - review: &958 + repository: *908 + review: &962 description: The review that was affected. type: object properties: @@ -228854,12 +229078,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -231082,7 +231306,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -231210,7 +231434,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_reviewer: title: User type: @@ -231296,12 +231520,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -233531,7 +233755,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -233659,7 +233883,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_team: title: Team description: Groups of organization members that gives permissions @@ -233854,12 +234078,12 @@ webhooks: type: string enum: - review_requested - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -236083,7 +236307,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -236212,7 +236436,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_reviewer: title: User type: @@ -236299,12 +236523,12 @@ webhooks: type: string enum: - review_requested - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -238519,7 +238743,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -238648,7 +238872,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_team: title: Team description: Groups of organization members that gives permissions @@ -238832,9 +239056,9 @@ webhooks: type: string enum: - submitted - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -240949,7 +241173,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -241074,8 +241298,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 - review: *958 + repository: *908 + review: *962 sender: *4 required: - action @@ -241155,9 +241379,9 @@ webhooks: type: string enum: - resolved - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -243181,7 +243405,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -243306,7 +243530,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 + repository: *908 sender: *4 thread: type: object @@ -243703,9 +243927,9 @@ webhooks: type: string enum: - unresolved - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -245713,7 +245937,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -245837,7 +246061,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 + repository: *908 sender: *4 thread: type: object @@ -246230,11 +246454,11 @@ webhooks: type: string enum: - stacked - enterprise: *901 - installation: *902 - stack: *739 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + stack: *743 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -248458,7 +248682,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -248586,7 +248810,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -248672,10 +248896,10 @@ webhooks: type: string before: type: string - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -250886,7 +251110,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -251014,7 +251238,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -251096,11 +251320,11 @@ webhooks: type: string enum: - unassigned - assignee: *959 - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + assignee: *963 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -253326,7 +253550,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -253454,7 +253678,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -253534,11 +253758,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *901 - installation: *902 - label: *922 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + label: *926 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -255753,7 +255977,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -255881,7 +256105,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -255962,10 +256186,10 @@ webhooks: type: string enum: - unlocked - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -258171,7 +258395,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -258298,7 +258522,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -258501,7 +258725,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *901 + enterprise: *905 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -258596,8 +258820,8 @@ webhooks: - url - author - committer - installation: *902 - organization: *903 + installation: *906 + organization: *907 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -259196,9 +259420,9 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 registry_package: type: object properties: @@ -259675,7 +259899,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *942 + items: *946 summary: type: string tag_name: @@ -259731,7 +259955,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -259809,9 +260033,9 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 registry_package: type: object properties: @@ -260123,7 +260347,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *942 + items: *946 summary: type: string tag_name: @@ -260173,7 +260397,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -260250,10 +260474,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - release: &960 + enterprise: *905 + installation: *906 + organization: *907 + release: &964 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -260584,7 +260808,7 @@ webhooks: - updated_at - zipball_url - body - repository: *904 + repository: *908 sender: *4 required: - action @@ -260661,11 +260885,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - release: *960 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *964 + repository: *908 sender: *4 required: - action @@ -260782,11 +261006,11 @@ webhooks: type: boolean required: - to - enterprise: *901 - installation: *902 - organization: *903 - release: *960 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *964 + repository: *908 sender: *4 required: - action @@ -260864,9 +261088,9 @@ webhooks: type: string enum: - prereleased - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -261202,7 +261426,7 @@ webhooks: - string - 'null' format: uri - repository: *904 + repository: *908 sender: *4 required: - action @@ -261278,10 +261502,10 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 - release: &961 + enterprise: *905 + installation: *906 + organization: *907 + release: &965 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -261614,7 +261838,7 @@ webhooks: - string - 'null' format: uri - repository: *904 + repository: *908 sender: *4 required: - action @@ -261690,11 +261914,11 @@ webhooks: type: string enum: - released - enterprise: *901 - installation: *902 - organization: *903 - release: *960 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *964 + repository: *908 sender: *4 required: - action @@ -261770,11 +261994,11 @@ webhooks: type: string enum: - unpublished - enterprise: *901 - installation: *902 - organization: *903 - release: *961 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *965 + repository: *908 sender: *4 required: - action @@ -261850,11 +262074,11 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - repository_advisory: *797 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + repository_advisory: *801 sender: *4 required: - action @@ -261930,11 +262154,11 @@ webhooks: type: string enum: - reported - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - repository_advisory: *797 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + repository_advisory: *801 sender: *4 required: - action @@ -262010,10 +262234,10 @@ webhooks: type: string enum: - archived - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -262090,10 +262314,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -262171,10 +262395,10 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -262259,10 +262483,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -262377,10 +262601,10 @@ webhooks: - 'null' items: type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -262452,10 +262676,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 status: type: string @@ -262536,10 +262760,10 @@ webhooks: type: string enum: - privatized - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -262616,10 +262840,10 @@ webhooks: type: string enum: - publicized - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -262713,10 +262937,10 @@ webhooks: - name required: - repository - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -262796,10 +263020,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 repository_ruleset: *188 sender: *4 required: @@ -262878,10 +263102,10 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 repository_ruleset: *188 sender: *4 required: @@ -262960,10 +263184,10 @@ webhooks: type: string enum: - edited - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 repository_ruleset: *188 changes: type: object @@ -263025,16 +263249,16 @@ webhooks: properties: added: type: array - items: *764 + items: *768 deleted: type: array - items: *764 + items: *768 updated: type: array items: type: object properties: - rule: *764 + rule: *768 changes: type: object properties: @@ -263271,10 +263495,10 @@ webhooks: - from required: - owner - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263352,10 +263576,10 @@ webhooks: type: string enum: - unarchived - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263433,7 +263657,7 @@ webhooks: type: string enum: - create - alert: &962 + alert: &966 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -263558,10 +263782,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263771,10 +263995,10 @@ webhooks: type: string enum: - dismissed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -263852,11 +264076,11 @@ webhooks: type: string enum: - reopen - alert: *962 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *966 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264058,10 +264282,10 @@ webhooks: enum: - fixed - open - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264139,7 +264363,7 @@ webhooks: type: string enum: - assigned - alert: &964 + alert: &968 type: object properties: number: *128 @@ -264286,12 +264510,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *963 + metadata: *967 assignee: *4 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264369,11 +264593,11 @@ webhooks: type: string enum: - created - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264454,11 +264678,11 @@ webhooks: type: string enum: - created - alert: *964 - installation: *902 - location: *965 - organization: *903 - repository: *904 + alert: *968 + installation: *906 + location: *969 + organization: *907 + repository: *908 sender: *4 required: - location @@ -264696,11 +264920,11 @@ webhooks: type: string enum: - metadata_created - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264777,11 +265001,11 @@ webhooks: type: string enum: - metadata_removed - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264858,11 +265082,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264940,11 +265164,11 @@ webhooks: type: string enum: - reopened - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265022,11 +265246,11 @@ webhooks: type: string enum: - resolved - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265104,12 +265328,12 @@ webhooks: type: string enum: - unassigned - alert: *964 + alert: *968 assignee: *4 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265187,11 +265411,11 @@ webhooks: type: string enum: - validated - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265321,10 +265545,10 @@ webhooks: - organization - enterprise - - repository: *904 - enterprise: *901 - installation: *902 - organization: *903 + repository: *908 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -265402,11 +265626,11 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - security_advisory: &966 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + security_advisory: &970 description: The details of the security advisory, including summary, description, and severity. type: object @@ -265579,11 +265803,11 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - security_advisory: *966 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + security_advisory: *970 sender: *4 required: - action @@ -265656,10 +265880,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -265832,11 +266056,11 @@ webhooks: from: type: object properties: - security_and_analysis: *432 - enterprise: *901 - installation: *902 - organization: *903 - repository: *493 + security_and_analysis: *434 + enterprise: *905 + installation: *906 + organization: *907 + repository: *495 sender: *4 required: - changes @@ -265914,12 +266138,12 @@ webhooks: type: string enum: - cancelled - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: &967 + sponsorship: &971 type: object properties: created_at: @@ -266224,12 +266448,12 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - sponsorship @@ -266317,12 +266541,12 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - changes @@ -266399,17 +266623,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &968 + effective_date: &972 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - sponsorship @@ -266483,7 +266707,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &969 + changes: &973 type: object properties: tier: @@ -266527,13 +266751,13 @@ webhooks: - from required: - tier - effective_date: *968 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + effective_date: *972 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - changes @@ -266610,13 +266834,13 @@ webhooks: type: string enum: - tier_changed - changes: *969 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + changes: *973 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - changes @@ -266690,10 +266914,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -266777,10 +267001,10 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -267214,15 +267438,15 @@ webhooks: type: - string - 'null' - enterprise: *901 + enterprise: *905 id: description: The unique identifier of the status. type: integer - installation: *902 + installation: *906 name: type: string - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 sha: description: The Commit SHA. @@ -267338,9 +267562,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267429,9 +267653,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267520,9 +267744,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267611,9 +267835,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267689,12 +267913,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - team: &970 + team: &974 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -267924,9 +268148,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -268396,7 +268620,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -268472,9 +268696,9 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -268944,7 +269168,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -269021,9 +269245,9 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -269493,7 +269717,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -269637,9 +269861,9 @@ webhooks: - from required: - permissions - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -270109,7 +270333,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - changes @@ -270187,9 +270411,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -270659,7 +270883,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -270735,10 +270959,10 @@ webhooks: type: string enum: - started - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -270811,17 +271035,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *901 + enterprise: *905 inputs: type: - object - 'null' additionalProperties: true - installation: *902 - organization: *903 + installation: *906 + organization: *907 ref: type: string - repository: *904 + repository: *908 sender: *4 workflow: type: string @@ -270903,10 +271127,10 @@ webhooks: type: string enum: - completed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: allOf: @@ -271162,7 +271386,7 @@ webhooks: type: string required: - conclusion - deployment: *631 + deployment: *635 required: - action - repository @@ -271241,10 +271465,10 @@ webhooks: type: string enum: - in_progress - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: allOf: @@ -271526,7 +271750,7 @@ webhooks: required: - status - steps - deployment: *631 + deployment: *635 required: - action - repository @@ -271605,10 +271829,10 @@ webhooks: type: string enum: - queued - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: type: object @@ -271754,7 +271978,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *631 + deployment: *635 required: - action - repository @@ -271833,10 +272057,10 @@ webhooks: type: string enum: - waiting - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: type: object @@ -271983,7 +272207,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *631 + deployment: *635 required: - action - repository @@ -272063,12 +272287,12 @@ webhooks: type: string enum: - completed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: *918 + workflow: *922 workflow_run: title: Workflow Run type: object @@ -273087,12 +273311,12 @@ webhooks: type: string enum: - in_progress - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: *918 + workflow: *922 workflow_run: title: Workflow Run type: object @@ -274096,12 +274320,12 @@ webhooks: type: string enum: - requested - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: *918 + workflow: *922 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index c8cf9d203..d7d979fee 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -179682,6 +179682,353 @@ } } }, + "/orgs/{org}/code-scanning/ai-scan": { + "get": { + "summary": "Get the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the AI Scan setting stored on an organization.\n\nThe response reports the value stored on the organization. Organization respects enterprise policy.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + }, + "patch": { + "summary": "Update the AI Scan setting for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates the AI Scan setting stored on an organization.\n\nThe organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings update", + "description": "The AI Scan organization setting to apply", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the organization. Organization respects enterprise policy. Disabled organizations prevent repositories from enabling AI Scna. Enabled organizations enable AI Scan for their repositories, but individual repositories can opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Code scanning AI Scan organization settings", + "description": "The AI Scan organization setting", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan on pull requests is enabled for the organization. The organization setting respects enterprise policy, and repositories inherit it: when disabled, repositories cannot enable AI Scan; when enabled, repositories can still opt out.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "examples": [ + "enabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "ai-scan" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -433146,6 +433493,366 @@ } } }, + "/repos/{owner}/{repo}/code-scanning/ai-scan": { + "get": { + "summary": "Get AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/get-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + }, + "patch": { + "summary": "Update AI Scan enablement for a repository", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates whether AI Scan is enabled for a repository.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.", + "tags": [ + "code-scanning" + ], + "operationId": "code-scanning/update-ai-scan-enablement", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement update for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether to enable or disable AI Scan for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "minProperties": 1, + "additionalProperties": false + }, + "examples": { + "enabled": { + "summary": "Enable AI Scan", + "value": { + "pr_scan": "enabled" + } + }, + "disabled": { + "summary": "Disable AI Scan", + "value": { + "pr_scan": "disabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "description": "AI Scan enablement for a repository.", + "type": "object", + "properties": { + "pr_scan": { + "description": "Whether AI Scan is enabled for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + }, + "required": [ + "pr_scan" + ] + }, + "examples": { + "default": { + "value": { + "pr_scan": "enabled" + } + } + } + } + } + }, + "403": { + "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-scanning", + "subcategory": "code-scanning" + } + } + }, "/repos/{owner}/{repo}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for a repository", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 4f50c2a9c..8f7553bd8 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -946,7 +946,7 @@ paths: - subscriptions_url - type - url - type: &472 + type: &474 type: string description: The type of credit the user is receiving. enum: @@ -1139,7 +1139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &800 + - &804 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4402,7 +4402,7 @@ paths: schema: type: integer default: 30 - - &360 + - &362 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4411,7 +4411,7 @@ paths: required: false schema: type: string - - &361 + - &363 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4431,7 +4431,7 @@ paths: application/json: schema: type: array - items: &362 + items: &364 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4527,7 +4527,7 @@ paths: - installation_id - repository_id examples: - default: &363 + default: &365 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4559,7 +4559,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &810 + schema: &814 title: Scim Error description: Scim Error type: object @@ -4662,7 +4662,7 @@ paths: description: Response content: application/json: - schema: &364 + schema: &366 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4797,7 +4797,7 @@ paths: - request - response examples: - default: &365 + default: &367 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -11645,7 +11645,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &811 + '401': &815 description: Authorization failure '404': *6 x-github: @@ -15900,7 +15900,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *36 - - &317 + - &319 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -15910,7 +15910,7 @@ paths: schema: &108 type: string description: The name of the tool used to generate the code scanning analysis. - - &318 + - &320 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -15934,7 +15934,7 @@ paths: be returned. in: query required: false - schema: &319 + schema: &321 type: string description: State of a code scanning alert. enum: @@ -15967,7 +15967,7 @@ paths: application/json: schema: type: array - items: &320 + items: &322 type: object properties: number: &128 @@ -15996,7 +15996,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &562 + instances_url: &566 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -16032,7 +16032,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &563 + dismissed_reason: &567 type: - string - 'null' @@ -16044,14 +16044,14 @@ paths: - used in tests - mitigated - - dismissed_comment: &564 + dismissed_comment: &568 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &565 + rule: &569 type: object properties: id: @@ -16112,7 +16112,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &566 + tool: &570 type: object properties: name: *108 @@ -16123,26 +16123,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *109 - most_recent_instance: &567 + most_recent_instance: &571 type: object properties: - ref: &560 + ref: &564 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &578 + analysis_key: &582 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &579 + environment: &583 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &580 + category: &584 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16162,7 +16162,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &581 + location: &585 type: object description: Describe a region within a file for the alert. properties: @@ -16183,7 +16183,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &582 + items: &586 type: - string - 'null' @@ -16539,7 +16539,7 @@ paths: - most_recent_instance - repository examples: - default: &321 + default: &323 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17435,7 +17435,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 type: array description: A list of default code security configurations items: @@ -17451,7 +17451,7 @@ paths: default configuration: *111 examples: - default: &324 + default: &326 value: - default_for_new_repos: public configuration: @@ -17909,7 +17909,7 @@ paths: default: value: default_for_new_repos: all - configuration: &322 + configuration: &324 value: id: 1325 target_type: organization @@ -17999,7 +17999,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 type: object description: Repositories associated with a code security configuration and attachment status @@ -18023,7 +18023,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &326 + repository: &328 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18613,7 +18613,7 @@ paths: parent: anyOf: - type: 'null' - - &400 + - &402 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -19400,7 +19400,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &333 + '413': &335 description: Payload Too Large content: application/json: @@ -20902,7 +20902,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *36 - - &338 + - &340 name: classification in: query description: |- @@ -20911,7 +20911,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &339 + - &341 name: state in: query description: |- @@ -20920,7 +20920,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &340 + - &342 name: severity in: query description: |- @@ -20929,7 +20929,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &341 + - &343 name: ecosystem in: query description: |- @@ -20938,14 +20938,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &342 + - &344 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &343 + - &345 name: epss_percentage in: query description: |- @@ -20957,7 +20957,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &620 + - &624 name: has in: query description: |- @@ -20971,7 +20971,7 @@ paths: type: string enum: - patch - - &344 + - &346 name: assignee in: query description: |- @@ -20980,7 +20980,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &345 + - &347 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -20990,7 +20990,7 @@ paths: enum: - development - runtime - - &346 + - &348 name: relationship in: query description: |- @@ -21000,7 +21000,7 @@ paths: > We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems. schema: type: string - - &347 + - &349 name: sort in: query description: |- @@ -21026,7 +21026,7 @@ paths: application/json: schema: type: array - items: &348 + items: &350 type: object description: A Dependabot alert. properties: @@ -21094,7 +21094,7 @@ paths: - transitive - inconclusive - - security_advisory: &621 + security_advisory: &625 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21356,7 +21356,7 @@ paths: dismissal. maxLength: 280 fixed_at: *138 - auto_dismissed_at: &622 + auto_dismissed_at: &626 type: - string - 'null' @@ -21364,7 +21364,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &623 + dismissal_request: &627 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21427,7 +21427,7 @@ paths: - repository additionalProperties: false examples: - default: &349 + default: &351 value: - number: 2 state: dismissed @@ -21814,7 +21814,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &352 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21840,7 +21840,7 @@ paths: - *117 additionalProperties: false examples: - default: &351 + default: &353 value: default_level: public accessible_repositories: @@ -22063,7 +22063,7 @@ paths: - *100 - *101 - *102 - - &353 + - &355 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -22089,7 +22089,7 @@ paths: application/json: schema: type: array - items: &355 + items: &357 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -22216,7 +22216,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &356 + default: &358 value: - id: 21 number: 42 @@ -23314,7 +23314,7 @@ paths: application/json: schema: *20 examples: - default: &377 + default: &379 value: id: 1 account: @@ -23614,7 +23614,7 @@ paths: - name - created_on examples: - default: &476 + default: &478 value: total_count: 2 network_configurations: @@ -23865,7 +23865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *36 - - &477 + - &479 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23877,7 +23877,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &480 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23916,7 +23916,7 @@ paths: - subnet_id - region examples: - default: &479 + default: &481 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -24771,7 +24771,7 @@ paths: required: true content: application/json: - schema: &431 + schema: &433 title: Custom Property Set Payload description: Custom property set payload type: object @@ -26014,7 +26014,7 @@ paths: conditions: anyOf: - *159 - - &435 + - &437 title: Organization ruleset conditions type: object description: |- @@ -26064,7 +26064,7 @@ paths: - object rules: type: array - items: &764 + items: &768 title: Repository Rule type: object description: A repository rule. @@ -26073,7 +26073,7 @@ paths: - *168 - *169 - *170 - - &761 + - &765 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -26164,7 +26164,7 @@ paths: - *181 - *182 - *183 - - &762 + - &766 title: license_compliance_scanning description: Enforce any added or changed dependencies to comply with the organization's license policy. @@ -26413,7 +26413,7 @@ paths: type: string format: date-time examples: - default: &438 + default: &440 value: - version_id: 3 actor: @@ -26466,7 +26466,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &441 allOf: - *192 - type: object @@ -26521,7 +26521,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *36 - - &440 + - &442 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26532,7 +26532,7 @@ paths: enum: - open - resolved - - &441 + - &443 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26542,7 +26542,7 @@ paths: required: false schema: type: string - - &442 + - &444 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26553,7 +26553,7 @@ paths: required: false schema: type: string - - &443 + - &445 name: exclude_providers in: query description: |- @@ -26564,7 +26564,7 @@ paths: required: false schema: type: string - - &444 + - &446 name: providers in: query description: |- @@ -26575,7 +26575,7 @@ paths: required: false schema: type: string - - &445 + - &447 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26584,7 +26584,7 @@ paths: required: false schema: type: string - - &446 + - &448 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26603,7 +26603,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &447 + - &449 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -26619,7 +26619,7 @@ paths: - *17 - *105 - *106 - - &448 + - &450 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26628,7 +26628,7 @@ paths: required: false schema: type: string - - &449 + - &451 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26637,7 +26637,7 @@ paths: schema: type: boolean default: false - - &450 + - &452 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26646,7 +26646,7 @@ paths: schema: type: boolean default: false - - &451 + - &453 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26655,7 +26655,7 @@ paths: schema: type: boolean default: false - - &452 + - &454 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26666,7 +26666,7 @@ paths: required: false schema: type: boolean - - &453 + - &455 name: included_metadata in: query description: |- @@ -26677,7 +26677,7 @@ paths: required: false schema: type: string - - &454 + - &456 name: owner_email_hash in: query description: |- @@ -26696,7 +26696,7 @@ paths: application/json: schema: type: array - items: &455 + items: &457 type: object properties: number: *128 @@ -26712,14 +26712,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &777 + state: &781 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &778 + resolution: &782 type: - string - 'null' @@ -26838,14 +26838,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &779 + - &783 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &781 + - &785 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26909,7 +26909,7 @@ paths: - blob_url - commit_sha - commit_url - - &782 + - &786 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -26970,7 +26970,7 @@ paths: - page_url - commit_sha - commit_url - - &783 + - &787 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26992,7 +26992,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &784 + - &788 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -27014,7 +27014,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &785 + - &789 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -27036,7 +27036,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &786 + - &790 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -27051,7 +27051,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &787 + - &791 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -27066,7 +27066,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &788 + - &792 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -27081,7 +27081,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &789 + - &793 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -27103,7 +27103,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &790 + - &794 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -27125,7 +27125,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &791 + - &795 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -27147,7 +27147,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &792 + - &796 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -27169,7 +27169,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &793 + - &797 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -27215,7 +27215,7 @@ paths: - type: 'null' - *4 examples: - default: &456 + default: &458 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -27419,7 +27419,7 @@ paths: subcategory: custom-patterns parameters: - *36 - - &457 + - &459 name: state description: Filter custom patterns by state. When absent, returns patterns in all states. @@ -27430,7 +27430,7 @@ paths: enum: - published - unpublished - - &458 + - &460 name: push_protection description: Filter custom patterns by whether push protection is enabled. When absent, returns patterns regardless of push protection status. @@ -27441,7 +27441,7 @@ paths: enum: - enabled - disabled - - &459 + - &461 name: sort description: The property to sort the results by. in: query @@ -27540,7 +27540,7 @@ paths: - state - push_protection_enabled examples: - default: &460 + default: &462 value: - id: 1 name: Example Custom Pattern @@ -27603,7 +27603,7 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: &461 + items: &463 title: Secret Scanning Custom Pattern To Create description: A custom pattern to create in a bulk operation. type: object @@ -27640,7 +27640,7 @@ paths: items: type: string examples: - default: &462 + default: &464 value: patterns: - name: Example Custom Pattern @@ -27666,7 +27666,7 @@ paths: description: The list of successfully created custom patterns. items: *194 examples: - default: &463 + default: &465 value: created_patterns: - id: 1 @@ -27718,7 +27718,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: &464 + items: &466 title: Secret Scanning Custom Pattern Validation Error description: A validation error for a custom pattern in a batch operation. @@ -27772,7 +27772,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: &465 + items: &467 title: Secret Scanning Custom Pattern To Delete description: A custom pattern to delete in a bulk operation. type: object @@ -27795,7 +27795,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: &466 + default: &468 value: patterns: - pattern_id: 2 @@ -27841,7 +27841,7 @@ paths: required: true content: application/json: - schema: &467 + schema: &469 title: Secret Scanning Custom Pattern To Update description: Fields to update on a custom pattern. At least one updatable field (`pattern`, `start_delimiter`, `end_delimiter`, `must_match`, @@ -27882,7 +27882,7 @@ paths: type: string custom_pattern_version: *195 examples: - default: &468 + default: &470 value: pattern: updated_secret_[0-9A-Z]{16} start_delimiter: "[^0-9A-Za-z]" @@ -27899,7 +27899,7 @@ paths: application/json: schema: *194 examples: - default: &469 + default: &471 value: id: 1 name: Example Custom Pattern @@ -27946,7 +27946,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &472 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -28027,7 +28027,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *197 examples: - default: &471 + default: &473 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -28163,7 +28163,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *36 - - &473 + - &475 name: advanced_security_product in: query description: | @@ -28183,7 +28183,7 @@ paths: description: Success content: application/json: - schema: &474 + schema: &476 type: object properties: total_advanced_security_committers: @@ -28246,7 +28246,7 @@ paths: required: - repositories examples: - default: &475 + default: &477 value: total_advanced_security_committers: 2 total_count: 2 @@ -32386,7 +32386,7 @@ paths: properties: action: type: string - discussion: &919 + discussion: &923 title: Discussion description: A Discussion in a repository. type: object @@ -32887,7 +32887,7 @@ paths: milestone: anyOf: - type: 'null' - - &421 + - &423 title: Milestone description: A collection of related issues and pull requests. @@ -33059,7 +33059,7 @@ paths: timeline_url: type: string format: uri - type: &387 + type: &389 title: Issue Type description: The type assigned to the issue. This is only present for issues in repositories where @@ -33172,7 +33172,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &838 + sub_issues_summary: &842 title: Sub-issues Summary type: object properties: @@ -33256,7 +33256,7 @@ paths: pin: anyOf: - type: 'null' - - &706 + - &710 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -33277,7 +33277,7 @@ paths: minimized: anyOf: - type: 'null' - - &707 + - &711 title: Minimized Issue Comment description: Details about why an issue comment was minimized. @@ -33302,7 +33302,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &839 + issue_dependencies_summary: &843 title: Issue Dependencies Summary type: object properties: @@ -33321,7 +33321,7 @@ paths: - total_blocking issue_field_values: type: array - items: &688 + items: &692 title: Issue Field Value description: A value assigned to an issue field type: object @@ -34181,7 +34181,7 @@ paths: type: string release: allOf: - - &754 + - &758 title: Release description: A release. type: object @@ -34263,7 +34263,7 @@ paths: author: *4 assets: type: array - items: &755 + items: &759 title: Release Asset description: Data related to a release. type: object @@ -34883,7 +34883,7 @@ paths: url: type: string format: uri - user: &847 + user: &851 title: Public User description: Public User type: object @@ -36799,7 +36799,7 @@ paths: - closed - all default: open - - &390 + - &392 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -36850,7 +36850,7 @@ paths: type: array items: *221 examples: - default: &391 + default: &393 value: - id: 1 node_id: MDU6SXNzdWUx @@ -38276,14 +38276,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &488 + - &490 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &489 + - &491 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -38345,7 +38345,7 @@ paths: '404': *6 '403': *27 '304': *32 - '301': &494 + '301': &496 description: Moved permanently content: application/json: @@ -38367,7 +38367,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &726 + - &730 name: all description: If `true`, show notifications marked as read. in: query @@ -38375,7 +38375,7 @@ paths: schema: type: boolean default: false - - &727 + - &731 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -38385,7 +38385,7 @@ paths: type: boolean default: false - *226 - - &728 + - &732 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -38767,7 +38767,7 @@ paths: type: boolean examples: - false - security_and_analysis: &432 + security_and_analysis: &434 type: - object - 'null' @@ -38992,7 +38992,7 @@ paths: - url - subscription_url examples: - default: &729 + default: &733 value: - id: '1' repository: @@ -39597,7 +39597,7 @@ paths: - 3 custom_roles: type: array - items: &334 + items: &336 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -39646,7 +39646,7 @@ paths: - created_at - updated_at examples: - default: &335 + default: &337 value: id: 8030 name: Security Engineer @@ -39868,7 +39868,7 @@ paths: type: array items: *153 examples: - default: &735 + default: &739 value: - property_name: environment value: production @@ -39918,7 +39918,7 @@ paths: required: - properties examples: - default: &736 + default: &740 value: properties: - property_name: environment @@ -40845,7 +40845,7 @@ paths: type: integer repository_cache_usages: type: array - items: &501 + items: &503 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -43118,7 +43118,7 @@ paths: type: array items: *280 examples: - default: &332 + default: &334 value: total_count: 1 repositories: @@ -47148,12 +47148,12 @@ paths: required: - subject_digests examples: - default: &879 + default: &883 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &880 + withPredicateType: &884 value: subject_digests: - sha256:abc123 @@ -47212,7 +47212,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &881 + default: &885 value: attestations_subject_digests: - sha256:abc: @@ -47578,7 +47578,7 @@ paths: initiator: type: string examples: - default: &534 + default: &536 value: attestations: - repository_id: 1 @@ -48387,6 +48387,124 @@ paths: enabledForGitHubApps: true category: campaigns subcategory: campaigns + "/orgs/{org}/code-scanning/ai-scan": + get: + summary: Get the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets the AI Scan setting stored on an organization. + + The response reports the value stored on the organization. Organization respects enterprise policy. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#get-the-ai-scan-setting-for-an-organization + parameters: + - *84 + responses: + '200': + description: Response + content: + application/json: + schema: &317 + title: Code scanning AI Scan organization settings + description: The AI Scan organization setting + type: object + properties: + pr_scan: + description: 'Whether AI Scan on pull requests is enabled for + the organization. The organization setting respects enterprise + policy, and repositories inherit it: when disabled, repositories + cannot enable AI Scan; when enabled, repositories can still + opt out.' + type: string + enum: + - enabled + - disabled + examples: + - enabled + required: + - pr_scan + examples: + default: &318 + value: + pr_scan: enabled + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan + patch: + summary: Update the AI Scan setting for an organization + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates the AI Scan setting stored on an organization. + + The organization respects the enterprise policy, so enabling is rejected when the enterprise disallows AI Scan. + + OAuth app tokens and personal access tokens (classic) need the `admin:org`, `repo`, or `write:org` scope to use this endpoint. Organization owners can use `admin:org` or `repo`; security managers need `write:org`. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/ai-scan#update-the-ai-scan-setting-for-an-organization + parameters: + - *84 + requestBody: + required: true + content: + application/json: + schema: + title: Code scanning AI Scan organization settings update + description: The AI Scan organization setting to apply + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the organization. Organization + respects enterprise policy. Disabled organizations prevent repositories + from enabling AI Scna. Enabled organizations enable AI Scan for + their repositories, but individual repositories can opt out. + type: string + enum: + - enabled + - disabled + examples: + - enabled + minProperties: 1 + additionalProperties: false + examples: + default: + value: + pr_scan: enabled + responses: + '200': + description: Response + content: + application/json: + schema: *317 + examples: + default: *318 + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: ai-scan "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -48404,8 +48522,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *84 - - *317 - - *318 + - *319 + - *320 - *105 - *106 - *19 @@ -48416,7 +48534,7 @@ paths: be returned. in: query required: false - schema: *319 + schema: *321 - name: sort description: The property by which to sort the results. in: query @@ -48432,7 +48550,7 @@ paths: be returned. in: query required: false - schema: &561 + schema: &565 type: string description: Severity of a code scanning alert. enum: @@ -48458,9 +48576,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *321 + default: *323 headers: Link: *42 '404': *6 @@ -48835,7 +48953,7 @@ paths: application/json: schema: *111 examples: - default: *322 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48863,9 +48981,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *324 + default: *326 '304': *32 '403': *27 '404': *6 @@ -48954,7 +49072,7 @@ paths: application/json: schema: *111 examples: - default: *322 + default: *324 '304': *32 '403': *27 '404': *6 @@ -49399,7 +49517,7 @@ paths: default: value: default_for_new_repos: all - configuration: *322 + configuration: *324 '403': *27 '404': *6 x-github: @@ -49452,13 +49570,13 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *326 + repository: *328 '403': *27 '404': *6 x-github: @@ -49498,7 +49616,7 @@ paths: type: integer codespaces: type: array - items: &392 + items: &394 type: object title: Codespace description: A codespace. @@ -49533,7 +49651,7 @@ paths: machine: anyOf: - type: 'null' - - &594 + - &598 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -49820,7 +49938,7 @@ paths: - pulls_url - recent_folders examples: - default: &393 + default: &395 value: total_count: 3 codespaces: @@ -50444,7 +50562,7 @@ paths: type: integer secrets: type: array - items: &327 + items: &329 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -50485,7 +50603,7 @@ paths: - updated_at - visibility examples: - default: &595 + default: &599 value: total_count: 2 secrets: @@ -50523,7 +50641,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &600 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -50558,7 +50676,7 @@ paths: - key_id - key examples: - default: &597 + default: &601 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -50588,9 +50706,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: &599 + default: &603 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -50924,7 +51042,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &328 + items: &330 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -51321,9 +51439,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: &329 + default: &331 summary: Example response for an organization copilot space value: id: 84 @@ -51428,9 +51546,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 '403': *27 '404': *6 x-github: @@ -51559,9 +51677,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *329 + default: *331 '403': *27 '404': *6 '422': *15 @@ -51644,7 +51762,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &330 + items: &332 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -51869,7 +51987,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: user: value: @@ -51999,7 +52117,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: user: value: @@ -52150,7 +52268,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &331 + items: &333 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -52294,7 +52412,7 @@ paths: description: Resource created content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -52310,7 +52428,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -52365,7 +52483,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -52434,7 +52552,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -53167,7 +53285,7 @@ paths: - total_count - repositories examples: - default: *332 + default: *334 '500': *35 '401': *23 '403': *27 @@ -53435,7 +53553,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *333 + '413': *335 '422': *7 x-github: githubCloudOnly: @@ -54237,7 +54355,7 @@ paths: - 3 custom_roles: type: array - items: *334 + items: *336 examples: default: value: @@ -54329,7 +54447,7 @@ paths: required: true content: application/json: - schema: &336 + schema: &338 type: object properties: name: @@ -54371,9 +54489,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -54404,9 +54522,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: true @@ -54434,7 +54552,7 @@ paths: required: true content: application/json: - schema: &337 + schema: &339 type: object properties: name: @@ -54473,9 +54591,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -54533,7 +54651,7 @@ paths: required: true content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -54547,9 +54665,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -54586,9 +54704,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '404': *6 x-github: githubCloudOnly: true @@ -54622,7 +54740,7 @@ paths: required: true content: application/json: - schema: *337 + schema: *339 examples: default: value: @@ -54637,9 +54755,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 '422': *15 '404': *6 x-github: @@ -54699,12 +54817,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *84 - - *338 - - *339 - *340 - *341 - *342 - *343 + - *344 + - *345 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -54734,7 +54852,7 @@ paths: enum: - patch - deployment - - *344 + - *346 - name: runtime_risk in: query description: |- @@ -54743,9 +54861,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *345 - - *346 - *347 + - *348 + - *349 - *107 - *105 - *106 @@ -54757,9 +54875,9 @@ paths: application/json: schema: type: array - items: *348 + items: *350 examples: - default: *349 + default: *351 '304': *32 '400': *14 '403': *27 @@ -54808,9 +54926,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *352 examples: - default: *351 + default: *353 '403': *27 '404': *6 x-github: @@ -54974,7 +55092,7 @@ paths: type: integer secrets: type: array - items: &352 + items: &354 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -55053,7 +55171,7 @@ paths: description: Response content: application/json: - schema: &626 + schema: &630 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -55072,7 +55190,7 @@ paths: - key_id - key examples: - default: &627 + default: &631 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -55102,7 +55220,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: default: value: @@ -55408,7 +55526,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *84 - - &636 + - &640 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -55416,7 +55534,7 @@ paths: required: false schema: type: string - - &637 + - &641 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -55424,7 +55542,7 @@ paths: required: false schema: type: string - - &638 + - &642 name: time_period description: |- The time period to filter by. @@ -55440,7 +55558,7 @@ paths: - week - month default: month - - &639 + - &643 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -55465,7 +55583,7 @@ paths: application/json: schema: type: array - items: &640 + items: &644 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -55575,7 +55693,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &354 + items: &356 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -55628,7 +55746,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &641 + default: &645 value: - id: 21 number: 42 @@ -55720,7 +55838,7 @@ paths: - *100 - *101 - *102 - - *353 + - *355 - *17 - *19 responses: @@ -55730,7 +55848,7 @@ paths: application/json: schema: type: array - items: &642 + items: &646 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -55840,7 +55958,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *354 + items: *356 url: type: string format: uri @@ -55853,7 +55971,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &643 + default: &647 value: - id: 21 number: 42 @@ -55945,7 +56063,7 @@ paths: - *100 - *101 - *102 - - *353 + - *355 - *17 - *19 responses: @@ -55955,9 +56073,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 '404': *6 '403': *27 '500': *35 @@ -55983,7 +56101,7 @@ paths: application/json: schema: type: array - items: &402 + items: &404 title: Package description: A software package type: object @@ -56054,7 +56172,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &405 value: - id: 197 name: hello_docker @@ -56241,7 +56359,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &487 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -56331,7 +56449,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &486 + default: &488 value: group_id: '123' group_name: Octocat admins @@ -56386,7 +56504,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &484 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -56426,7 +56544,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &483 + default: &485 value: groups: - group_id: '123' @@ -56471,7 +56589,7 @@ paths: application/json: schema: type: array - items: &381 + items: &383 title: Organization Invitation description: Organization Invitation type: object @@ -56525,7 +56643,7 @@ paths: - invitation_teams_url - node_id examples: - default: &382 + default: &384 value: - id: 1 login: monalisa @@ -56592,7 +56710,7 @@ paths: application/json: schema: type: array - items: &433 + items: &435 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -56606,7 +56724,7 @@ paths: - name - description examples: - default: &434 + default: &436 value: - name: add_assignee description: Assign or remove a user @@ -56647,7 +56765,7 @@ paths: application/json: schema: type: array - items: &357 + items: &359 title: Org Hook description: Org Hook type: object @@ -56830,9 +56948,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: &358 + default: &360 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -56877,7 +56995,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *84 - - &359 + - &361 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -56890,9 +57008,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 '404': *6 x-github: githubCloudOnly: false @@ -56914,7 +57032,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *84 - - *359 + - *361 requestBody: required: false content: @@ -56960,7 +57078,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *359 examples: default: value: @@ -57000,7 +57118,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *84 - - *359 + - *361 responses: '204': description: Response @@ -57026,7 +57144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *84 - - *359 + - *361 responses: '200': description: Response @@ -57055,7 +57173,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *84 - - *359 + - *361 requestBody: required: false content: @@ -57104,10 +57222,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *84 - - *359 - - *17 - - *360 - *361 + - *17 + - *362 + - *363 responses: '200': description: Response @@ -57115,9 +57233,9 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: - default: *363 + default: *365 '400': *14 '422': *15 x-github: @@ -57141,16 +57259,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *84 - - *359 + - *361 - *16 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '400': *14 '422': *15 x-github: @@ -57174,7 +57292,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *84 - - *359 + - *361 - *16 responses: '202': *34 @@ -57201,7 +57319,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *84 - - *359 + - *361 responses: '204': description: Response @@ -57226,7 +57344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *84 - - &370 + - &372 name: actor_type in: path description: The type of the actor @@ -57239,14 +57357,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &371 + - &373 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &366 + - &368 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -57254,7 +57372,7 @@ paths: required: true schema: type: string - - &367 + - &369 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -57351,12 +57469,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *84 - - *366 - - *367 + - *368 + - *369 - *19 - *17 - *107 - - &376 + - &378 name: sort description: The property to sort the results by. in: query @@ -57437,14 +57555,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *84 - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: &368 + schema: &370 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -57460,7 +57578,7 @@ paths: type: integer format: int64 examples: - default: &369 + default: &371 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -57483,23 +57601,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *84 - - &372 + - &374 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: enabledForGitHubApps: true category: orgs @@ -57519,18 +57637,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *84 - - *366 - - *367 - - *370 - - *371 + - *368 + - *369 + - *372 + - *373 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: enabledForGitHubApps: true category: orgs @@ -57550,9 +57668,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *84 - - *366 - - *367 - - &373 + - *368 + - *369 + - &375 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -57565,7 +57683,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -57581,7 +57699,7 @@ paths: type: integer format: int64 examples: - default: &375 + default: &377 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -57620,18 +57738,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *84 - - *372 - - *366 - - *367 - - *373 + - *374 + - *368 + - *369 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: enabledForGitHubApps: true category: orgs @@ -57651,19 +57769,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *84 - - *370 - - *371 - - *366 - - *367 + - *372 - *373 + - *368 + - *369 + - *375 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: enabledForGitHubApps: true category: orgs @@ -57683,13 +57801,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *84 - - *372 - - *366 - - *367 + - *374 + - *368 + - *369 - *19 - *17 - *107 - - *376 + - *378 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -57773,7 +57891,7 @@ paths: application/json: schema: *20 examples: - default: *377 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57893,12 +58011,12 @@ paths: application/json: schema: anyOf: - - &379 + - &381 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &378 + limit: &380 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -57926,7 +58044,7 @@ paths: properties: {} additionalProperties: false examples: - default: &380 + default: &382 value: limit: collaborators_only origin: organization @@ -57955,13 +58073,13 @@ paths: required: true content: application/json: - schema: &672 + schema: &676 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *378 + limit: *380 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -57986,9 +58104,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *380 + default: *382 '422': *15 x-github: githubCloudOnly: false @@ -58200,9 +58318,9 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 headers: Link: *42 '404': *6 @@ -58280,7 +58398,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -58337,7 +58455,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *84 - - &383 + - &385 name: invitation_id description: The unique identifier of the invitation. in: path @@ -58371,7 +58489,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *84 - - *383 + - *385 - *17 - *19 responses: @@ -58383,7 +58501,7 @@ paths: type: array items: *313 examples: - default: &401 + default: &403 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -58426,7 +58544,7 @@ paths: application/json: schema: type: array - items: &384 + items: &386 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -58689,9 +58807,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &385 + default: &387 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -58747,7 +58865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *84 - - &386 + - &388 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -58857,9 +58975,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '404': *6 '422': *7 x-github: @@ -58884,7 +59002,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *84 - - *386 + - *388 responses: '204': *121 '404': *6 @@ -58914,9 +59032,9 @@ paths: application/json: schema: type: array - items: *387 + items: *389 examples: - default: &676 + default: &680 value: - id: 410 node_id: IT_kwDNAd3NAZo @@ -59002,9 +59120,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: &388 + default: &390 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -59037,7 +59155,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *84 - - &389 + - &391 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -59093,9 +59211,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 '404': *6 '422': *7 x-github: @@ -59120,7 +59238,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *84 - - *389 + - *391 responses: '204': description: Response @@ -59183,7 +59301,7 @@ paths: - closed - all default: open - - *390 + - *392 - name: type description: Can be the name of an issue type. in: query @@ -59214,7 +59332,7 @@ paths: type: array items: *221 examples: - default: *391 + default: *393 headers: Link: *42 '404': *6 @@ -59379,9 +59497,9 @@ paths: type: integer codespaces: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 '304': *32 '500': *35 '401': *23 @@ -59408,7 +59526,7 @@ paths: parameters: - *84 - *127 - - &394 + - &396 name: codespace_name in: path required: true @@ -59443,15 +59561,15 @@ paths: parameters: - *84 - *127 - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: &593 + default: &597 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -59707,7 +59825,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &397 title: Org Membership description: Org Membership type: object @@ -59776,7 +59894,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &396 + response-if-user-has-an-active-admin-membership-with-organization: &398 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -59877,9 +59995,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: - response-if-user-already-had-membership-with-organization: *396 + response-if-user-already-had-membership-with-organization: *398 '422': *15 '403': *27 x-github: @@ -59957,7 +60075,7 @@ paths: application/json: schema: type: array - items: &397 + items: &399 title: Migration description: A migration. type: object @@ -60306,7 +60424,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -60485,7 +60603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *84 - - &398 + - &400 name: migration_id description: The unique identifier of the migration. in: path @@ -60513,7 +60631,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -60683,7 +60801,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *84 - - *398 + - *400 responses: '302': description: Response @@ -60705,7 +60823,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *84 - - *398 + - *400 responses: '204': description: Response @@ -60729,8 +60847,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *84 - - *398 - - &862 + - *400 + - &866 name: repo_name description: repo_name parameter in: path @@ -60758,7 +60876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *84 - - *398 + - *400 - *17 - *19 responses: @@ -60770,7 +60888,7 @@ paths: type: array items: *280 examples: - default: &408 + default: &410 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -60999,7 +61117,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &399 + items: &401 title: Organization Role description: Organization roles type: object @@ -61208,7 +61326,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -61438,7 +61556,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -61535,7 +61653,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *401 examples: default: value: @@ -61694,7 +61812,7 @@ paths: parent: anyOf: - type: 'null' - - *400 + - *402 type: description: The ownership type of the team type: string @@ -61727,7 +61845,7 @@ paths: - type - parent examples: - default: *401 + default: *403 headers: Link: *42 '404': @@ -61786,7 +61904,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *400 + items: *402 name: type: - string @@ -62096,7 +62214,7 @@ paths: - nuget - container - *84 - - &863 + - &867 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -62132,12 +62250,12 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *403 + default: *405 '403': *27 '401': *23 - '400': &865 + '400': &869 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -62159,7 +62277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &404 + - &406 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -62177,7 +62295,7 @@ paths: - docker - nuget - container - - &405 + - &407 name: package_name description: The name of the package. in: path @@ -62190,7 +62308,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *404 examples: default: value: @@ -62242,8 +62360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 responses: '204': @@ -62276,8 +62394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 - name: token description: package token @@ -62310,8 +62428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 - *19 - *17 @@ -62332,7 +62450,7 @@ paths: application/json: schema: type: array - items: &406 + items: &408 title: Package Version description: A version of a software package type: object @@ -62467,10 +62585,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *404 - - *405 + - *406 + - *407 - *84 - - &407 + - &409 name: package_version_id description: Unique identifier of the package version. in: path @@ -62482,7 +62600,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -62518,10 +62636,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *404 - - *405 - - *84 + - *406 - *407 + - *84 + - *409 responses: '204': description: Response @@ -62553,10 +62671,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *404 - - *405 - - *84 + - *406 - *407 + - *84 + - *409 responses: '204': description: Response @@ -62586,7 +62704,7 @@ paths: - *84 - *17 - *19 - - &409 + - &411 name: sort description: The property by which to sort the results. in: query @@ -62597,7 +62715,7 @@ paths: - created_at default: created_at - *107 - - &410 + - &412 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -62609,7 +62727,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &411 + - &413 name: repository description: The name of the repository to use to filter the results. in: query @@ -62618,7 +62736,7 @@ paths: type: string examples: - Hello-World - - &412 + - &414 name: permission description: The permission to use to filter the results. in: query @@ -62627,7 +62745,7 @@ paths: type: string examples: - issues_read - - &413 + - &415 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -62637,7 +62755,7 @@ paths: schema: type: string format: date-time - - &414 + - &416 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -62647,7 +62765,7 @@ paths: schema: type: string format: date-time - - &415 + - &417 name: token_id description: The ID of the token in: query @@ -62966,7 +63084,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -62992,14 +63110,14 @@ paths: - *84 - *17 - *19 - - *409 - - *107 - - *410 - *411 + - *107 - *412 - *413 - *414 - *415 + - *416 + - *417 responses: '500': *35 '422': *15 @@ -63283,7 +63401,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -63325,7 +63443,7 @@ paths: type: integer configurations: type: array - items: &416 + items: &418 title: Organization private registry description: Private registry configuration for an organization type: object @@ -63842,7 +63960,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &417 + org-private-registry-with-selected-visibility: &419 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -63940,9 +64058,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *416 + schema: *418 examples: - default: *417 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -64194,7 +64312,7 @@ paths: application/json: schema: type: array - items: &418 + items: &420 title: Projects v2 Project description: A projects v2 project type: object @@ -64268,7 +64386,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &952 + - &956 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -64353,7 +64471,7 @@ paths: - deleted_at - deleted_by examples: - default: &419 + default: &421 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -64456,7 +64574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &420 + - &422 name: project_number description: The project's number. in: path @@ -64469,9 +64587,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *42 '304': *32 @@ -64494,7 +64612,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *84 - - *420 + - *422 requestBody: required: true description: Details of the draft item to create in the project. @@ -64528,7 +64646,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &427 title: Projects v2 Item description: An item belonging to a project type: object @@ -64542,7 +64660,7 @@ paths: content: oneOf: - *221 - - &568 + - &573 title: Pull Request Simple description: Pull Request Simple type: object @@ -64662,7 +64780,7 @@ paths: milestone: anyOf: - type: 'null' - - *421 + - *423 active_lock_reason: type: - string @@ -64755,7 +64873,7 @@ paths: _links: type: object properties: - comments: &422 + comments: &424 title: Link description: Hypermedia Link type: object @@ -64764,13 +64882,13 @@ paths: type: string required: - href - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + commits: *424 + statuses: *424 + html: *424 + issue: *424 + review_comments: *424 + review_comment: *424 + self: *424 required: - comments - commits @@ -64781,7 +64899,7 @@ paths: - review_comment - self author_association: *218 - auto_merge: &738 + auto_merge: &742 title: Auto merge description: The status of auto merging a pull request. type: @@ -64807,7 +64925,7 @@ paths: - merge_method - commit_title - commit_message - stack: &739 + stack: &743 title: Pull Request Stack description: The stack information associated with a pull request. @@ -64995,7 +65113,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &424 + content_type: &426 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -65039,7 +65157,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &426 + draft_issue: &428 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -65113,7 +65231,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *420 + - *422 - *84 - *17 - *105 @@ -65125,7 +65243,7 @@ paths: application/json: schema: type: array - items: &423 + items: &425 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -65278,7 +65396,7 @@ paths: - updated_at - project_url examples: - default: &885 + default: &889 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65408,7 +65526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *420 + - *422 - *84 requestBody: required: true @@ -65455,7 +65573,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &886 + items: &890 type: object properties: name: @@ -65492,7 +65610,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &887 + iteration_configuration: &891 type: object description: The configuration for iteration fields. required: @@ -65549,7 +65667,7 @@ paths: value: name: Due date data_type: date - single_select_field: &888 + single_select_field: &892 summary: Create a single select field value: name: Priority @@ -65576,7 +65694,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &889 + iteration_field: &893 summary: Create an iteration field value: name: Sprint @@ -65596,9 +65714,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *423 + schema: *425 examples: - text_field: &890 + text_field: &894 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -65607,7 +65725,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &891 + number_field: &895 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -65616,7 +65734,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &892 + date_field: &896 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -65625,7 +65743,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &893 + single_select_field: &897 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65659,7 +65777,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &894 + iteration_field: &898 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -65704,8 +65822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *420 - - &895 + - *422 + - &899 name: field_id description: The unique identifier of the field. in: path @@ -65718,9 +65836,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: - default: &896 + default: &900 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -65776,7 +65894,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *420 + - *422 - *84 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -65809,7 +65927,7 @@ paths: application/json: schema: type: array - items: &427 + items: &429 title: Projects v2 Item description: An item belonging to a project type: object @@ -65826,7 +65944,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *424 + content_type: *426 content: type: - object @@ -65876,7 +65994,7 @@ paths: - updated_at - archived_at examples: - default: &428 + default: &430 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -66574,7 +66692,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *84 - - *420 + - *422 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -66644,22 +66762,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *428 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *428 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *428 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *428 '304': *32 '403': *27 '401': *23 @@ -66679,9 +66797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *420 + - *422 - *84 - - &429 + - &431 name: item_id description: The unique identifier of the project item. in: path @@ -66707,9 +66825,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -66730,9 +66848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *420 + - *422 - *84 - - *429 + - *431 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -66805,13 +66923,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *430 + number_field: *430 + date_field: *430 + single_select_field: *430 + iteration_field: *430 '401': *23 '403': *27 '404': *6 @@ -66831,9 +66949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *420 + - *422 - *84 - - *429 + - *431 responses: '204': description: Response @@ -66857,7 +66975,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *84 - - *420 + - *422 requestBody: required: true content: @@ -66972,7 +67090,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &876 + schema: &880 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -67076,7 +67194,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &430 + value: &432 value: id: 1 number: 1 @@ -67122,10 +67240,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *430 + value: *432 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *432 '304': *32 '403': *27 '401': *23 @@ -67153,9 +67271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *420 + - *422 - *84 - - &897 + - &901 name: view_number description: The number that identifies the project view. in: path @@ -67187,9 +67305,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -67353,7 +67471,7 @@ paths: required: true content: application/json: - schema: *431 + schema: *433 examples: default: value: @@ -67721,7 +67839,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -67925,7 +68043,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &495 title: Full Repository description: Full Repository type: object @@ -68403,7 +68521,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &612 + code_of_conduct: &616 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -68433,7 +68551,7 @@ paths: - key - name - html_url - security_and_analysis: *432 + security_and_analysis: *434 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -68528,7 +68646,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &495 + default: &497 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -69066,9 +69184,9 @@ paths: application/json: schema: type: array - items: *433 + items: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -69093,7 +69211,7 @@ paths: - *84 - *17 - *19 - - &763 + - &767 name: targets description: | A comma-separated list of rule targets to filter by. @@ -69185,11 +69303,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *166 - conditions: *435 + conditions: *437 rules: type: array description: An array of rules within the ruleset. - items: &437 + items: &439 title: Repository Rule type: object description: A repository rule. @@ -69254,7 +69372,7 @@ paths: application/json: schema: *188 examples: - default: &436 + default: &438 value: id: 21 name: super cool ruleset @@ -69310,7 +69428,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *84 - - &765 + - &769 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -69322,14 +69440,14 @@ paths: x-multi-segment: true - *310 - *102 - - &766 + - &770 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &767 + - &771 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -69342,7 +69460,7 @@ paths: - bypass - all default: all - - &768 + - &772 name: evaluate_status description: |- The evaluate status to filter on. When specified, only rule suites resulting from rulesets with the specified evaluate status will be returned. @@ -69365,7 +69483,7 @@ paths: description: Response content: application/json: - schema: &769 + schema: &773 title: Rule Suites description: Response type: array @@ -69421,7 +69539,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &770 + default: &774 value: - id: 21 actor_id: 12 @@ -69465,7 +69583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *84 - - &771 + - &775 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -69481,7 +69599,7 @@ paths: description: Response content: application/json: - schema: &772 + schema: &776 title: Rule Suite description: Response type: object @@ -69588,7 +69706,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &773 + default: &777 value: id: 21 actor_id: 12 @@ -69663,7 +69781,7 @@ paths: application/json: schema: *188 examples: - default: *436 + default: *438 '404': *6 '500': *35 put: @@ -69712,11 +69830,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *166 - conditions: *435 + conditions: *437 rules: description: An array of rules within the ruleset. type: array - items: *437 + items: *439 examples: default: value: @@ -69753,7 +69871,7 @@ paths: application/json: schema: *188 examples: - default: *436 + default: *438 '404': *6 '422': *15 '500': *35 @@ -69813,7 +69931,7 @@ paths: type: array items: *192 examples: - default: *438 + default: *440 '404': *6 '500': *35 x-github: @@ -69850,7 +69968,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -69913,18 +70031,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *84 - - *440 - - *441 - *442 - *443 - *444 - *445 - *446 - *447 + - *448 + - *449 - *107 - *19 - *17 - - &775 + - &779 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -69934,7 +70052,7 @@ paths: required: false schema: type: string - - &776 + - &780 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -69944,13 +70062,13 @@ paths: required: false schema: type: string - - *448 - - *449 - *450 - *451 - *452 - *453 - *454 + - *455 + - *456 responses: '200': description: Response @@ -69958,9 +70076,9 @@ paths: application/json: schema: type: array - items: *455 + items: *457 examples: - default: *456 + default: *458 headers: Link: *42 '404': *6 @@ -69990,9 +70108,9 @@ paths: subcategory: custom-patterns parameters: - *84 - - *457 - - *458 - *459 + - *460 + - *461 - *107 - *105 - *106 @@ -70005,7 +70123,7 @@ paths: type: array items: *194 examples: - default: *460 + default: *462 headers: Link: *42 '403': *27 @@ -70041,9 +70159,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *461 + items: *463 examples: - default: *462 + default: *464 responses: '201': description: All patterns created successfully. @@ -70057,7 +70175,7 @@ paths: description: The list of successfully created custom patterns. items: *194 examples: - default: *463 + default: *465 '400': *14 '403': *27 '404': *6 @@ -70081,7 +70199,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *464 + items: *466 delete: summary: Bulk delete organization custom patterns description: |- @@ -70114,7 +70232,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *465 + items: *467 post_delete_action: type: string description: |- @@ -70127,7 +70245,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *466 + default: *468 responses: '204': description: All patterns deleted successfully. @@ -70165,9 +70283,9 @@ paths: required: true content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 responses: '200': description: Pattern updated successfully. @@ -70175,7 +70293,7 @@ paths: application/json: schema: *194 examples: - default: *469 + default: *471 '400': *14 '403': *27 '404': *6 @@ -70206,9 +70324,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *471 + default: *473 '403': *27 '404': *6 patch: @@ -70361,7 +70479,7 @@ paths: application/json: schema: type: array - items: &797 + items: &801 description: A repository security advisory. type: object properties: @@ -70605,7 +70723,7 @@ paths: login: type: string description: The username of the user credited. - type: *472 + type: *474 credits_detailed: type: - array @@ -70616,7 +70734,7 @@ paths: type: object properties: user: *4 - type: *472 + type: *474 state: type: string description: The state of the user's acceptance of the @@ -70712,7 +70830,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &798 + default: &802 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -71099,7 +71217,7 @@ paths: application/json: schema: type: array - items: *400 + items: *402 examples: default: value: @@ -71198,7 +71316,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *84 - - *473 + - *475 - *17 - *19 responses: @@ -71206,9 +71324,9 @@ paths: description: Success content: application/json: - schema: *474 + schema: *476 examples: - default: *475 + default: *477 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -71491,7 +71609,7 @@ paths: type: array items: *146 examples: - default: *476 + default: *478 headers: Link: *42 x-github: @@ -71720,15 +71838,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *84 - - *477 + - *479 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 headers: Link: *42 x-github: @@ -71766,7 +71884,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &492 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -71818,7 +71936,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &491 + default: &493 value: groups: - group_id: '123' @@ -71875,7 +71993,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 headers: Link: *42 '403': *27 @@ -71973,7 +72091,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &482 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -72047,7 +72165,7 @@ paths: parent: anyOf: - type: 'null' - - *400 + - *402 members_count: type: integer examples: @@ -72380,7 +72498,7 @@ paths: - repos_count - organization examples: - default: &481 + default: &483 value: id: 1 node_id: MDQ6VGVhbTE= @@ -72468,9 +72586,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 x-github: githubCloudOnly: false @@ -72561,16 +72679,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '201': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 '422': *15 '403': *27 @@ -72600,7 +72718,7 @@ paths: responses: '204': description: Response - '422': &484 + '422': &486 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -72629,10 +72747,10 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: - default: *483 - '422': *484 + default: *485 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -72676,10 +72794,10 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: - default: *486 - '422': *484 + default: *488 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72703,7 +72821,7 @@ paths: responses: '204': description: Response - '422': *484 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -72735,12 +72853,12 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 headers: Link: *42 - '422': *484 + '422': *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72787,7 +72905,7 @@ paths: application/json: schema: type: array - items: &841 + items: &845 title: Team Member description: A user that is a member of a team, including their role on the team and whether the membership is inherited from @@ -72930,7 +73048,7 @@ paths: - type - url examples: - default: &842 + default: &846 value: - login: octocat id: 1 @@ -72989,7 +73107,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &489 title: Team Membership description: Team Membership type: object @@ -73017,7 +73135,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &843 + response-if-user-is-a-team-maintainer: &847 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -73080,9 +73198,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - response-if-users-membership-with-team-is-now-pending: &844 + response-if-users-membership-with-team-is-now-pending: &848 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -73160,7 +73278,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -73191,14 +73309,14 @@ paths: parameters: - *84 - *214 - - *488 - - *489 + - *490 + - *491 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &845 + schema: &849 title: Team Repository description: A team's access to a repository. type: object @@ -73926,8 +74044,8 @@ paths: parameters: - *84 - *214 - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -73974,8 +74092,8 @@ paths: parameters: - *84 - *214 - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -74008,10 +74126,10 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 - '422': *484 + default: *493 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -74077,7 +74195,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: default: value: @@ -74089,7 +74207,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *484 + '422': *486 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -74123,7 +74241,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: &846 + response-if-child-teams-exist: &850 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -74276,7 +74394,7 @@ paths: resources: type: object properties: - core: &492 + core: &494 title: Rate Limit type: object properties: @@ -74293,21 +74411,21 @@ paths: - remaining - reset - used - graphql: *492 - search: *492 - code_search: *492 - source_import: *492 - integration_manifest: *492 - actions_runner_registration: *492 - scim: *492 - dependency_snapshots: *492 - dependency_sbom: *492 - code_scanning_autofix: *492 - copilot_usage_records: *492 + graphql: *494 + search: *494 + code_search: *494 + source_import: *494 + integration_manifest: *494 + actions_runner_registration: *494 + scim: *494 + dependency_snapshots: *494 + dependency_sbom: *494 + code_scanning_autofix: *494 + copilot_usage_records: *494 required: - core - search - rate: *492 + rate: *494 required: - rate - resources @@ -74421,14 +74539,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: default-response: summary: Default response @@ -74943,7 +75061,7 @@ paths: version: '2026-03-10' '403': *27 '404': *6 - '301': *494 + '301': *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74961,8 +75079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -75283,10 +75401,10 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 - '307': &496 + default: *497 + '307': &498 description: Temporary Redirect content: application/json: @@ -75315,8 +75433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -75338,7 +75456,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *496 + '307': *498 '404': *6 '409': *116 x-github: @@ -75362,11 +75480,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - - &512 + - &514 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -75389,7 +75507,7 @@ paths: type: integer artifacts: type: array - items: &497 + items: &499 title: Artifact description: An artifact type: object @@ -75484,7 +75602,7 @@ paths: - expires_at - updated_at examples: - default: &513 + default: &515 value: total_count: 2 artifacts: @@ -75545,9 +75663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *488 - - *489 - - &498 + - *490 + - *491 + - &500 name: artifact_id description: The unique identifier of the artifact. in: path @@ -75559,7 +75677,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -75597,9 +75715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *488 - - *489 - - *498 + - *490 + - *491 + - *500 responses: '204': description: Response @@ -75623,9 +75741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *488 - - *489 - - *498 + - *490 + - *491 + - *500 - name: archive_format in: path required: true @@ -75635,7 +75753,7 @@ paths: '302': description: Response headers: - Location: &629 + Location: &633 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string @@ -75660,14 +75778,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &499 + schema: &501 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -75701,13 +75819,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *499 + schema: *501 examples: selected_actions: *39 responses: @@ -75736,14 +75854,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &500 + schema: &502 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -75777,13 +75895,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *500 + schema: *502 examples: selected_actions: *41 responses: @@ -75814,14 +75932,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -75847,11 +75965,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - - &502 + - &504 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -75885,7 +76003,7 @@ paths: description: Response content: application/json: - schema: &503 + schema: &505 title: Repository actions caches description: Repository actions caches type: object @@ -75935,7 +76053,7 @@ paths: - total_count - actions_caches examples: - default: &504 + default: &506 value: total_count: 1 actions_caches: @@ -75967,23 +76085,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *488 - - *489 + - *490 + - *491 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *502 + - *504 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76003,8 +76121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *488 - - *489 + - *490 + - *491 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -76033,8 +76151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *106 responses: @@ -76117,8 +76235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -76274,9 +76392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *488 - - *489 - - &505 + - *490 + - *491 + - &507 name: job_id description: The unique identifier of the job. in: path @@ -76289,7 +76407,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &518 title: Job description: Information of a job execution in a workflow run type: object @@ -76638,9 +76756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *488 - - *489 - - *505 + - *490 + - *491 + - *507 responses: '302': description: Response @@ -76668,9 +76786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *488 - - *489 - - *505 + - *490 + - *491 + - *507 requestBody: required: false content: @@ -76721,8 +76839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Status response @@ -76781,8 +76899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -76850,8 +76968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -76869,7 +76987,7 @@ paths: type: integer secrets: type: array - items: &518 + items: &520 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -76890,7 +77008,7 @@ paths: - created_at - updated_at examples: - default: &519 + default: &521 value: total_count: 2 secrets: @@ -76923,8 +77041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -76942,7 +77060,7 @@ paths: type: integer variables: type: array - items: &520 + items: &522 title: Actions Variable type: object properties: @@ -76976,7 +77094,7 @@ paths: - created_at - updated_at examples: - default: &521 + default: &523 value: total_count: 2 variables: @@ -77009,8 +77127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -77019,7 +77137,7 @@ paths: schema: type: object properties: - enabled: &506 + enabled: &508 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *57 @@ -77054,8 +77172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -77066,7 +77184,7 @@ paths: schema: type: object properties: - enabled: *506 + enabled: *508 allowed_actions: *57 sha_pinning_required: *58 required: @@ -77099,14 +77217,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &507 + schema: &509 type: object properties: access_level: @@ -77124,7 +77242,7 @@ paths: required: - access_level examples: - default: &508 + default: &510 value: access_level: organization x-github: @@ -77149,15 +77267,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *507 + schema: *509 examples: - default: *508 + default: *510 responses: '204': description: Response @@ -77181,8 +77299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -77212,8 +77330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Empty response for successful settings update @@ -77247,8 +77365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -77275,8 +77393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -77310,8 +77428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -77339,8 +77457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -77371,8 +77489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -77403,8 +77521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -77436,8 +77554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -77466,8 +77584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Success response @@ -77507,8 +77625,8 @@ paths: in: query schema: type: string - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -77553,8 +77671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: version description: The runner version to look up. in: path @@ -77621,8 +77739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -77654,8 +77772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -77729,8 +77847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -77766,8 +77884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -77797,8 +77915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '200': @@ -77828,8 +77946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '204': @@ -77856,8 +77974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '200': *78 @@ -77882,8 +78000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 requestBody: required: true @@ -77932,8 +78050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 requestBody: required: true @@ -77983,8 +78101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 responses: '200': *287 @@ -78014,8 +78132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *72 - *288 responses: @@ -78045,9 +78163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *488 - - *489 - - &524 + - *490 + - *491 + - &526 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -78055,7 +78173,7 @@ paths: required: false schema: type: string - - &525 + - &527 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -78063,7 +78181,7 @@ paths: required: false schema: type: string - - &526 + - &528 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -78072,7 +78190,7 @@ paths: required: false schema: type: string - - &527 + - &529 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -78099,7 +78217,7 @@ paths: - pending - *17 - *19 - - &528 + - &530 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -78108,7 +78226,7 @@ paths: schema: type: string format: date-time - - &509 + - &511 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -78117,14 +78235,14 @@ paths: schema: type: boolean default: false - - &529 + - &531 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer format: int64 - - &530 + - &532 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -78147,7 +78265,7 @@ paths: type: integer workflow_runs: type: array - items: &510 + items: &512 title: Workflow Run description: An invocation of a workflow type: object @@ -78327,7 +78445,7 @@ paths: head_commit: anyOf: - type: 'null' - - &554 + - &556 title: Simple Commit description: A commit. type: object @@ -78442,7 +78560,7 @@ paths: - workflow_url - pull_requests examples: - default: &531 + default: &533 value: total_count: 1 workflow_runs: @@ -78678,24 +78796,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *488 - - *489 - - &511 + - *490 + - *491 + - &513 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *509 + - *511 responses: '200': description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: &514 + default: &516 value: id: 30433642 name: Build @@ -78936,9 +79054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '204': description: Response @@ -78961,9 +79079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '200': description: Response @@ -79091,9 +79209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '201': description: Response @@ -79126,12 +79244,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 - *17 - *19 - - *512 + - *514 - *107 responses: '200': @@ -79148,9 +79266,9 @@ paths: type: integer artifacts: type: array - items: *497 + items: *499 examples: - default: *513 + default: *515 headers: Link: *42 x-github: @@ -79174,25 +79292,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *488 - - *489 - - *511 - - &515 + - *490 + - *491 + - *513 + - &517 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *509 + - *511 responses: '200': description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *514 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79215,10 +79333,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *488 - - *489 - - *511 - - *515 + - *490 + - *491 + - *513 + - *517 - *17 - *19 responses: @@ -79236,9 +79354,9 @@ paths: type: integer jobs: type: array - items: *516 + items: *518 examples: - default: &517 + default: &519 value: total_count: 1 jobs: @@ -79351,10 +79469,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *488 - - *489 - - *511 - - *515 + - *490 + - *491 + - *513 + - *517 responses: '302': description: Response @@ -79382,9 +79500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '202': description: Response @@ -79430,9 +79548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 - *17 - *105 - *106 @@ -79609,9 +79727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: true content: @@ -79678,9 +79796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '202': description: Response @@ -79713,9 +79831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -79745,9 +79863,9 @@ paths: type: integer jobs: type: array - items: *516 + items: *518 examples: - default: *517 + default: *519 headers: Link: *42 x-github: @@ -79772,9 +79890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '302': description: Response @@ -79801,9 +79919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '204': description: Response @@ -79830,9 +79948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '200': description: Response @@ -79901,7 +80019,7 @@ paths: items: type: object properties: - type: &644 + type: &648 type: string description: The type of reviewer. enum: @@ -79987,9 +80105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: true content: @@ -80039,7 +80157,7 @@ paths: application/json: schema: type: array - items: &631 + items: &635 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -80151,7 +80269,7 @@ paths: - created_at - updated_at examples: - default: &632 + default: &636 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -80207,9 +80325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: false content: @@ -80254,9 +80372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 requestBody: required: false content: @@ -80311,9 +80429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *488 - - *489 - - *511 + - *490 + - *491 + - *513 responses: '200': description: Response @@ -80450,8 +80568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -80469,9 +80587,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -80496,8 +80614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -80527,17 +80645,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: &532 + default: &534 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -80563,8 +80681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -80622,8 +80740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -80649,8 +80767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -80668,9 +80786,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -80693,8 +80811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -80746,17 +80864,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: &533 + default: &535 value: name: USERNAME value: octocat @@ -80782,8 +80900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 requestBody: required: true @@ -80826,8 +80944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '204': @@ -80853,8 +80971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -80872,7 +80990,7 @@ paths: type: integer workflows: type: array - items: &522 + items: &524 title: Workflow description: A GitHub Actions workflow type: object @@ -80990,9 +81108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *488 - - *489 - - &523 + - *490 + - *491 + - &525 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -81007,7 +81125,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *524 examples: default: value: @@ -81040,9 +81158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '204': description: Response @@ -81067,9 +81185,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -81167,9 +81285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '204': description: Response @@ -81196,19 +81314,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *488 - - *489 - - *523 - - *524 + - *490 + - *491 - *525 - *526 - *527 - - *17 - - *19 - *528 - - *509 - *529 + - *17 + - *19 - *530 + - *511 + - *531 + - *532 responses: '200': description: Response @@ -81224,9 +81342,9 @@ paths: type: integer workflow_runs: type: array - items: *510 + items: *512 examples: - default: *531 + default: *533 headers: Link: *42 x-github: @@ -81259,9 +81377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *488 - - *489 - - *523 + - *490 + - *491 + - *525 responses: '200': description: Response @@ -81322,8 +81440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *488 - - *489 + - *490 + - *491 - *107 - *17 - *105 @@ -81496,8 +81614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -81515,9 +81633,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -81541,8 +81659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -81560,9 +81678,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -81587,8 +81705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -81606,9 +81724,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -81633,8 +81751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -81664,17 +81782,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *532 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81696,8 +81814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -81755,8 +81873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -81782,8 +81900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables parameters: - - *488 - - *489 + - *490 + - *491 - *299 - *19 responses: @@ -81801,9 +81919,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -81826,8 +81944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -81879,17 +81997,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81910,8 +82028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 requestBody: required: true @@ -81954,8 +82072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 responses: '204': @@ -81977,8 +82095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -82015,8 +82133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *488 - - *489 + - *490 + - *491 - name: assignee in: path required: true @@ -82052,8 +82170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -82163,8 +82281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *105 - *106 @@ -82221,7 +82339,7 @@ paths: initiator: type: string examples: - default: *534 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82255,8 +82373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -82264,7 +82382,7 @@ paths: application/json: schema: type: array - items: &535 + items: &537 title: Autolink reference description: An autolink reference. type: object @@ -82323,8 +82441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -82363,9 +82481,9 @@ paths: description: response content: application/json: - schema: *535 + schema: *537 examples: - default: &536 + default: &538 value: id: 1 key_prefix: TICKET- @@ -82396,9 +82514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *488 - - *489 - - &537 + - *490 + - *491 + - &539 name: autolink_id description: The unique identifier of the autolink. in: path @@ -82410,9 +82528,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *537 examples: - default: *536 + default: *538 '404': *6 x-github: githubCloudOnly: false @@ -82432,9 +82550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *488 - - *489 - - *537 + - *490 + - *491 + - *539 responses: '204': description: Response @@ -82458,8 +82576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response if Dependabot is enabled @@ -82509,8 +82627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -82531,8 +82649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -82552,8 +82670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *488 - - *489 + - *490 + - *491 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -82591,7 +82709,7 @@ paths: - url protected: type: boolean - protection: &539 + protection: &541 title: Branch Protection description: Branch Protection type: object @@ -82634,7 +82752,7 @@ paths: required: - contexts - checks - enforce_admins: &542 + enforce_admins: &544 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -82651,7 +82769,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &544 + required_pull_request_reviews: &546 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -82735,7 +82853,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &541 + restrictions: &543 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -83028,9 +83146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *488 - - *489 - - &540 + - *490 + - *491 + - &542 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -83044,14 +83162,14 @@ paths: description: Response content: application/json: - schema: &550 + schema: &552 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &604 + commit: &608 title: Commit description: Commit type: object @@ -83090,7 +83208,7 @@ paths: author: anyOf: - type: 'null' - - &538 + - &540 title: Git User description: Metaproperties for Git author/committer information. @@ -83112,7 +83230,7 @@ paths: committer: anyOf: - type: 'null' - - *538 + - *540 message: type: string examples: @@ -83136,7 +83254,7 @@ paths: required: - sha - url - verification: &662 + verification: &666 title: Verification type: object properties: @@ -83216,7 +83334,7 @@ paths: type: integer files: type: array - items: &614 + items: &618 title: Diff Entry description: Diff Entry type: object @@ -83312,7 +83430,7 @@ paths: - self protected: type: boolean - protection: *539 + protection: *541 protection_url: type: string format: uri @@ -83421,7 +83539,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *494 + '301': *496 '404': *6 x-github: githubCloudOnly: false @@ -83443,15 +83561,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *539 + schema: *541 examples: default: value: @@ -83645,9 +83763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -83907,7 +84025,7 @@ paths: url: type: string format: uri - required_status_checks: &547 + required_status_checks: &549 title: Status Check Policy description: Status Check Policy type: object @@ -84066,7 +84184,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *541 + restrictions: *543 required_conversation_resolution: type: object properties: @@ -84178,9 +84296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -84205,17 +84323,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: &543 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -84237,17 +84355,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *543 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84266,9 +84384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -84293,17 +84411,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: &545 + default: &547 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -84399,9 +84517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84499,9 +84617,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: *545 + default: *547 '422': *15 x-github: githubCloudOnly: false @@ -84522,9 +84640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -84551,17 +84669,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: &546 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -84584,17 +84702,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *542 + schema: *544 examples: - default: *546 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -84614,9 +84732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -84641,17 +84759,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: &548 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -84677,9 +84795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84731,9 +84849,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *549 examples: - default: *548 + default: *550 '404': *6 '422': *15 x-github: @@ -84755,9 +84873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -84781,9 +84899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -84817,9 +84935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84886,9 +85004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -84952,9 +85070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: content: application/json: @@ -85020,15 +85138,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response content: application/json: - schema: *541 + schema: *543 examples: default: value: @@ -85119,9 +85237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '204': description: Response @@ -85144,9 +85262,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -85156,7 +85274,7 @@ paths: type: array items: *5 examples: - default: &549 + default: &551 value: - id: 1 slug: octoapp @@ -85213,9 +85331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85249,7 +85367,7 @@ paths: type: array items: *5 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -85270,9 +85388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85306,7 +85424,7 @@ paths: type: array items: *5 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -85327,9 +85445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85363,7 +85481,7 @@ paths: type: array items: *5 examples: - default: *549 + default: *551 '422': *15 x-github: githubCloudOnly: false @@ -85385,9 +85503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -85397,7 +85515,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '404': *6 x-github: githubCloudOnly: false @@ -85417,9 +85535,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -85457,7 +85575,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -85478,9 +85596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: false content: @@ -85518,7 +85636,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -85539,9 +85657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: content: application/json: @@ -85578,7 +85696,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 '422': *15 x-github: githubCloudOnly: false @@ -85600,9 +85718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 responses: '200': description: Response @@ -85636,9 +85754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85696,9 +85814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85756,9 +85874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85818,9 +85936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 requestBody: required: true content: @@ -85842,7 +85960,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -85956,8 +86074,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *488 - - *489 + - *490 + - *491 - *100 - *101 - *102 @@ -85993,8 +86111,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_request_number in: path required: true @@ -86067,8 +86185,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - *100 - *101 - *102 @@ -86108,8 +86226,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_request_number in: path required: true @@ -86179,8 +86297,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_request_number in: path required: true @@ -86251,8 +86369,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *488 - - *489 + - *490 + - *491 - name: bypass_response_id in: path required: true @@ -86285,8 +86403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -86565,7 +86683,7 @@ paths: description: Response content: application/json: - schema: &551 + schema: &553 title: CheckRun description: A check performed on the code of a given code change type: object @@ -86701,7 +86819,7 @@ paths: check. type: array items: *224 - deployment: &908 + deployment: &912 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -86988,9 +87106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *488 - - *489 - - &552 + - *490 + - *491 + - &554 name: check_run_id description: The unique identifier of the check run. in: path @@ -87003,9 +87121,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: &553 + default: &555 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -87105,9 +87223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *488 - - *489 - - *552 + - *490 + - *491 + - *554 requestBody: required: true content: @@ -87347,9 +87465,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *553 examples: - default: *553 + default: *555 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87369,9 +87487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *488 - - *489 - - *552 + - *490 + - *491 + - *554 - *17 - *19 responses: @@ -87481,9 +87599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *488 - - *489 - - *552 + - *490 + - *491 + - *554 responses: '201': description: Response @@ -87527,8 +87645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -87550,7 +87668,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &555 + schema: &557 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -87648,7 +87766,7 @@ paths: - string - 'null' format: date-time - head_commit: *554 + head_commit: *556 latest_check_runs_count: type: integer check_runs_url: @@ -87676,7 +87794,7 @@ paths: - check_runs_url - pull_requests examples: - default: &556 + default: &558 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -87967,9 +88085,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87988,8 +88106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -88298,9 +88416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *488 - - *489 - - &557 + - *490 + - *491 + - &559 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -88312,9 +88430,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88337,17 +88455,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *488 - - *489 - - *557 - - &609 + - *490 + - *491 + - *559 + - &613 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &610 + - &614 name: status description: Returns check runs with the specified `status`. in: query @@ -88386,9 +88504,9 @@ paths: type: integer check_runs: type: array - items: *551 + items: *553 examples: - default: &611 + default: &615 value: total_count: 1 check_runs: @@ -88490,9 +88608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *488 - - *489 - - *557 + - *490 + - *491 + - *559 responses: '201': description: Response @@ -88521,8 +88639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *107 - *105 @@ -88544,7 +88662,7 @@ paths: application/json: schema: type: array - items: &558 + items: &560 description: Code quality finding type: object properties: @@ -88674,7 +88792,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': &559 + '403': &561 description: Response if the user is not authorized to access Code quality for this repository. content: @@ -88701,8 +88819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-finding parameters: - - *488 - - *489 + - *490 + - *491 - name: finding_number in: path description: The number that identifies a finding. @@ -88714,7 +88832,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default: value: @@ -88743,7 +88861,7 @@ paths: markdown: This check is useless. [o](java/UselessNullCheck.java#L9C4-L9C18) cannot be null at this check, since it is guarded by [...instanceof...](java/UselessNullCheck.java#L7C13-L7C25). created_at: '2026-01-23T12:34:56Z' - '403': *559 + '403': *561 '404': *6 '503': *193 x-github: @@ -88765,8 +88883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#get-a-code-quality-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -88848,7 +88966,7 @@ paths: updated_at: '2023-01-01T00:00:00Z' schedule: weekly ai_findings_option: on_push - '403': *559 + '403': *561 '404': *6 '503': *193 x-github: @@ -88869,8 +88987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-quality/code-quality#update-a-code-quality-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -88990,6 +89108,122 @@ paths: enabledForGitHubApps: true category: code-quality subcategory: code-quality + "/repos/{owner}/{repo}/code-scanning/ai-scan": + get: + summary: Get AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/get-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository + parameters: + - *490 + - *491 + responses: + '200': + description: Response + content: + application/json: + schema: &562 + description: AI Scan enablement for a repository. + type: object + properties: + pr_scan: + description: Whether AI Scan is enabled for the repository. + type: string + enum: + - enabled + - disabled + required: + - pr_scan + examples: + default: &563 + value: + pr_scan: enabled + '403': &572 + description: Response if GitHub Advanced Security is not enabled for this + repository + content: + application/json: + schema: *3 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning + patch: + summary: Update AI Scan enablement for a repository + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Updates whether AI Scan is enabled for a repository. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. + tags: + - code-scanning + operationId: code-scanning/update-ai-scan-enablement + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository + parameters: + - *490 + - *491 + requestBody: + required: true + content: + application/json: + schema: + description: AI Scan enablement update for a repository. + type: object + properties: + pr_scan: + description: Whether to enable or disable AI Scan for the repository. + type: string + enum: + - enabled + - disabled + minProperties: 1 + additionalProperties: false + examples: + enabled: + summary: Enable AI Scan + value: + pr_scan: enabled + disabled: + summary: Disable AI Scan + value: + pr_scan: disabled + responses: + '200': + description: Response + content: + application/json: + schema: *562 + examples: + default: *563 + '403': &576 + description: Response if the repository is archived or if GitHub Advanced + Security is not enabled for this repository + content: + application/json: + schema: *3 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: code-scanning + subcategory: code-scanning "/repos/{owner}/{repo}/code-scanning/alerts": get: summary: List code scanning alerts for a repository @@ -89008,21 +89242,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *488 - - *489 - - *317 - - *318 + - *490 + - *491 + - *319 + - *320 - *19 - *17 - - &576 + - &580 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *560 - - &577 + schema: *564 + - &581 name: pr description: The number of the pull request for the results you want to list. in: query @@ -89047,13 +89281,13 @@ paths: be returned. in: query required: false - schema: *319 + schema: *321 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *561 + schema: *565 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -89077,7 +89311,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *562 + instances_url: *566 state: *110 fixed_at: *138 dismissed_by: @@ -89085,11 +89319,11 @@ paths: - type: 'null' - *4 dismissed_at: *137 - dismissed_reason: *563 - dismissed_comment: *564 - rule: *565 - tool: *566 - most_recent_instance: *567 + dismissed_reason: *567 + dismissed_comment: *568 + rule: *569 + tool: *570 + most_recent_instance: *571 dismissal_approved_by: anyOf: - type: 'null' @@ -89212,12 +89446,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *32 - '403': &569 - description: Response if GitHub Advanced Security is not enabled for this - repository - content: - application/json: - schema: *3 + '403': *572 '404': *6 '503': *193 x-github: @@ -89239,9 +89468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *488 - - *489 - - &570 + - *490 + - *491 + - &574 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -89255,7 +89484,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &575 type: object properties: number: *128 @@ -89263,7 +89492,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *562 + instances_url: *566 state: *110 fixed_at: *138 dismissed_by: @@ -89271,8 +89500,8 @@ paths: - type: 'null' - *4 dismissed_at: *137 - dismissed_reason: *563 - dismissed_comment: *564 + dismissed_reason: *567 + dismissed_comment: *568 rule: type: object properties: @@ -89334,8 +89563,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *566 - most_recent_instance: *567 + tool: *570 + most_recent_instance: *571 dismissal_approved_by: anyOf: - type: 'null' @@ -89346,7 +89575,7 @@ paths: linked_pull_requests: description: Pull requests linked to this alert. type: array - items: *568 + items: *573 required: - number - created_at @@ -89435,7 +89664,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *32 - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -89455,9 +89684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 requestBody: required: true content: @@ -89472,8 +89701,8 @@ paths: enum: - open - dismissed - dismissed_reason: *563 - dismissed_comment: *564 + dismissed_reason: *567 + dismissed_comment: *568 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -89501,7 +89730,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *575 examples: default: value: @@ -89577,12 +89806,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &575 - description: Response if the repository is archived or if GitHub Advanced - Security is not enabled for this repository - content: - application/json: - schema: *3 + '403': *576 '404': *6 '503': *193 x-github: @@ -89604,15 +89828,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 responses: '200': description: Response content: application/json: - schema: &572 + schema: &577 type: object properties: status: @@ -89639,13 +89863,13 @@ paths: - description - started_at examples: - default: &573 + default: &578 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &574 + '400': &579 description: Bad Request content: application/json: @@ -89656,7 +89880,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *569 + '403': *572 '404': *6 '500': *35 x-github: @@ -89681,29 +89905,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 responses: '200': description: OK content: application/json: - schema: *572 + schema: *577 examples: - default: *573 + default: *578 '202': description: Accepted content: application/json: - schema: *572 + schema: *577 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *574 + '400': *579 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -89735,9 +89959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 requestBody: required: false content: @@ -89783,8 +90007,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *574 - '403': *575 + '400': *579 + '403': *576 '404': *6 '422': description: Unprocessable Entity @@ -89808,13 +90032,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 - *19 - *17 - - *576 - - *577 + - *580 + - *581 responses: '200': description: Response @@ -89825,10 +90049,10 @@ paths: items: type: object properties: - ref: *560 - analysis_key: *578 - environment: *579 - category: *580 + ref: *564 + analysis_key: *582 + environment: *583 + category: *584 state: type: - string @@ -89845,7 +90069,7 @@ paths: properties: text: type: string - location: *581 + location: *585 html_url: type: string classifications: @@ -89853,7 +90077,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *582 + items: *586 examples: default: value: @@ -89890,7 +90114,7 @@ paths: end_column: 50 classifications: - source - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -89924,25 +90148,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *488 - - *489 - - *317 - - *318 + - *490 + - *491 + - *319 + - *320 - *19 - *17 - - *577 + - *581 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *560 + schema: *564 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &583 + schema: &587 type: string description: An identifier for the upload. examples: @@ -89964,23 +90188,23 @@ paths: application/json: schema: type: array - items: &584 + items: &588 type: object properties: - ref: *560 - commit_sha: &592 + ref: *564 + commit_sha: &596 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 64 pattern: "^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$" - analysis_key: *578 + analysis_key: *582 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *580 + category: *584 error: type: string examples: @@ -90005,8 +90229,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *583 - tool: *566 + sarif_id: *587 + tool: *570 deletable: type: boolean warning: @@ -90068,7 +90292,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -90104,8 +90328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -90118,7 +90342,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: response: summary: application/json response @@ -90172,7 +90396,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *569 + '403': *572 '404': *6 '422': description: Response if analysis could not be processed @@ -90259,8 +90483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -90316,7 +90540,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *575 + '403': *576 '404': *6 '503': *193 x-github: @@ -90338,8 +90562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -90347,7 +90571,7 @@ paths: application/json: schema: type: array - items: &585 + items: &589 title: CodeQL Database description: A CodeQL database. type: object @@ -90459,7 +90683,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -90488,8 +90712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: language in: path description: The language of the CodeQL database. @@ -90501,7 +90725,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *589 examples: default: value: @@ -90533,9 +90757,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &618 + '302': &622 description: Found - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -90557,8 +90781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *488 - - *489 + - *490 + - *491 - name: language in: path description: The language of the CodeQL database. @@ -90568,7 +90792,7 @@ paths: responses: '204': description: Response - '403': *575 + '403': *576 '404': *6 '503': *193 x-github: @@ -90596,8 +90820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -90606,7 +90830,7 @@ paths: type: object additionalProperties: false properties: - language: &586 + language: &590 type: string description: The language targeted by the CodeQL query enum: @@ -90686,7 +90910,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &590 + schema: &594 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -90696,7 +90920,7 @@ paths: description: The ID of the variant analysis. controller_repo: *117 actor: *4 - query_language: *586 + query_language: *590 query_pack_url: type: string description: The download url for the query pack. @@ -90744,7 +90968,7 @@ paths: items: type: object properties: - repository: &587 + repository: &591 title: Repository Identifier description: Repository Identifier type: object @@ -90786,7 +91010,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &591 + analysis_status: &595 type: string description: The new status of the CodeQL variant analysis repository task. @@ -90818,7 +91042,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &588 + access_mismatch_repos: &592 type: object properties: repository_count: @@ -90833,7 +91057,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *587 + items: *591 required: - repository_count - repositories @@ -90856,8 +91080,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *588 - over_limit_repos: *588 + no_codeql_db_repos: *592 + over_limit_repos: *592 required: - access_mismatch_repos - not_found_repos @@ -90873,7 +91097,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &589 + value: &593 summary: Default response value: id: 1 @@ -91019,10 +91243,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *589 + value: *593 repository_lists: summary: Response for a successful variant analysis submission - value: *589 + value: *593 '404': *6 '422': description: Unable to process variant analysis submission @@ -91050,8 +91274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *488 - - *489 + - *490 + - *491 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -91063,9 +91287,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *594 examples: - default: *589 + default: *593 '404': *6 '503': *193 x-github: @@ -91088,7 +91312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *488 + - *490 - name: repo in: path description: The name of the controller repository. @@ -91123,7 +91347,7 @@ paths: type: object properties: repository: *117 - analysis_status: *591 + analysis_status: *595 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -91248,8 +91472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -91359,7 +91583,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *569 + '403': *572 '404': *6 '503': *193 x-github: @@ -91380,8 +91604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -91475,7 +91699,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *575 + '403': *576 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -91546,8 +91770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -91555,7 +91779,7 @@ paths: schema: type: object properties: - commit_sha: *592 + commit_sha: *596 ref: type: string description: |- @@ -91615,7 +91839,7 @@ paths: schema: type: object properties: - id: *583 + id: *587 url: type: string description: The REST API URL for checking the status of the upload. @@ -91629,7 +91853,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *575 + '403': *576 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -91652,8 +91876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *488 - - *489 + - *490 + - *491 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -91701,7 +91925,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *569 + '403': *572 '404': description: Not Found if the sarif id does not match any upload '503': *193 @@ -91726,8 +91950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -91808,8 +92032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -91937,8 +92161,8 @@ paths: parameters: - *17 - *19 - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -91954,7 +92178,7 @@ paths: type: integer codespaces: type: array - items: *392 + items: *394 examples: default: value: @@ -92252,8 +92476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -92317,17 +92541,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '400': *14 '401': *23 '403': *27 @@ -92356,8 +92580,8 @@ paths: parameters: - *17 - *19 - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -92421,8 +92645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -92459,9 +92683,9 @@ paths: type: integer machines: type: array - items: *594 + items: *598 examples: - default: &852 + default: &856 value: total_count: 2 machines: @@ -92501,8 +92725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -92589,8 +92813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -92659,8 +92883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -92678,7 +92902,7 @@ paths: type: integer secrets: type: array - items: &598 + items: &602 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -92699,7 +92923,7 @@ paths: - created_at - updated_at examples: - default: *595 + default: *599 headers: Link: *42 x-github: @@ -92722,16 +92946,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: *597 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92751,17 +92975,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *598 + schema: *602 examples: - default: *599 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92781,8 +93005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -92835,8 +93059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -92865,8 +93089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *488 - - *489 + - *490 + - *491 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -92904,7 +93128,7 @@ paths: application/json: schema: type: array - items: &600 + items: &604 title: Collaborator description: Collaborator type: object @@ -93097,8 +93321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *488 - - *489 + - *490 + - *491 - *127 responses: '204': @@ -93145,8 +93369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *488 - - *489 + - *490 + - *491 - *127 requestBody: required: false @@ -93173,7 +93397,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &675 + schema: &679 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93401,8 +93625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *488 - - *489 + - *490 + - *491 - *127 responses: '204': @@ -93434,8 +93658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *488 - - *489 + - *490 + - *491 - *127 responses: '200': @@ -93456,7 +93680,7 @@ paths: user: anyOf: - type: 'null' - - *600 + - *604 required: - permission - role_name @@ -93510,8 +93734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -93521,7 +93745,7 @@ paths: application/json: schema: type: array - items: &601 + items: &605 title: Commit Comment description: Commit Comment type: object @@ -93579,7 +93803,7 @@ paths: - created_at - updated_at examples: - default: &606 + default: &610 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93638,17 +93862,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': description: Response content: application/json: - schema: *601 + schema: *605 examples: - default: &607 + default: &611 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -93705,8 +93929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -93729,7 +93953,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *605 examples: default: value: @@ -93780,8 +94004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -93803,8 +94027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -93831,7 +94055,7 @@ paths: application/json: schema: type: array - items: &602 + items: &606 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -93875,7 +94099,7 @@ paths: - content - created_at examples: - default: &678 + default: &682 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -93920,8 +94144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -93954,9 +94178,9 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: &603 + default: &607 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -93985,9 +94209,9 @@ paths: description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -94009,10 +94233,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *488 - - *489 + - *490 + - *491 - *235 - - &679 + - &683 name: reaction_id description: The unique identifier of the reaction. in: path @@ -94067,8 +94291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *488 - - *489 + - *490 + - *491 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -94124,9 +94348,9 @@ paths: application/json: schema: type: array - items: *604 + items: *608 examples: - default: &746 + default: &750 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -94220,9 +94444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *488 - - *489 - - &605 + - *490 + - *491 + - &609 name: commit_sha description: The SHA of the commit. in: path @@ -94294,9 +94518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 - *17 - *19 responses: @@ -94306,9 +94530,9 @@ paths: application/json: schema: type: array - items: *601 + items: *605 examples: - default: *606 + default: *610 headers: Link: *42 x-github: @@ -94338,9 +94562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 requestBody: required: true content: @@ -94375,9 +94599,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *605 examples: - default: *607 + default: *611 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -94405,9 +94629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 - *17 - *19 responses: @@ -94417,9 +94641,9 @@ paths: application/json: schema: type: array - items: *568 + items: *573 examples: - default: &737 + default: &741 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -94956,11 +95180,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *488 - - *489 + - *490 + - *491 - *19 - *17 - - &608 + - &612 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -94975,9 +95199,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *608 examples: - default: &723 + default: &727 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -95065,7 +95289,7 @@ paths: schema: type: string examples: - default: &615 + default: &619 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -95078,7 +95302,7 @@ paths: schema: type: string examples: - default: &616 + default: &620 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -95131,11 +95355,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *488 - - *489 - - *608 - - *609 - - *610 + - *490 + - *491 + - *612 + - *613 + - *614 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -95169,9 +95393,9 @@ paths: type: integer check_runs: type: array - items: *551 + items: *553 examples: - default: *611 + default: *615 headers: Link: *42 x-github: @@ -95196,9 +95420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *488 - - *489 - - *608 + - *490 + - *491 + - *612 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -95206,7 +95430,7 @@ paths: schema: type: integer example: 1 - - *609 + - *613 - *17 - *19 responses: @@ -95224,7 +95448,7 @@ paths: type: integer check_suites: type: array - items: *555 + items: *557 examples: default: value: @@ -95424,9 +95648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *488 - - *489 - - *608 + - *490 + - *491 + - *612 - *17 - *19 responses: @@ -95628,9 +95852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *488 - - *489 - - *608 + - *490 + - *491 + - *612 - *17 - *19 responses: @@ -95640,7 +95864,7 @@ paths: application/json: schema: type: array - items: &804 + items: &808 title: Status description: The status of a commit. type: object @@ -95721,7 +95945,7 @@ paths: site_admin: false headers: Link: *42 - '301': *494 + '301': *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95749,8 +95973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -95783,11 +96007,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *612 + - *616 code_of_conduct_file: anyOf: - type: 'null' - - &613 + - &617 title: Community Health File type: object properties: @@ -95807,19 +96031,19 @@ paths: contributing: anyOf: - type: 'null' - - *613 + - *617 readme: anyOf: - type: 'null' - - *613 + - *617 issue_template: anyOf: - type: 'null' - - *613 + - *617 pull_request_template: anyOf: - type: 'null' - - *613 + - *617 required: - code_of_conduct - code_of_conduct_file @@ -95948,8 +96172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *488 - - *489 + - *490 + - *491 - *19 - *17 - name: basehead @@ -95997,8 +96221,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *604 - merge_base_commit: *604 + base_commit: *608 + merge_base_commit: *608 status: type: string enum: @@ -96022,10 +96246,10 @@ paths: - 6 commits: type: array - items: *604 + items: *608 files: type: array - items: *614 + items: *618 required: - url - html_url @@ -96271,12 +96495,12 @@ paths: schema: type: string examples: - default: *615 + default: *619 application/vnd.github.patch: schema: type: string examples: - default: *616 + default: *620 '404': *6 '500': *35 '503': *193 @@ -96321,8 +96545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *488 - - *489 + - *490 + - *491 - name: path description: path parameter in: path @@ -96492,7 +96716,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &617 + response-if-content-is-a-file-github-object: &621 summary: Response if content is a file value: type: file @@ -96629,7 +96853,7 @@ paths: - size - type - url - - &752 + - &756 title: Content File description: Content File type: object @@ -96847,7 +97071,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *617 + response-if-content-is-a-file: *621 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -96916,7 +97140,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *618 + '302': *622 '304': *32 x-github: githubCloudOnly: false @@ -96969,8 +97193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *488 - - *489 + - *490 + - *491 - name: path description: path parameter in: path @@ -97065,7 +97289,7 @@ paths: description: Response content: application/json: - schema: &619 + schema: &623 title: File Commit description: File Commit type: object @@ -97221,7 +97445,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: example-for-creating-a-file: value: @@ -97275,7 +97499,7 @@ paths: schema: oneOf: - *3 - - &657 + - &661 description: Repository rule violation was detected type: object properties: @@ -97296,7 +97520,7 @@ paths: items: type: object properties: - placeholder_id: &794 + placeholder_id: &798 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -97328,8 +97552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *488 - - *489 + - *490 + - *491 - name: path description: path parameter in: path @@ -97390,7 +97614,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: default: value: @@ -97445,8 +97669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *488 - - *489 + - *490 + - *491 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -97576,8 +97800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -97729,25 +97953,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *488 - - *489 - - *338 - - *339 + - *490 + - *491 - *340 - *341 - *342 + - *343 + - *344 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *343 - - *620 - - *344 - *345 + - *624 - *346 - *347 + - *348 + - *349 - *107 - *105 - *106 @@ -97759,7 +97983,7 @@ paths: application/json: schema: type: array - items: &624 + items: &628 type: object description: A Dependabot alert. properties: @@ -97810,7 +98034,7 @@ paths: - transitive - inconclusive - - security_advisory: *621 + security_advisory: *625 security_vulnerability: *132 url: *133 html_url: *134 @@ -97841,8 +98065,8 @@ paths: dismissal. maxLength: 280 fixed_at: *138 - auto_dismissed_at: *622 - dismissal_request: *623 + auto_dismissed_at: *626 + dismissal_request: *627 assignees: type: array description: The users assigned to this alert. @@ -98099,9 +98323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *488 - - *489 - - &625 + - *490 + - *491 + - &629 name: alert_number in: path description: |- @@ -98116,7 +98340,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *628 examples: default: value: @@ -98249,9 +98473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *488 - - *489 - - *625 + - *490 + - *491 + - *629 requestBody: required: true content: @@ -98324,7 +98548,7 @@ paths: description: Response content: application/json: - schema: *624 + schema: *628 examples: default: value: @@ -98455,8 +98679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -98474,7 +98698,7 @@ paths: type: integer secrets: type: array - items: &628 + items: &632 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -98528,16 +98752,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *626 + schema: *630 examples: - default: *627 + default: *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98557,15 +98781,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '200': description: Response content: application/json: - schema: *628 + schema: *632 examples: default: value: @@ -98591,8 +98815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 requestBody: required: true @@ -98645,8 +98869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *488 - - *489 + - *490 + - *491 - *290 responses: '204': @@ -98669,8 +98893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *488 - - *489 + - *490 + - *491 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -98850,8 +99074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -99113,8 +99337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: sbom_uuid in: path required: true @@ -99125,7 +99349,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *629 + Location: *633 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -99146,8 +99370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -99185,8 +99409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -99269,7 +99493,7 @@ paths: - version - url additionalProperties: false - metadata: &630 + metadata: &634 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -99308,7 +99532,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *630 + metadata: *634 resolved: type: object description: A collection of resolved package dependencies. @@ -99322,7 +99546,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *630 + metadata: *634 relationship: type: string description: A notation of whether a dependency is requested @@ -99455,8 +99679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *488 - - *489 + - *490 + - *491 - name: sha description: The SHA recorded at creation time. in: query @@ -99497,9 +99721,9 @@ paths: application/json: schema: type: array - items: *631 + items: *635 examples: - default: *632 + default: *636 headers: Link: *42 x-github: @@ -99565,8 +99789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -99648,7 +99872,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *635 examples: simple-example: summary: Simple example @@ -99721,9 +99945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *488 - - *489 - - &633 + - *490 + - *491 + - &637 name: deployment_id description: deployment_id parameter in: path @@ -99735,7 +99959,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *635 examples: default: value: @@ -99800,9 +100024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 responses: '204': description: Response @@ -99824,9 +100048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 - *17 - *19 responses: @@ -99836,7 +100060,7 @@ paths: application/json: schema: type: array - items: &634 + items: &638 title: Deployment Status description: The status of a deployment. type: object @@ -100000,9 +100224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 requestBody: required: true content: @@ -100077,9 +100301,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: &635 + default: &639 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -100135,9 +100359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *488 - - *489 - - *633 + - *490 + - *491 + - *637 - name: status_id in: path required: true @@ -100148,9 +100372,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: *635 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -100177,12 +100401,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 - - *636 - - *637 - - *638 - - *639 + - *490 + - *491 + - *640 + - *641 + - *642 + - *643 - *17 - *19 responses: @@ -100192,9 +100416,9 @@ paths: application/json: schema: type: array - items: *640 + items: *644 examples: - default: *641 + default: *645 '404': *6 '403': *27 '500': *35 @@ -100218,8 +100442,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100231,7 +100455,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *640 + schema: *644 examples: default: value: @@ -100287,8 +100511,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100347,12 +100571,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 - - *636 - - *637 - - *638 - - *639 + - *490 + - *491 + - *640 + - *641 + - *642 + - *643 - *17 - *19 responses: @@ -100362,9 +100586,9 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 + default: *647 '404': *6 '403': *27 '500': *35 @@ -100388,8 +100612,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100401,7 +100625,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *642 + schema: *646 examples: default: value: @@ -100452,8 +100676,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100492,7 +100716,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *642 + schema: *646 examples: default: value: @@ -100543,8 +100767,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100615,8 +100839,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100649,12 +100873,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - *100 - *101 - *102 - - *353 + - *355 - *17 - *19 responses: @@ -100664,9 +100888,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 '404': *6 '403': *27 '500': *35 @@ -100691,8 +100915,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100704,7 +100928,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *355 + schema: *357 examples: default: value: @@ -100762,8 +100986,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: alert_number in: path required: true @@ -100832,8 +101056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -100890,8 +101114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -100909,7 +101133,7 @@ paths: - 5 environments: type: array - items: &645 + items: &649 title: Environment description: Details of a deployment environment type: object @@ -100971,7 +101195,7 @@ paths: type: string examples: - wait_timer - wait_timer: &647 + wait_timer: &651 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -101013,7 +101237,7 @@ paths: items: type: object properties: - type: *644 + type: *648 reviewer: anyOf: - *4 @@ -101040,7 +101264,7 @@ paths: - id - node_id - type - deployment_branch_policy: &648 + deployment_branch_policy: &652 type: - object - 'null' @@ -101157,9 +101381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *488 - - *489 - - &646 + - *490 + - *491 + - &650 name: environment_name in: path required: true @@ -101172,9 +101396,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: &649 + default: &653 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -101258,9 +101482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 requestBody: required: false content: @@ -101270,7 +101494,7 @@ paths: - object - 'null' properties: - wait_timer: *647 + wait_timer: *651 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -101289,14 +101513,14 @@ paths: items: type: object properties: - type: *644 + type: *648 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *648 + deployment_branch_policy: *652 additionalProperties: false examples: default: @@ -101316,9 +101540,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: *649 + default: *653 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -101342,9 +101566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 responses: '204': description: Default response @@ -101369,9 +101593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *17 - *19 responses: @@ -101390,7 +101614,7 @@ paths: - 2 branch_policies: type: array - items: &650 + items: &654 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -101451,9 +101675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 requestBody: required: true content: @@ -101501,9 +101725,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - example-wildcard: &651 + example-wildcard: &655 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -101545,10 +101769,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 - - &652 + - *490 + - *491 + - *650 + - &656 name: branch_policy_id in: path required: true @@ -101560,9 +101784,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - default: *651 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101581,10 +101805,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 - - *652 + - *490 + - *491 + - *650 + - *656 requestBody: required: true content: @@ -101613,9 +101837,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - default: *651 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101634,10 +101858,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *488 - - *489 - - *646 - - *652 + - *490 + - *491 + - *650 + - *656 responses: '204': description: Response @@ -101662,9 +101886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *646 - - *489 - - *488 + - *650 + - *491 + - *490 responses: '200': description: List of deployment protection rules @@ -101681,7 +101905,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &653 + items: &657 title: Deployment protection rule description: Deployment protection rule type: object @@ -101703,7 +101927,7 @@ paths: for the environment. examples: - true - app: &654 + app: &658 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -101806,9 +102030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *646 - - *489 - - *488 + - *650 + - *491 + - *490 requestBody: content: application/json: @@ -101829,9 +102053,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *653 + schema: *657 examples: - default: &655 + default: &659 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -101866,9 +102090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *646 - - *489 - - *488 + - *650 + - *491 + - *490 - *19 - *17 responses: @@ -101888,7 +102112,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *654 + items: *658 examples: default: value: @@ -101923,10 +102147,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *488 - - *489 - - *646 - - &656 + - *490 + - *491 + - *650 + - &660 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -101938,9 +102162,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *657 examples: - default: *655 + default: *659 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101961,10 +102185,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *646 - - *489 - - *488 - - *656 + - *650 + - *491 + - *490 + - *660 responses: '204': description: Response @@ -101990,9 +102214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *17 - *19 responses: @@ -102010,9 +102234,9 @@ paths: type: integer secrets: type: array - items: *518 + items: *520 examples: - default: *519 + default: *521 headers: Link: *42 x-github: @@ -102037,9 +102261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 responses: '200': description: Response @@ -102069,18 +102293,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *290 responses: '200': description: Response content: application/json: - schema: *518 + schema: *520 examples: - default: *532 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102102,9 +102326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *290 requestBody: required: true @@ -102162,9 +102386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *290 responses: '204': @@ -102190,9 +102414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *299 - *19 responses: @@ -102210,9 +102434,9 @@ paths: type: integer variables: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 headers: Link: *42 x-github: @@ -102235,9 +102459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 requestBody: required: true content: @@ -102289,18 +102513,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *488 - - *489 - - *646 + - *490 + - *491 + - *650 - *293 responses: '200': description: Response content: application/json: - schema: *520 + schema: *522 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102321,10 +102545,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 - - *646 + - *650 requestBody: required: true content: @@ -102366,10 +102590,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *488 - - *489 + - *490 + - *491 - *293 - - *646 + - *650 responses: '204': description: Response @@ -102391,8 +102615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -102460,8 +102684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *488 - - *489 + - *490 + - *491 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -102620,8 +102844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -102654,9 +102878,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 '400': *14 '422': *15 '403': *27 @@ -102677,8 +102901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -102738,7 +102962,7 @@ paths: schema: oneOf: - *255 - - *657 + - *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102763,8 +102987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *488 - - *489 + - *490 + - *491 - name: file_sha in: path required: true @@ -102864,8 +103088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -102974,7 +103198,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &662 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -103201,15 +103425,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *488 - - *489 - - *605 + - *490 + - *491 + - *609 responses: '200': description: Response content: application/json: - schema: *658 + schema: *662 examples: default: value: @@ -103265,9 +103489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *488 - - *489 - - &659 + - *490 + - *491 + - &663 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -103284,7 +103508,7 @@ paths: application/json: schema: type: array - items: &660 + items: &664 title: Git Reference description: Git references within a repository type: object @@ -103360,17 +103584,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *488 - - *489 - - *659 + - *490 + - *491 + - *663 responses: '200': description: Response content: application/json: - schema: *660 + schema: *664 examples: - default: &661 + default: &665 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -103399,8 +103623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -103429,9 +103653,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *664 examples: - default: *661 + default: *665 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -103457,9 +103681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *488 - - *489 - - *659 + - *490 + - *491 + - *663 requestBody: required: true content: @@ -103488,9 +103712,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *664 examples: - default: *661 + default: *665 '422': *15 '409': *116 x-github: @@ -103508,9 +103732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *488 - - *489 - - *659 + - *490 + - *491 + - *663 responses: '204': description: Response @@ -103565,8 +103789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -103633,7 +103857,7 @@ paths: description: Response content: application/json: - schema: &663 + schema: &667 title: Git Tag description: Metadata for a Git tag type: object @@ -103689,7 +103913,7 @@ paths: - sha - type - url - verification: *662 + verification: *666 required: - sha - url @@ -103699,7 +103923,7 @@ paths: - tag - message examples: - default: &664 + default: &668 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -103772,8 +103996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *488 - - *489 + - *490 + - *491 - name: tag_sha in: path required: true @@ -103784,9 +104008,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: *664 + default: *668 '404': *6 '409': *116 x-github: @@ -103810,8 +104034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -103885,7 +104109,7 @@ paths: description: Response content: application/json: - schema: &665 + schema: &669 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -103987,8 +104211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *488 - - *489 + - *490 + - *491 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -104011,7 +104235,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: default-response: summary: Default response @@ -104069,8 +104293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-the-hash-algorithm-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -104114,8 +104338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -104125,7 +104349,7 @@ paths: application/json: schema: type: array - items: &666 + items: &670 title: Webhook description: Webhooks for repositories. type: object @@ -104188,7 +104412,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &944 + last_response: &948 title: Hook Response type: object properties: @@ -104265,8 +104489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -104319,9 +104543,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: &667 + default: &671 value: type: Repository id: 12345678 @@ -104369,17 +104593,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '200': description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '404': *6 x-github: githubCloudOnly: false @@ -104399,9 +104623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 requestBody: required: true content: @@ -104446,9 +104670,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '422': *15 '404': *6 x-github: @@ -104469,9 +104693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '204': description: Response @@ -104495,9 +104719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '200': description: Response @@ -104524,9 +104748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 requestBody: required: false content: @@ -104570,12 +104794,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *488 - - *489 - - *359 - - *17 - - *360 + - *490 + - *491 - *361 + - *17 + - *362 + - *363 responses: '200': description: Response @@ -104583,9 +104807,9 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: - default: *363 + default: *365 '400': *14 '422': *15 x-github: @@ -104604,18 +104828,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 - *16 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 '400': *14 '422': *15 x-github: @@ -104634,9 +104858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 - *16 responses: '202': *34 @@ -104659,9 +104883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '204': description: Response @@ -104686,9 +104910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *488 - - *489 - - *359 + - *490 + - *491 + - *361 responses: '204': description: Response @@ -104711,8 +104935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response if immutable releases are enabled @@ -104760,8 +104984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '409': *116 @@ -104781,8 +105005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '409': *116 @@ -104839,14 +105063,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &668 + schema: &672 title: Import description: A repository import from an external source. type: object @@ -104953,7 +105177,7 @@ paths: - html_url - authors_url examples: - default: &671 + default: &675 value: vcs: subversion use_lfs: true @@ -104969,7 +105193,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &669 + '503': &673 description: Unavailable due to service under maintenance. content: application/json: @@ -104998,8 +105222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -105047,7 +105271,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: default: value: @@ -105072,7 +105296,7 @@ paths: type: string '422': *15 '404': *6 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105100,8 +105324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -105153,7 +105377,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: example-1: summary: Example 1 @@ -105201,7 +105425,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105224,12 +105448,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105255,9 +105479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *488 - - *489 - - &874 + - *490 + - *491 + - &878 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -105271,7 +105495,7 @@ paths: application/json: schema: type: array - items: &670 + items: &674 title: Porter Author description: Porter Author type: object @@ -105325,7 +105549,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105350,8 +105574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *488 - - *489 + - *490 + - *491 - name: author_id in: path required: true @@ -105381,7 +105605,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: default: value: @@ -105394,7 +105618,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105418,8 +105642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -105460,7 +105684,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105488,8 +105712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -105516,11 +105740,11 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: - default: *671 + default: *675 '422': *15 - '503': *669 + '503': *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105543,8 +105767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -105552,8 +105776,8 @@ paths: application/json: schema: *20 examples: - default: *377 - '301': *494 + default: *379 + '301': *496 '404': *6 x-github: githubCloudOnly: false @@ -105573,8 +105797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -105582,12 +105806,12 @@ paths: application/json: schema: anyOf: - - *379 + - *381 - type: object properties: {} additionalProperties: false examples: - default: &673 + default: &677 value: limit: collaborators_only origin: repository @@ -105612,13 +105836,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *672 + schema: *676 examples: default: summary: Example request body @@ -105630,9 +105854,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *673 + default: *677 '409': description: Response x-github: @@ -105654,8 +105878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -105682,8 +105906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -105737,13 +105961,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: &674 + schema: &678 title: Interaction Limits Pull Request Bypass List description: A list of user logins to add or remove from the pull request creation cap bypass list. @@ -105793,13 +106017,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: application/json: - schema: *674 + schema: *678 examples: default: summary: Example request body @@ -105832,8 +106056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -105886,8 +106110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -105963,8 +106187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -105974,9 +106198,9 @@ paths: application/json: schema: type: array - items: *675 + items: *679 examples: - default: &867 + default: &871 value: - id: 1 repository: @@ -106107,9 +106331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *488 - - *489 - - *383 + - *490 + - *491 + - *385 requestBody: required: false content: @@ -106138,7 +106362,7 @@ paths: description: Response content: application/json: - schema: *675 + schema: *679 examples: default: value: @@ -106269,9 +106493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *488 - - *489 - - *383 + - *490 + - *491 + - *385 responses: '204': description: Response @@ -106294,8 +106518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/issue-types#list-issue-types-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -106303,9 +106527,9 @@ paths: application/json: schema: type: array - items: *387 + items: *389 examples: - default: *676 + default: *680 '404': *6 x-github: githubCloudOnly: false @@ -106334,8 +106558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *488 - - *489 + - *490 + - *491 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -106397,7 +106621,7 @@ paths: required: false schema: type: string - - *390 + - *392 - name: sort description: What to sort results by. in: query @@ -106422,7 +106646,7 @@ paths: type: array items: *221 examples: - default: &686 + default: &690 value: - id: 1 node_id: MDU6SXNzdWUx @@ -106571,7 +106795,7 @@ paths: state_reason: completed headers: Link: *42 - '301': *494 + '301': *496 '422': *15 '404': *6 x-github: @@ -106600,8 +106824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -106724,7 +106948,7 @@ paths: application/json: schema: *221 examples: - default: &683 + default: &687 value: id: 1 node_id: MDU6SXNzdWUx @@ -106925,8 +107149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *243 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -106949,7 +107173,7 @@ paths: type: array items: *222 examples: - default: &685 + default: &689 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -107008,8 +107232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': @@ -107018,7 +107242,7 @@ paths: application/json: schema: *222 examples: - default: &677 + default: &681 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -107074,8 +107298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -107100,7 +107324,7 @@ paths: application/json: schema: *222 examples: - default: *677 + default: *681 '422': *15 x-github: githubCloudOnly: false @@ -107118,8 +107342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -107148,8 +107372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': @@ -107229,8 +107453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -107256,8 +107480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -107284,9 +107508,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -107307,8 +107531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -107341,16 +107565,16 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -107372,10 +107596,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *488 - - *489 + - *490 + - *491 - *235 - - *679 + - *683 responses: '204': description: Response @@ -107395,8 +107619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -107406,7 +107630,7 @@ paths: application/json: schema: type: array - items: &682 + items: &686 title: Issue Event description: Issue Event type: object @@ -107553,7 +107777,7 @@ paths: required: - from - to - issue_type: &680 + issue_type: &684 title: Issue Type description: The type of issue. type: @@ -107584,11 +107808,11 @@ paths: required: - id - name - prev_issue_type: *680 + prev_issue_type: *684 sub_issue: anyOf: - type: 'null' - - &681 + - &685 title: Issue Reference description: A minimal reference to an issue linked from a timeline event (e.g. sub-issue, parent-issue, or dependency @@ -107646,19 +107870,19 @@ paths: parent_issue: anyOf: - type: 'null' - - *681 + - *685 blocked_by: anyOf: - type: 'null' - - *681 + - *685 blocking: anyOf: - type: 'null' - - *681 + - *685 intent: anyOf: - type: 'null' - - &687 + - &691 title: Issue Event Intent description: The intent behind an agent's action on an issue, including the rationale and confidence. Present (and `null` @@ -107880,8 +108104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *488 - - *489 + - *490 + - *491 - name: event_id in: path required: true @@ -107892,7 +108116,7 @@ paths: description: Response content: application/json: - schema: *682 + schema: *686 examples: default: value: @@ -108119,9 +108343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *488 - - *489 - - &684 + - *490 + - *491 + - &688 name: issue_number description: The number that identifies the issue. in: path @@ -108137,7 +108361,7 @@ paths: examples: default: summary: Issue - value: *683 + value: *687 pinned_comment: summary: Issue with pinned comment value: @@ -108342,7 +108566,7 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *494 + '301': *496 '404': *6 '410': *30 '304': *32 @@ -108369,9 +108593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -108742,11 +108966,11 @@ paths: - already_applied - issue_already_closed examples: - default: *683 + default: *687 '422': *15 '503': *193 '403': *27 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -108776,9 +109000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -108828,7 +109052,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108844,9 +109068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: content: application/json: @@ -108873,7 +109097,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108895,9 +109119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: assignee in: path required: true @@ -108937,9 +109161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *226 - *17 - *19 @@ -108952,7 +109176,7 @@ paths: type: array items: *222 examples: - default: *685 + default: *689 headers: Link: *42 '404': *6 @@ -108985,9 +109209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -109011,7 +109235,7 @@ paths: application/json: schema: *222 examples: - default: *677 + default: *681 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 @@ -109046,9 +109270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -109060,10 +109284,10 @@ paths: type: array items: *221 examples: - default: *686 + default: *690 headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -109093,9 +109317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -109119,13 +109343,13 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *494 + '301': *496 '403': *27 '410': *30 '422': *15 @@ -109158,9 +109382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -109174,8 +109398,8 @@ paths: application/json: schema: *221 examples: - default: *683 - '301': *494 + default: *687 + '301': *496 '400': *14 '401': *23 '403': *27 @@ -109206,9 +109430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -109220,10 +109444,10 @@ paths: type: array items: *221 examples: - default: *686 + default: *690 headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -109242,9 +109466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -109258,7 +109482,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &693 + - &697 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -109299,7 +109523,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - label - id @@ -109311,7 +109535,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &694 + - &698 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -109352,7 +109576,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - label - id @@ -109393,7 +109617,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - id - node_id @@ -109447,7 +109671,7 @@ paths: - performed_via_github_app - assignee - assigner - - &695 + - &699 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -109493,7 +109717,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &696 + - &700 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -109539,7 +109763,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &697 + - &701 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -109588,7 +109812,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &698 + - &702 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -109630,7 +109854,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &699 + - &703 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -109672,7 +109896,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &700 + - &704 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -109728,7 +109952,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &701 + - &705 title: Locked Issue Event description: Locked Issue Event type: object @@ -109773,7 +109997,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &702 + - &706 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -109834,7 +110058,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &703 + - &707 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -109895,7 +110119,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &704 + - &708 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -109956,7 +110180,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &705 + - &709 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -110014,7 +110238,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &708 + - &712 title: Issue Type Added Issue Event description: Issue Type Added Issue Event type: object @@ -110042,11 +110266,11 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *680 + issue_type: *684 intent: anyOf: - type: 'null' - - *687 + - *691 required: - issue_type - id @@ -110058,7 +110282,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &709 + - &713 title: Issue Type Removed Issue Event description: Issue Type Removed Issue Event type: object @@ -110086,11 +110310,11 @@ paths: anyOf: - type: 'null' - *5 - prev_issue_type: *680 + prev_issue_type: *684 intent: anyOf: - type: 'null' - - *687 + - *691 required: - prev_issue_type - id @@ -110102,7 +110326,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &710 + - &714 title: Issue Type Changed Issue Event description: Issue Type Changed Issue Event type: object @@ -110130,12 +110354,12 @@ paths: anyOf: - type: 'null' - *5 - issue_type: *680 - prev_issue_type: *680 + issue_type: *684 + prev_issue_type: *684 intent: anyOf: - type: 'null' - - *687 + - *691 required: - issue_type - prev_issue_type @@ -110148,7 +110372,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &711 + - &715 title: Sub-issue Added Issue Event description: Sub-issue Added Issue Event type: object @@ -110179,7 +110403,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *681 + - *685 required: - sub_issue - id @@ -110191,7 +110415,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &712 + - &716 title: Sub-issue Removed Issue Event description: Sub-issue Removed Issue Event type: object @@ -110222,7 +110446,7 @@ paths: sub_issue: anyOf: - type: 'null' - - *681 + - *685 required: - sub_issue - id @@ -110234,7 +110458,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &713 + - &717 title: Parent-issue Added Issue Event description: Parent-issue Added Issue Event type: object @@ -110265,7 +110489,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *681 + - *685 required: - parent_issue - id @@ -110277,7 +110501,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &714 + - &718 title: Parent-issue Removed Issue Event description: Parent-issue Removed Issue Event type: object @@ -110308,7 +110532,7 @@ paths: parent_issue: anyOf: - type: 'null' - - *681 + - *685 required: - parent_issue - id @@ -110320,7 +110544,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &715 + - &719 title: Blocked-by Added Issue Event description: Blocked-by Added Issue Event type: object @@ -110351,7 +110575,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *681 + - *685 required: - blocked_by - id @@ -110363,7 +110587,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &716 + - &720 title: Blocked-by Removed Issue Event description: Blocked-by Removed Issue Event type: object @@ -110394,7 +110618,7 @@ paths: blocked_by: anyOf: - type: 'null' - - *681 + - *685 required: - blocked_by - id @@ -110406,7 +110630,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &717 + - &721 title: Blocking Added Issue Event description: Blocking Added Issue Event type: object @@ -110437,7 +110661,7 @@ paths: blocking: anyOf: - type: 'null' - - *681 + - *685 required: - blocking - id @@ -110449,7 +110673,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &718 + - &722 title: Blocking Removed Issue Event description: Blocking Removed Issue Event type: object @@ -110480,7 +110704,7 @@ paths: blocking: anyOf: - type: 'null' - - *681 + - *685 required: - blocking - id @@ -110544,9 +110768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -110556,9 +110780,9 @@ paths: application/json: schema: type: array - items: *688 + items: *692 examples: - default: &689 + default: &693 value: - issue_field_id: 1 issue_field_name: DRI @@ -110598,7 +110822,7 @@ paths: color: green headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -110629,9 +110853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110703,9 +110927,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *688 + items: *692 examples: - default: *689 + default: *693 '400': *14 '403': *27 '404': *6 @@ -110741,9 +110965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -110810,9 +111034,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *688 + items: *692 examples: - default: *689 + default: *693 '400': *14 '403': *27 '404': *6 @@ -110843,10 +111067,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *488 - - *489 - - *684 - - *386 + - *490 + - *491 + - *688 + - *388 responses: '204': description: Issue field value deleted successfully @@ -110871,9 +111095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -110885,7 +111109,7 @@ paths: type: array items: *220 examples: - default: &690 + default: &694 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -110903,7 +111127,7 @@ paths: default: false headers: Link: *42 - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -110921,9 +111145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -111003,8 +111227,8 @@ paths: type: array items: *220 examples: - default: *690 - '301': *494 + default: *694 + '301': *496 '404': *6 '410': *30 '422': *15 @@ -111023,9 +111247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -111087,8 +111311,8 @@ paths: type: array items: *220 examples: - default: *690 - '301': *494 + default: *694 + '301': *496 '404': *6 '410': *30 '422': *15 @@ -111107,13 +111331,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 responses: '204': description: Response - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -111134,9 +111358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: name in: path required: true @@ -111160,7 +111384,7 @@ paths: description: Something isn't working color: f29513 default: true - '301': *494 + '301': *496 '404': *6 '410': *30 x-github: @@ -111182,9 +111406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: false content: @@ -111231,9 +111455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 responses: '204': description: Response @@ -111263,9 +111487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 responses: '200': description: Response @@ -111273,8 +111497,8 @@ paths: application/json: schema: *221 examples: - default: *683 - '301': *494 + default: *687 + '301': *496 '404': *6 '410': *30 x-github: @@ -111293,9 +111517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -111321,9 +111545,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -111345,9 +111569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -111379,16 +111603,16 @@ paths: description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -111410,10 +111634,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *488 - - *489 - - *684 - - *679 + - *490 + - *491 + - *688 + - *683 responses: '204': description: Response @@ -111442,9 +111666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -111468,7 +111692,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -111502,9 +111726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 responses: @@ -111516,7 +111740,7 @@ paths: type: array items: *221 examples: - default: *686 + default: *690 headers: Link: *42 '404': *6 @@ -111548,9 +111772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -111579,7 +111803,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 @@ -111606,9 +111830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 requestBody: required: true content: @@ -111641,7 +111865,7 @@ paths: application/json: schema: *221 examples: - default: *683 + default: *687 '403': *27 '404': *6 '422': *7 @@ -111670,9 +111894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-issue-suggestions parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: state in: query required: false @@ -111709,7 +111933,7 @@ paths: application/json: schema: type: array - items: &691 + items: &695 title: Issue Suggestion description: An agent-proposed change to an issue that a maintainer can approve or dismiss. @@ -111873,9 +112097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#approve-an-issue-suggestion parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: suggestion_id in: path required: true @@ -111887,9 +112111,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: - default: &692 + default: &696 value: id: 12 issue_id: 4567 @@ -111927,9 +112151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#dismiss-an-issue-suggestion parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - name: suggestion_id in: path required: true @@ -111941,9 +112165,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: - default: *692 + default: *696 '403': *27 '404': *6 '422': *15 @@ -111963,9 +112187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *488 - - *489 - - *684 + - *490 + - *491 + - *688 - *17 - *19 - name: exclude @@ -111986,10 +112210,6 @@ paths: description: Timeline Event type: object anyOf: - - *693 - - *694 - - *695 - - *696 - *697 - *698 - *699 @@ -111999,6 +112219,10 @@ paths: - *703 - *704 - *705 + - *706 + - *707 + - *708 + - *709 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -112055,11 +112279,11 @@ paths: pin: anyOf: - type: 'null' - - *706 + - *710 minimized: anyOf: - type: 'null' - - *707 + - *711 required: - event - actor @@ -112335,7 +112559,7 @@ paths: type: string comments: type: array - items: &740 + items: &744 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -112576,7 +112800,7 @@ paths: type: string comments: type: array - items: *601 + items: *605 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -112608,7 +112832,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - id - node_id @@ -112693,7 +112917,7 @@ paths: intent: anyOf: - type: 'null' - - *687 + - *691 required: - id - node_id @@ -112704,10 +112928,6 @@ paths: - commit_url - created_at - performed_via_github_app - - *708 - - *709 - - *710 - - *711 - *712 - *713 - *714 @@ -112715,6 +112935,10 @@ paths: - *716 - *717 - *718 + - *719 + - *720 + - *721 + - *722 - title: Timeline Connected Event description: Timeline Connected Event type: object @@ -112962,8 +113186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -112973,7 +113197,7 @@ paths: application/json: schema: type: array - items: &719 + items: &723 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -113041,8 +113265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113078,9 +113302,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: &720 + default: &724 value: id: 1 key: ssh-rsa AAA... @@ -113114,9 +113338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *488 - - *489 - - &721 + - *490 + - *491 + - &725 name: key_id description: The unique identifier of the key. in: path @@ -113128,9 +113352,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *723 examples: - default: *720 + default: *724 '404': *6 x-github: githubCloudOnly: false @@ -113148,9 +113372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *488 - - *489 - - *721 + - *490 + - *491 + - *725 responses: '204': description: Response @@ -113170,8 +113394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -113183,7 +113407,7 @@ paths: type: array items: *220 examples: - default: *690 + default: *694 headers: Link: *42 '404': *6 @@ -113204,8 +113428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113243,7 +113467,7 @@ paths: application/json: schema: *220 examples: - default: &722 + default: &726 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -113275,8 +113499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *488 - - *489 + - *490 + - *491 - name: name in: path required: true @@ -113289,7 +113513,7 @@ paths: application/json: schema: *220 examples: - default: *722 + default: *726 '404': *6 x-github: githubCloudOnly: false @@ -113306,8 +113530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *488 - - *489 + - *490 + - *491 - name: name in: path required: true @@ -113377,8 +113601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *488 - - *489 + - *490 + - *491 - name: name in: path required: true @@ -113404,8 +113628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -113441,8 +113665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '202': *34 '403': @@ -113470,8 +113694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -113497,9 +113721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *488 - - *489 - - *576 + - *490 + - *491 + - *580 responses: '200': description: Response @@ -113646,8 +113870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113712,8 +113936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113747,9 +113971,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *604 + schema: *608 examples: - default: *723 + default: *727 '204': description: Response when already merged '404': @@ -113774,8 +113998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *488 - - *489 + - *490 + - *491 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -113816,7 +114040,7 @@ paths: application/json: schema: type: array - items: *421 + items: *423 examples: default: value: @@ -113872,8 +114096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -113913,9 +114137,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: &724 + default: &728 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -113974,9 +114198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *488 - - *489 - - &725 + - *490 + - *491 + - &729 name: milestone_number description: The number that identifies the milestone. in: path @@ -113988,9 +114212,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *724 + default: *728 '404': *6 x-github: githubCloudOnly: false @@ -114007,9 +114231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *488 - - *489 - - *725 + - *490 + - *491 + - *729 requestBody: required: false content: @@ -114047,9 +114271,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *423 examples: - default: *724 + default: *728 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114065,9 +114289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *488 - - *489 - - *725 + - *490 + - *491 + - *729 responses: '204': description: Response @@ -114088,9 +114312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *488 - - *489 - - *725 + - *490 + - *491 + - *729 - *17 - *19 responses: @@ -114102,7 +114326,7 @@ paths: type: array items: *220 examples: - default: *690 + default: *694 headers: Link: *42 x-github: @@ -114121,12 +114345,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *488 - - *489 - - *726 - - *727 + - *490 + - *491 + - *730 + - *731 - *226 - - *728 + - *732 - *17 - *19 responses: @@ -114138,7 +114362,7 @@ paths: type: array items: *246 examples: - default: *729 + default: *733 headers: Link: *42 x-github: @@ -114162,8 +114386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -114221,14 +114445,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: &730 + schema: &734 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -114372,7 +114596,7 @@ paths: - custom_404 - public examples: - default: &731 + default: &735 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -114413,8 +114637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -114469,9 +114693,9 @@ paths: description: Response content: application/json: - schema: *730 + schema: *734 examples: - default: *731 + default: *735 '422': *15 '409': *116 x-github: @@ -114494,8 +114718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -114603,8 +114827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -114630,8 +114854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -114641,7 +114865,7 @@ paths: application/json: schema: type: array - items: &732 + items: &736 title: Page Build description: Page Build type: object @@ -114733,8 +114957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *488 - - *489 + - *490 + - *491 responses: '201': description: Response @@ -114781,16 +115005,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *732 + schema: *736 examples: - default: &733 + default: &737 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -114838,8 +115062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *488 - - *489 + - *490 + - *491 - name: build_id in: path required: true @@ -114850,9 +115074,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *736 examples: - default: *733 + default: *737 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114872,8 +115096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -114981,9 +115205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *488 - - *489 - - &734 + - *490 + - *491 + - &738 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -115041,9 +115265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *488 - - *489 - - *734 + - *490 + - *491 + - *738 responses: '204': *121 '404': *6 @@ -115070,8 +115294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -115366,8 +115590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Private vulnerability reporting status @@ -115404,8 +115628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '422': *14 @@ -115426,8 +115650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': *121 '422': *14 @@ -115449,8 +115673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -115460,7 +115684,7 @@ paths: type: array items: *153 examples: - default: *735 + default: *739 '403': *27 '404': *6 x-github: @@ -115482,8 +115706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -115499,7 +115723,7 @@ paths: required: - properties examples: - default: *736 + default: *740 responses: '204': description: No Content when custom property values are successfully created @@ -115537,8 +115761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *488 - - *489 + - *490 + - *491 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -115598,9 +115822,9 @@ paths: application/json: schema: type: array - items: *568 + items: *573 examples: - default: *737 + default: *741 headers: Link: *42 '304': *32 @@ -115632,8 +115856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -115700,7 +115924,7 @@ paths: description: Response content: application/json: - schema: &742 + schema: &746 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -115829,7 +116053,7 @@ paths: milestone: anyOf: - type: 'null' - - *421 + - *423 active_lock_reason: type: - string @@ -115878,7 +116102,7 @@ paths: items: *4 requested_teams: type: array - items: *400 + items: *402 head: type: object properties: @@ -115916,14 +116140,14 @@ paths: _links: type: object properties: - comments: *422 - commits: *422 - statuses: *422 - html: *422 - issue: *422 - review_comments: *422 - review_comment: *422 - self: *422 + comments: *424 + commits: *424 + statuses: *424 + html: *424 + issue: *424 + review_comments: *424 + review_comment: *424 + self: *424 required: - comments - commits @@ -115934,8 +116158,8 @@ paths: - review_comment - self author_association: *218 - auto_merge: *738 - stack: *739 + auto_merge: *742 + stack: *743 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -116131,7 +116355,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &743 + default: &747 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -116669,8 +116893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *488 - - *489 + - *490 + - *491 - name: sort in: query required: false @@ -116699,9 +116923,9 @@ paths: application/json: schema: type: array - items: *740 + items: *744 examples: - default: &745 + default: &749 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -116778,17 +117002,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '200': description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: &741 + default: &745 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -116863,8 +117087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -116887,9 +117111,9 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: - default: *741 + default: *745 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116905,8 +117129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 + - *490 + - *491 - *235 responses: '204': @@ -116928,8 +117152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -116956,9 +117180,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -116979,8 +117203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *488 - - *489 + - *490 + - *491 - *235 requestBody: required: true @@ -117013,16 +117237,16 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -117044,10 +117268,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *488 - - *489 + - *490 + - *491 - *235 - - *679 + - *683 responses: '204': description: Response @@ -117090,9 +117314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *488 - - *489 - - &744 + - *490 + - *491 + - &748 name: pull_number description: The number that identifies the pull request. in: path @@ -117105,9 +117329,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *742 + schema: *746 examples: - default: *743 + default: *747 '304': *32 '404': *6 '406': @@ -117142,9 +117366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -117186,9 +117410,9 @@ paths: description: Response content: application/json: - schema: *742 + schema: *746 examples: - default: *743 + default: *747 '422': *15 '403': *27 x-github: @@ -117210,9 +117434,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: true content: @@ -117273,17 +117497,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '401': *23 '403': *27 '404': *6 @@ -117313,9 +117537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *243 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -117336,9 +117560,9 @@ paths: application/json: schema: type: array - items: *740 + items: *744 examples: - default: *745 + default: *749 headers: Link: *42 x-github: @@ -117371,9 +117595,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: true content: @@ -117479,7 +117703,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: example-for-a-multi-line-comment: value: @@ -117567,9 +117791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *235 requestBody: required: true @@ -117592,7 +117816,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *744 examples: default: value: @@ -117678,9 +117902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *17 - *19 responses: @@ -117690,9 +117914,9 @@ paths: application/json: schema: type: array - items: *604 + items: *608 examples: - default: *746 + default: *750 headers: Link: *42 x-github: @@ -117722,9 +117946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *17 - *19 responses: @@ -117734,7 +117958,7 @@ paths: application/json: schema: type: array - items: *614 + items: *618 examples: default: value: @@ -117772,9 +117996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 responses: '204': description: Response if pull request has been merged @@ -117797,9 +118021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -117922,9 +118146,9 @@ paths: category: pulls subcategory: pulls parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -117977,7 +118201,7 @@ paths: description: if the merge request was accepted and will run in the background content: application/json: - schema: &747 + schema: &751 title: Pull Request Merge Async Result description: Pull Request Merge Async Result type: object @@ -118062,7 +118286,7 @@ paths: merge queue content: application/json: - schema: *747 + schema: *751 examples: response-if-pull-request-was-already-merged: summary: Already merged @@ -118082,7 +118306,7 @@ paths: this pull request content: application/json: - schema: *747 + schema: *751 examples: response-if-a-merge-request-already-exists: value: @@ -118098,7 +118322,7 @@ paths: it is closed content: application/json: - schema: *747 + schema: *751 examples: response-if-pull-request-is-not-ready-to-be-merged: value: @@ -118130,9 +118354,9 @@ paths: category: pulls subcategory: pulls parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - name: uuid description: The UUID of the asynchronous merge request, as returned when the merge was requested. @@ -118145,7 +118369,7 @@ paths: description: the current result of the asynchronous merge request content: application/json: - schema: *747 + schema: *751 examples: response-if-the-merge-is-still-queued: summary: Still queued @@ -118193,9 +118417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 responses: '200': description: Response @@ -118270,9 +118494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -118309,7 +118533,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *573 examples: default: value: @@ -118845,9 +119069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: true content: @@ -118881,7 +119105,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *573 examples: default: value: @@ -119397,9 +119621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 - *17 - *19 responses: @@ -119409,7 +119633,7 @@ paths: application/json: schema: type: array - items: &748 + items: &752 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -119565,9 +119789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -119657,9 +119881,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: &750 + default: &754 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -119722,10 +119946,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - &749 + - *490 + - *491 + - *748 + - &753 name: review_id description: The unique identifier of the review. in: path @@ -119737,9 +119961,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: &751 + default: &755 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -119798,10 +120022,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 requestBody: required: true content: @@ -119824,7 +120048,7 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: default: value: @@ -119886,18 +120110,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 responses: '200': description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: *750 + default: *754 '422': *7 '404': *6 x-github: @@ -119924,10 +120148,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 - *17 - *19 responses: @@ -120025,9 +120249,9 @@ paths: _links: type: object properties: - self: *422 - html: *422 - pull_request: *422 + self: *424 + html: *424 + pull_request: *424 required: - self - html @@ -120185,10 +120409,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 requestBody: required: true content: @@ -120217,7 +120441,7 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: default: value: @@ -120280,10 +120504,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *488 - - *489 - - *744 - - *749 + - *490 + - *491 + - *748 + - *753 requestBody: required: true content: @@ -120318,9 +120542,9 @@ paths: description: Response content: application/json: - schema: *748 + schema: *752 examples: - default: *751 + default: *755 '404': *6 '422': *7 '403': *27 @@ -120342,9 +120566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *488 - - *489 - - *744 + - *490 + - *491 + - *748 requestBody: required: false content: @@ -120408,8 +120632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *488 - - *489 + - *490 + - *491 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -120422,9 +120646,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *756 examples: - default: &753 + default: &757 value: type: file encoding: base64 @@ -120466,8 +120690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *488 - - *489 + - *490 + - *491 - name: dir description: The alternate path to look for a README file in: path @@ -120487,9 +120711,9 @@ paths: description: Response content: application/json: - schema: *752 + schema: *756 examples: - default: *753 + default: *757 '404': *6 '422': *15 x-github: @@ -120511,8 +120735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -120522,7 +120746,7 @@ paths: application/json: schema: type: array - items: *754 + items: *758 examples: default: value: @@ -120621,8 +120845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -120698,9 +120922,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: &758 + default: &762 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -120805,9 +121029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *488 - - *489 - - &756 + - *490 + - *491 + - &760 name: asset_id description: The unique identifier of the asset. in: path @@ -120819,9 +121043,9 @@ paths: description: Response content: application/json: - schema: *755 + schema: *759 examples: - default: &757 + default: &761 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -120856,7 +121080,7 @@ paths: type: User site_admin: false '404': *6 - '302': *618 + '302': *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120872,9 +121096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *488 - - *489 - - *756 + - *490 + - *491 + - *760 requestBody: required: false content: @@ -120903,9 +121127,9 @@ paths: description: Response content: application/json: - schema: *755 + schema: *759 examples: - default: *757 + default: *761 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120921,9 +121145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *488 - - *489 - - *756 + - *490 + - *491 + - *760 responses: '204': description: Response @@ -120948,8 +121172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -121035,16 +121259,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '404': *6 x-github: githubCloudOnly: false @@ -121062,8 +121286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *488 - - *489 + - *490 + - *491 - name: tag description: tag parameter in: path @@ -121076,9 +121300,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '404': *6 x-github: githubCloudOnly: false @@ -121100,9 +121324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *488 - - *489 - - &759 + - *490 + - *491 + - &763 name: release_id description: The unique identifier of the release. in: path @@ -121116,9 +121340,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '401': description: Unauthorized x-github: @@ -121142,9 +121366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 requestBody: required: false content: @@ -121208,9 +121432,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *758 + default: *762 '404': description: Not Found if the discussion category name is invalid content: @@ -121231,9 +121455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 responses: '204': description: Response @@ -121254,9 +121478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 - *17 - *19 responses: @@ -121266,7 +121490,7 @@ paths: application/json: schema: type: array - items: *755 + items: *759 examples: default: value: @@ -121348,9 +121572,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 - name: name in: query required: true @@ -121376,7 +121600,7 @@ paths: description: Response for successful upload content: application/json: - schema: *755 + schema: *759 examples: response-for-successful-upload: value: @@ -121431,9 +121655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -121457,9 +121681,9 @@ paths: application/json: schema: type: array - items: *602 + items: *606 examples: - default: *678 + default: *682 headers: Link: *42 '404': *6 @@ -121480,9 +121704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *488 - - *489 - - *759 + - *490 + - *491 + - *763 requestBody: required: true content: @@ -121512,16 +121736,16 @@ paths: description: Reaction exists content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '201': description: Reaction created content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 x-github: githubCloudOnly: false @@ -121543,10 +121767,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *488 - - *489 - - *759 - - *679 + - *490 + - *491 + - *763 + - *683 responses: '204': description: Response @@ -121570,9 +121794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *488 - - *489 - - *540 + - *490 + - *491 + - *542 - *17 - *19 responses: @@ -121589,7 +121813,7 @@ paths: oneOf: - allOf: - *167 - - &760 + - &764 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -121610,70 +121834,70 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *168 - - *760 + - *764 - allOf: - *169 - - *760 + - *764 - allOf: - *170 - - *760 + - *764 - allOf: - - *761 - - *760 + - *765 + - *764 - allOf: - *171 - - *760 + - *764 - allOf: - *172 - - *760 + - *764 - allOf: - *173 - - *760 + - *764 - allOf: - *174 - - *760 + - *764 - allOf: - *175 - - *760 + - *764 - allOf: - *176 - - *760 + - *764 - allOf: - *177 - - *760 + - *764 - allOf: - *178 - - *760 + - *764 - allOf: - *179 - - *760 + - *764 - allOf: - *180 - - *760 + - *764 - allOf: - *181 - - *760 + - *764 - allOf: - *182 - - *760 + - *764 - allOf: - *183 - - *760 + - *764 - allOf: - - *762 - - *760 + - *766 + - *764 - allOf: - *184 - - *760 + - *764 - allOf: - *185 - - *760 + - *764 - allOf: - *186 - - *760 + - *764 - allOf: - *187 - - *760 + - *764 examples: default: value: @@ -121712,8 +121936,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - name: includes_parents @@ -121724,7 +121948,7 @@ paths: schema: type: boolean default: true - - *763 + - *767 responses: '200': description: Response @@ -121779,8 +122003,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 requestBody: description: Request body required: true @@ -121809,7 +122033,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *764 + items: *768 required: - name - enforcement @@ -121842,7 +122066,7 @@ paths: application/json: schema: *188 examples: - default: &774 + default: &778 value: id: 42 name: super cool ruleset @@ -121890,13 +122114,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *488 - - *489 - - *765 + - *490 + - *491 + - *769 - *102 - - *766 - - *767 - - *768 + - *770 + - *771 + - *772 - *17 - *19 responses: @@ -121904,9 +122128,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *773 examples: - default: *770 + default: *774 '404': *6 '500': *35 x-github: @@ -121927,17 +122151,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *488 - - *489 - - *771 + - *490 + - *491 + - *775 responses: '200': description: Response content: application/json: - schema: *772 + schema: *776 examples: - default: *773 + default: *777 '404': *6 '500': *35 x-github: @@ -121965,8 +122189,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -121988,7 +122212,7 @@ paths: application/json: schema: *188 examples: - default: *774 + default: *778 '404': *6 '500': *35 put: @@ -122006,8 +122230,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -122041,7 +122265,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *764 + items: *768 examples: default: value: @@ -122071,7 +122295,7 @@ paths: application/json: schema: *188 examples: - default: *774 + default: *778 '404': *6 '422': *15 '500': *35 @@ -122090,8 +122314,8 @@ paths: category: repos subcategory: rules parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -122114,8 +122338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 - name: ruleset_id @@ -122133,7 +122357,7 @@ paths: type: array items: *192 examples: - default: *438 + default: *440 '404': *6 '500': *35 x-github: @@ -122152,8 +122376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *488 - - *489 + - *490 + - *491 - name: ruleset_id description: The ID of the ruleset. in: path @@ -122171,7 +122395,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -122226,28 +122450,28 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *488 - - *489 - - *440 - - *441 + - *490 + - *491 - *442 - *443 - *444 - *445 - *446 - *447 + - *448 + - *449 - *107 - *19 - *17 - - *775 - - *776 - - *448 - - *449 + - *779 + - *780 - *450 - *451 - *452 - *453 - *454 + - *455 + - *456 responses: '200': description: Response @@ -122271,8 +122495,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *777 - resolution: *778 + state: *781 + resolution: *782 resolved_at: type: - string @@ -122378,7 +122602,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *779 + - *783 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -122537,16 +122761,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *488 - - *489 - - *570 - - *451 + - *490 + - *491 + - *574 + - *453 responses: '200': description: Response content: application/json: - schema: &780 + schema: &784 type: object properties: number: *128 @@ -122561,8 +122785,8 @@ paths: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *777 - resolution: *778 + state: *781 + resolution: *782 resolved_at: type: - string @@ -122668,7 +122892,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *779 + - *783 has_more_locations: type: boolean description: A boolean value representing whether or not the token @@ -122691,7 +122915,7 @@ paths: anyOf: - type: 'null' - *4 - metadata: &963 + metadata: &967 type: array description: A list of metadata key/value pairs associated with the secret scanning alert. @@ -122764,9 +122988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 requestBody: required: true content: @@ -122774,8 +122998,8 @@ paths: schema: type: object properties: - state: *777 - resolution: *778 + state: *781 + resolution: *782 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -122823,7 +123047,7 @@ paths: description: Response content: application/json: - schema: *780 + schema: *784 examples: default: value: @@ -122925,9 +123149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *488 - - *489 - - *570 + - *490 + - *491 + - *574 - *19 - *17 responses: @@ -122938,7 +123162,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &965 + items: &969 type: object properties: type: @@ -122965,10 +123189,6 @@ paths: - commit details: oneOf: - - *781 - - *782 - - *783 - - *784 - *785 - *786 - *787 @@ -122978,6 +123198,10 @@ paths: - *791 - *792 - *793 + - *794 + - *795 + - *796 + - *797 examples: default: value: @@ -123066,11 +123290,11 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 - - *457 - - *458 + - *490 + - *491 - *459 + - *460 + - *461 - *107 - *105 - *106 @@ -123083,7 +123307,7 @@ paths: type: array items: *194 examples: - default: *460 + default: *462 headers: Link: *42 '403': *27 @@ -123106,8 +123330,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -123120,9 +123344,9 @@ paths: patterns: type: array description: The list of custom patterns to create. - items: *461 + items: *463 examples: - default: *462 + default: *464 responses: '201': description: All patterns created successfully. @@ -123136,7 +123360,7 @@ paths: description: The list of successfully created custom patterns. items: *194 examples: - default: *463 + default: *465 '400': *14 '403': *27 '404': *6 @@ -123160,7 +123384,7 @@ paths: errors: type: array description: List of validation errors for this pattern. - items: *464 + items: *466 delete: summary: Bulk delete repository custom patterns description: |- @@ -123179,8 +123403,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -123194,7 +123418,7 @@ paths: type: array description: The list of custom patterns to delete. maxItems: 500 - items: *465 + items: *467 post_delete_action: type: string description: |- @@ -123207,7 +123431,7 @@ paths: - resolve_alerts default: delete_alerts examples: - default: *466 + default: *468 responses: '204': description: All patterns deleted successfully. @@ -123234,8 +123458,8 @@ paths: category: secret-scanning subcategory: custom-patterns parameters: - - *488 - - *489 + - *490 + - *491 - name: pattern_id in: path required: true @@ -123246,9 +123470,9 @@ paths: required: true content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 responses: '200': description: Pattern updated successfully. @@ -123256,7 +123480,7 @@ paths: application/json: schema: *194 examples: - default: *469 + default: *471 '400': *14 '403': *27 '404': *6 @@ -123278,8 +123502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -123287,14 +123511,14 @@ paths: schema: type: object properties: - reason: &795 + reason: &799 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *794 + placeholder_id: *798 required: - reason - placeholder_id @@ -123311,7 +123535,7 @@ paths: schema: type: object properties: - reason: *795 + reason: *799 expire_at: type: - string @@ -123358,8 +123582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -123374,7 +123598,7 @@ paths: properties: incremental_scans: type: array - items: &796 + items: &800 description: Information on a single scan performed by secret scanning on the repository type: object @@ -123407,15 +123631,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *796 + items: *800 backfill_scans: type: array - items: *796 + items: *800 custom_pattern_backfill_scans: type: array items: allOf: - - *796 + - *800 - type: object properties: pattern_name: @@ -123428,7 +123652,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *796 + items: *800 examples: default: value: @@ -123493,8 +123717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *488 - - *489 + - *490 + - *491 - *107 - name: sort description: The property to sort the results by. @@ -123538,9 +123762,9 @@ paths: application/json: schema: type: array - items: *797 + items: *801 examples: - default: *798 + default: *802 '400': *14 '404': *6 x-github: @@ -123563,8 +123787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -123644,7 +123868,7 @@ paths: login: type: string description: The username of the user credited. - type: *472 + type: *474 required: - login - type @@ -123734,9 +123958,9 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: &801 + default: &805 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -123960,7 +124184,7 @@ paths: description: Validation failed. content: application/json: - schema: &799 + schema: &803 title: Repository Advisory Description Validation Error description: The description does not answer the repository's report template. @@ -124033,8 +124257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -124147,7 +124371,7 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: default: value: @@ -124279,7 +124503,7 @@ paths: description: Validation failed. content: application/json: - schema: *799 + schema: *803 examples: missing_section: value: @@ -124326,17 +124550,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 responses: '200': description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: *801 + default: *805 '403': *27 '404': *6 x-github: @@ -124360,9 +124584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 requestBody: required: true content: @@ -124442,7 +124666,7 @@ paths: login: type: string description: The username of the user credited. - type: *472 + type: *474 required: - login - type @@ -124533,10 +124757,10 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: *801 - add_credit: *801 + default: *805 + add_credit: *805 '403': *27 '404': *6 '422': @@ -124574,9 +124798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 responses: '202': *34 '400': *14 @@ -124603,17 +124827,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *488 - - *489 - - *800 + - *490 + - *491 + - *804 responses: '202': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 '400': *14 '422': *15 '403': *27 @@ -124634,8 +124858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#list-pull-request-stacks parameters: - - *488 - - *489 + - *490 + - *491 - name: pull_request description: Filter to the stack containing this repository pull request number. in: query @@ -124768,8 +124992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#create-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -124836,7 +125060,7 @@ paths: format: date-time pull_requests: type: array - items: &802 + items: &806 title: Pull Request Stack Pull Request type: object allOf: @@ -125063,8 +125287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#get-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -125113,7 +125337,7 @@ paths: format: date-time pull_requests: type: array - items: *802 + items: *806 examples: default: value: @@ -125233,8 +125457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -125306,7 +125530,7 @@ paths: format: date-time pull_requests: type: array - items: *802 + items: *806 examples: default: value: @@ -125513,8 +125737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack parameters: - - *488 - - *489 + - *490 + - *491 - name: stack_number description: The number that identifies the pull request stack. in: path @@ -125563,7 +125787,7 @@ paths: format: date-time pull_requests: type: array - items: *802 + items: *806 examples: default: value: @@ -125669,8 +125893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -125764,8 +125988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-stargazer-count parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -125807,8 +126031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#get-repository-star-history parameters: - - *488 - - *489 + - *490 + - *491 - name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -125904,8 +126128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -125914,7 +126138,7 @@ paths: application/json: schema: type: array - items: &803 + items: &807 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -125947,8 +126171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -126026,8 +126250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -126121,8 +126345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -126276,8 +126500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -126287,7 +126511,7 @@ paths: application/json: schema: type: array - items: *803 + items: *807 examples: default: value: @@ -126320,8 +126544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *488 - - *489 + - *490 + - *491 - name: sha in: path required: true @@ -126377,7 +126601,7 @@ paths: description: Response content: application/json: - schema: *804 + schema: *808 examples: default: value: @@ -126431,8 +126655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -126464,14 +126688,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &805 + schema: &809 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -126544,8 +126768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: false content: @@ -126571,7 +126795,7 @@ paths: description: Response content: application/json: - schema: *805 + schema: *809 examples: default: value: @@ -126598,8 +126822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -126619,8 +126843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -126702,8 +126926,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *488 - - *489 + - *490 + - *491 - name: ref in: path required: true @@ -126739,8 +126963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *488 - - *489 + - *490 + - *491 - *17 - *19 responses: @@ -126752,7 +126976,7 @@ paths: type: array items: *313 examples: - default: *401 + default: *403 headers: Link: *42 '404': *6 @@ -126772,8 +126996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *488 - - *489 + - *490 + - *491 - *19 - *17 responses: @@ -126781,7 +127005,7 @@ paths: description: Response content: application/json: - schema: &806 + schema: &810 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -126793,7 +127017,7 @@ paths: required: - names examples: - default: &807 + default: &811 value: names: - octocat @@ -126816,8 +127040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -126848,9 +127072,9 @@ paths: description: Response content: application/json: - schema: *806 + schema: *810 examples: - default: *807 + default: *811 '404': *6 '422': *7 x-github: @@ -126871,9 +127095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *488 - - *489 - - &808 + - *490 + - *491 + - &812 name: per description: The time frame to display results for. in: query @@ -126904,7 +127128,7 @@ paths: - 128 clones: type: array - items: &809 + items: &813 title: Traffic type: object properties: @@ -126991,8 +127215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -127086,8 +127310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *488 - - *489 + - *490 + - *491 responses: '200': description: Response @@ -127150,9 +127374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *488 - - *489 - - *808 + - *490 + - *491 + - *812 responses: '200': description: Response @@ -127173,7 +127397,7 @@ paths: - 3782 views: type: array - items: *809 + items: *813 required: - uniques - count @@ -127250,8 +127474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *488 - - *489 + - *490 + - *491 requestBody: required: true content: @@ -127531,8 +127755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -127555,8 +127779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -127578,8 +127802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -127605,8 +127829,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *488 - - *489 + - *490 + - *491 - name: ref in: path required: true @@ -127698,9 +127922,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -127851,7 +128075,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &817 + - &821 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -127861,7 +128085,7 @@ paths: type: string examples: - members - - &822 + - &826 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -127873,7 +128097,7 @@ paths: format: int32 examples: - 1 - - &823 + - &827 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -127917,7 +128141,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &812 + items: &816 allOf: - type: object required: @@ -127999,7 +128223,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &824 + meta: &828 type: object description: The metadata associated with the creation/updates to the user. @@ -128064,30 +128288,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &813 + '400': &817 description: Bad request content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '401': *811 - '403': &814 + schema: *814 + '401': *815 + '403': &818 description: Permission denied - '429': &815 + '429': &819 description: Too many requests content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '500': &816 + schema: *814 + '500': &820 description: Internal server error content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 + schema: *814 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128111,7 +128335,7 @@ paths: required: true content: application/json: - schema: &820 + schema: &824 type: object required: - schemas @@ -128175,9 +128399,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *812 + schema: *816 examples: - group: &818 + group: &822 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -128196,13 +128420,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *813 - '401': *811 - '403': *814 - '409': &821 + '400': *817 + '401': *815 + '403': *818 + '409': &825 description: Duplicate record detected - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128219,7 +128443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &819 + - &823 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -128228,22 +128452,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *817 + - *821 - *36 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *812 + schema: *816 examples: - default: *818 - '400': *813 - '401': *811 - '403': *814 + default: *822 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128262,13 +128486,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *819 + - *823 - *36 requestBody: required: true content: application/json: - schema: *820 + schema: *824 examples: group: summary: Group @@ -128294,17 +128518,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *812 + schema: *816 examples: - group: *818 - groupWithMembers: *818 - '400': *813 - '401': *811 - '403': *814 + group: *822 + groupWithMembers: *822 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128328,13 +128552,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *819 + - *823 - *36 requestBody: required: true content: application/json: - schema: &831 + schema: &835 type: object required: - Operations @@ -128394,17 +128618,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *812 + schema: *816 examples: - updateGroup: *818 - addMembers: *818 - '400': *813 - '401': *811 - '403': *814 + updateGroup: *822 + addMembers: *822 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128420,17 +128644,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *819 + - *823 - *36 responses: '204': description: Group was deleted, no content - '400': *813 - '401': *811 - '403': *814 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128464,8 +128688,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *822 - - *823 + - *826 + - *827 - *36 responses: '200': @@ -128499,7 +128723,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &826 + items: &830 allOf: - type: object required: @@ -128591,7 +128815,7 @@ paths: address. examples: - true - roles: &825 + roles: &829 type: array description: The roles assigned to the user. items: @@ -128650,7 +128874,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *824 + meta: *828 startIndex: type: integer description: A starting index for the returned page @@ -128689,11 +128913,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *813 - '401': *811 - '403': *814 - '429': *815 - '500': *816 + '400': *817 + '401': *815 + '403': *818 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128717,7 +128941,7 @@ paths: required: true content: application/json: - schema: &829 + schema: &833 type: object required: - schemas @@ -128810,9 +129034,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *825 + roles: *829 examples: - user: &830 + user: &834 summary: User value: schemas: @@ -128859,9 +129083,9 @@ paths: description: User has been created content: application/scim+json: - schema: *826 + schema: *830 examples: - user: &827 + user: &831 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -128887,13 +129111,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *827 - '400': *813 - '401': *811 - '403': *814 - '409': *821 - '429': *815 - '500': *816 + enterpriseOwner: *831 + '400': *817 + '401': *815 + '403': *818 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128910,7 +129134,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &828 + - &832 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -128923,15 +129147,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *826 + schema: *830 examples: - default: *827 - '400': *813 - '401': *811 - '403': *814 + default: *831 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -128982,30 +129206,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *828 + - *832 - *36 requestBody: required: true content: application/json: - schema: *829 + schema: *833 examples: - user: *830 + user: *834 responses: '200': description: User was updated content: application/scim+json: - schema: *826 + schema: *830 examples: - user: *827 - '400': *813 - '401': *811 - '403': *814 + user: *831 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -129046,13 +129270,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *828 + - *832 - *36 requestBody: required: true content: application/json: - schema: *831 + schema: *835 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -129092,18 +129316,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *826 - examples: - userMultiValuedProperties: *827 - userSingleValuedProperties: *827 - disableUser: *827 - '400': *813 - '401': *811 - '403': *814 + schema: *830 + examples: + userMultiValuedProperties: *831 + userSingleValuedProperties: *831 + disableUser: *831 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '409': *821 - '429': *815 - '500': *816 + '409': *825 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -129123,17 +129347,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *828 + - *832 - *36 responses: '204': description: User was deleted, no content - '400': *813 - '401': *811 - '403': *814 + '400': *817 + '401': *815 + '403': *818 '404': *6 - '429': *815 - '500': *816 + '429': *819 + '500': *820 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -129224,7 +129448,7 @@ paths: - 1 Resources: type: array - items: &832 + items: &836 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -129479,22 +129703,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *32 - '404': &833 + '404': &837 description: Resource not found content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '403': &834 + schema: *814 + '403': &838 description: Forbidden content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '400': *813 - '429': *815 + schema: *814 + '400': *817 + '429': *819 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -129520,9 +129744,9 @@ paths: description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: &835 + default: &839 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -129546,17 +129770,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *32 - '404': *833 - '403': *834 - '500': *816 + '404': *837 + '403': *838 + '500': *820 '409': description: Conflict content: application/json: - schema: *810 + schema: *814 application/scim+json: - schema: *810 - '400': *813 + schema: *814 + '400': *817 requestBody: required: true content: @@ -129656,17 +129880,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *84 - - *828 + - *832 responses: '200': description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: *835 - '404': *833 - '403': *834 + default: *839 + '404': *837 + '403': *838 '304': *32 x-github: githubCloudOnly: true @@ -129690,18 +129914,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *84 - - *828 + - *832 responses: '200': description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: *835 + default: *839 '304': *32 - '404': *833 - '403': *834 + '404': *837 + '403': *838 requestBody: required: true content: @@ -129816,19 +130040,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *84 - - *828 + - *832 responses: '200': description: Response content: application/scim+json: - schema: *832 + schema: *836 examples: - default: *835 + default: *839 '304': *32 - '404': *833 - '403': *834 - '400': *813 + '404': *837 + '403': *838 + '400': *817 '429': description: Response content: @@ -129924,12 +130148,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *84 - - *828 + - *832 responses: '204': description: Response - '404': *833 - '403': *834 + '404': *837 + '403': *838 '304': *32 x-github: githubCloudOnly: true @@ -130063,7 +130287,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &836 + text_matches: &840 title: Search Result Text Matches type: array items: @@ -130227,7 +130451,7 @@ paths: enum: - author-date - committer-date - - &837 + - &841 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -130296,7 +130520,7 @@ paths: committer: anyOf: - type: 'null' - - *538 + - *540 comment_count: type: integer message: @@ -130315,7 +130539,7 @@ paths: url: type: string format: uri - verification: *662 + verification: *666 required: - author - committer @@ -130330,7 +130554,7 @@ paths: committer: anyOf: - type: 'null' - - *538 + - *540 parents: type: array items: @@ -130347,7 +130571,7 @@ paths: type: number node_id: type: string - text_matches: *836 + text_matches: *840 required: - sha - node_id @@ -130540,7 +130764,7 @@ paths: - interactions - created - updated - - *837 + - *841 - *17 - *19 - name: advanced_search @@ -130654,11 +130878,11 @@ paths: type: - string - 'null' - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: type: string state_reason: @@ -130672,7 +130896,7 @@ paths: milestone: anyOf: - type: 'null' - - *421 + - *423 comments: type: integer created_at: @@ -130686,7 +130910,7 @@ paths: - string - 'null' format: date-time - text_matches: *836 + text_matches: *840 pull_request: type: object properties: @@ -130735,7 +130959,7 @@ paths: timeline_url: type: string format: uri - type: *387 + type: *389 performed_via_github_app: anyOf: - type: 'null' @@ -130996,7 +131220,7 @@ paths: enum: - created - updated - - *837 + - *841 - *17 - *19 responses: @@ -131041,7 +131265,7 @@ paths: - 'null' score: type: number - text_matches: *836 + text_matches: *840 required: - id - node_id @@ -131127,7 +131351,7 @@ paths: - forks - help-wanted-issues - updated - - *837 + - *841 - *17 - *19 responses: @@ -131373,7 +131597,7 @@ paths: - admin - pull - push - text_matches: *836 + text_matches: *840 temp_clone_token: type: string allow_merge_commit: @@ -131682,7 +131906,7 @@ paths: - string - 'null' format: uri - text_matches: *836 + text_matches: *840 related: type: - array @@ -131877,7 +132101,7 @@ paths: - followers - repositories - joined - - *837 + - *841 - *17 - *19 responses: @@ -131987,7 +132211,7 @@ paths: type: - boolean - 'null' - text_matches: *836 + text_matches: *840 blog: type: - string @@ -132069,7 +132293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &840 + - &844 name: team_id description: The unique identifier of the team. in: path @@ -132081,9 +132305,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 x-github: githubCloudOnly: false @@ -132110,7 +132334,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *840 + - *844 requestBody: required: true content: @@ -132180,16 +132404,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '201': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 '404': *6 '422': *15 '403': *27 @@ -132217,7 +132441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *840 + - *844 responses: '204': description: Response @@ -132246,7 +132470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *840 + - *844 - *17 - *19 responses: @@ -132256,9 +132480,9 @@ paths: application/json: schema: type: array - items: *381 + items: *383 examples: - default: *382 + default: *384 headers: Link: *42 x-github: @@ -132286,7 +132510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *840 + - *844 - name: role description: Filters members returned by their role in the team. in: query @@ -132307,9 +132531,9 @@ paths: application/json: schema: type: array - items: *841 + items: *845 examples: - default: *842 + default: *846 headers: Link: *42 '404': *6 @@ -132337,7 +132561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -132374,7 +132598,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -132414,7 +132638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -132451,16 +132675,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *840 + - *844 - *127 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - response-if-user-is-a-team-maintainer: *843 + response-if-user-is-a-team-maintainer: *847 '404': *6 x-github: githubCloudOnly: false @@ -132493,7 +132717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *840 + - *844 - *127 requestBody: required: false @@ -132519,9 +132743,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - response-if-users-membership-with-team-is-now-pending: *844 + response-if-users-membership-with-team-is-now-pending: *848 '403': description: Forbidden if team synchronization is set up '422': @@ -132555,7 +132779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *840 + - *844 - *127 responses: '204': @@ -132583,7 +132807,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *840 + - *844 - *17 - *19 responses: @@ -132595,7 +132819,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 '404': *6 @@ -132625,15 +132849,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *840 - - *488 - - *489 + - *844 + - *490 + - *491 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *845 + schema: *849 examples: alternative-response-with-extra-repository-information: value: @@ -132790,9 +133014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *840 - - *488 - - *489 + - *844 + - *490 + - *491 requestBody: required: false content: @@ -132842,9 +133066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *840 - - *488 - - *489 + - *844 + - *490 + - *491 responses: '204': description: Response @@ -132873,15 +133097,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *840 + - *844 responses: '200': description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 '403': *27 '404': *6 x-github: @@ -132908,7 +133132,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *840 + - *844 requestBody: required: true content: @@ -132969,7 +133193,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: default: value: @@ -133000,7 +133224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *840 + - *844 - *17 - *19 responses: @@ -133012,7 +133236,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: *846 + response-if-child-teams-exist: *850 headers: Link: *42 '404': *6 @@ -133047,7 +133271,7 @@ paths: application/json: schema: oneOf: - - &848 + - &852 title: Private User description: Private User type: object @@ -133297,7 +133521,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *847 + - *851 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -133457,7 +133681,7 @@ paths: description: Response content: application/json: - schema: *848 + schema: *852 examples: default: value: @@ -133660,9 +133884,9 @@ paths: type: integer codespaces: type: array - items: *392 + items: *394 examples: - default: *393 + default: *395 '304': *32 '500': *35 '401': *23 @@ -133801,17 +134025,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '401': *23 '403': *27 '404': *6 @@ -133855,7 +134079,7 @@ paths: type: integer secrets: type: array - items: &849 + items: &853 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -133897,7 +134121,7 @@ paths: - visibility - selected_repositories_url examples: - default: *595 + default: *599 headers: Link: *42 x-github: @@ -133975,7 +134199,7 @@ paths: description: Response content: application/json: - schema: *849 + schema: *853 examples: default: value: @@ -134121,7 +134345,7 @@ paths: type: array items: *280 examples: - default: *332 + default: *334 '401': *23 '403': *27 '404': *6 @@ -134265,15 +134489,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '304': *32 '500': *35 '401': *23 @@ -134299,7 +134523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 requestBody: required: false content: @@ -134329,9 +134553,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '401': *23 '403': *27 '404': *6 @@ -134353,7 +134577,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '202': *34 '304': *32 @@ -134382,13 +134606,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '202': description: Response content: application/json: - schema: &850 + schema: &854 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -134441,7 +134665,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &851 + default: &855 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -134473,7 +134697,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *394 + - *396 - name: export_id in: path required: true @@ -134486,9 +134710,9 @@ paths: description: Response content: application/json: - schema: *850 + schema: *854 examples: - default: *851 + default: *855 '404': *6 x-github: githubCloudOnly: false @@ -134509,7 +134733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *394 + - *396 responses: '200': description: Response @@ -134525,9 +134749,9 @@ paths: type: integer machines: type: array - items: *594 + items: *598 examples: - default: *852 + default: *856 '304': *32 '500': *35 '401': *23 @@ -134556,7 +134780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *394 + - *396 requestBody: required: true content: @@ -134612,11 +134836,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *493 + repository: *495 machine: anyOf: - type: 'null' - - *594 + - *598 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -135413,15 +135637,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '304': *32 '500': *35 '400': *14 @@ -135453,15 +135677,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *593 + default: *597 '500': *35 '401': *23 '403': *27 @@ -135491,9 +135715,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: &864 + default: &868 value: - id: 197 name: hello_docker @@ -135594,7 +135818,7 @@ paths: application/json: schema: type: array - items: &853 + items: &857 title: Email description: Email type: object @@ -135664,9 +135888,9 @@ paths: application/json: schema: type: array - items: *853 + items: *857 examples: - default: &866 + default: &870 value: - email: octocat@github.com verified: true @@ -135743,7 +135967,7 @@ paths: application/json: schema: type: array - items: *853 + items: *857 examples: default: value: @@ -136001,7 +136225,7 @@ paths: application/json: schema: type: array - items: &854 + items: &858 title: GPG Key description: A unique encryption key type: object @@ -136146,7 +136370,7 @@ paths: - subkeys - revoked examples: - default: &883 + default: &887 value: - id: 3 name: Octocat's GPG Key @@ -136231,9 +136455,9 @@ paths: description: Response content: application/json: - schema: *854 + schema: *858 examples: - default: &855 + default: &859 value: id: 3 name: Octocat's GPG Key @@ -136290,7 +136514,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &856 + - &860 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -136302,9 +136526,9 @@ paths: description: Response content: application/json: - schema: *854 + schema: *858 examples: - default: *855 + default: *859 '404': *6 '304': *32 '403': *27 @@ -136327,7 +136551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *856 + - *860 responses: '204': description: Response @@ -136615,12 +136839,12 @@ paths: application/json: schema: anyOf: - - *379 + - *381 - type: object properties: {} additionalProperties: false examples: - default: *380 + default: *382 '204': description: Response when there are no restrictions x-github: @@ -136644,7 +136868,7 @@ paths: required: true content: application/json: - schema: *672 + schema: *676 examples: default: value: @@ -136655,7 +136879,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: default: value: @@ -136736,7 +136960,7 @@ paths: - closed - all default: open - - *390 + - *392 - name: sort description: What to sort results by. in: query @@ -136761,7 +136985,7 @@ paths: type: array items: *221 examples: - default: *391 + default: *393 headers: Link: *42 '404': *6 @@ -136794,7 +137018,7 @@ paths: application/json: schema: type: array - items: &857 + items: &861 title: Key description: Key type: object @@ -136897,9 +137121,9 @@ paths: description: Response content: application/json: - schema: *857 + schema: *861 examples: - default: &858 + default: &862 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -136932,15 +137156,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *721 + - *725 responses: '200': description: Response content: application/json: - schema: *857 + schema: *861 examples: - default: *858 + default: *862 '404': *6 '304': *32 '403': *27 @@ -136963,7 +137187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *721 + - *725 responses: '204': description: Response @@ -136996,7 +137220,7 @@ paths: application/json: schema: type: array - items: &859 + items: &863 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -137075,7 +137299,7 @@ paths: - account - plan examples: - default: &860 + default: &864 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -137137,9 +137361,9 @@ paths: application/json: schema: type: array - items: *859 + items: *863 examples: - default: *860 + default: *864 headers: Link: *42 '304': *32 @@ -137179,7 +137403,7 @@ paths: application/json: schema: type: array - items: *395 + items: *397 examples: default: value: @@ -137293,7 +137517,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *397 examples: default: value: @@ -137380,9 +137604,9 @@ paths: description: The user's organization invitation was accepted synchronously. content: application/json: - schema: *395 + schema: *397 examples: - default: &861 + default: &865 value: url: https://api.github.com/orgs/octocat/memberships/defunkt state: active @@ -137429,9 +137653,9 @@ paths: processed asynchronously. content: application/json: - schema: *395 + schema: *397 examples: - default: *861 + default: *865 '403': *27 '404': *6 '422': *15 @@ -137460,7 +137684,7 @@ paths: application/json: schema: type: array - items: *397 + items: *399 examples: default: value: @@ -137722,7 +137946,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -137902,7 +138126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *398 + - *400 - name: exclude in: query required: false @@ -137915,7 +138139,7 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: default: value: @@ -138109,7 +138333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *398 + - *400 responses: '302': description: Response @@ -138135,7 +138359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *398 + - *400 responses: '204': description: Response @@ -138164,8 +138388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *398 - - *862 + - *400 + - *866 responses: '204': description: Response @@ -138189,7 +138413,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *398 + - *400 - *17 - *19 responses: @@ -138201,7 +138425,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 '404': *6 @@ -138298,7 +138522,7 @@ paths: - docker - nuget - container - - *863 + - *867 - *19 - *17 responses: @@ -138308,10 +138532,10 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *864 - '400': *865 + default: *868 + '400': *869 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -138331,16 +138555,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: &884 + default: &888 value: id: 40201 name: octo-name @@ -138453,8 +138677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 responses: '204': description: Response @@ -138484,8 +138708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 - name: token description: package token schema: @@ -138517,8 +138741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *404 - - *405 + - *406 + - *407 - *19 - *17 - name: state @@ -138538,7 +138762,7 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: default: value: @@ -138587,15 +138811,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -138631,9 +138855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 responses: '204': description: Response @@ -138663,9 +138887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 responses: '204': description: Response @@ -138702,9 +138926,9 @@ paths: application/json: schema: type: array - items: *853 + items: *857 examples: - default: *866 + default: *870 headers: Link: *42 '304': *32 @@ -138817,7 +139041,7 @@ paths: type: array items: *75 examples: - default: &873 + default: &877 summary: Default response value: - id: 1296269 @@ -139135,9 +139359,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *495 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -139181,9 +139405,9 @@ paths: application/json: schema: type: array - items: *675 + items: *679 examples: - default: *867 + default: *871 headers: Link: *42 '304': *32 @@ -139206,7 +139430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *383 + - *385 responses: '204': description: Response @@ -139235,7 +139459,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *383 + - *385 responses: '204': description: Response @@ -139268,7 +139492,7 @@ paths: application/json: schema: type: array - items: &868 + items: &872 title: Social account description: Social media account type: object @@ -139285,7 +139509,7 @@ paths: - provider - url examples: - default: &869 + default: &873 value: - provider: twitter url: https://twitter.com/github @@ -139348,9 +139572,9 @@ paths: application/json: schema: type: array - items: *868 + items: *872 examples: - default: *869 + default: *873 '422': *15 '304': *32 '404': *6 @@ -139438,7 +139662,7 @@ paths: application/json: schema: type: array - items: &870 + items: &874 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -139458,7 +139682,7 @@ paths: - title - created_at examples: - default: &898 + default: &902 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -139523,9 +139747,9 @@ paths: description: Response content: application/json: - schema: *870 + schema: *874 examples: - default: &871 + default: &875 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -139555,7 +139779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &872 + - &876 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -139567,9 +139791,9 @@ paths: description: Response content: application/json: - schema: *870 + schema: *874 examples: - default: *871 + default: *875 '404': *6 '304': *32 '403': *27 @@ -139592,7 +139816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *872 + - *876 responses: '204': description: Response @@ -139621,7 +139845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &899 + - &903 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -139646,11 +139870,11 @@ paths: type: array items: *75 examples: - default-response: *873 + default-response: *877 application/vnd.github.v3.star+json: schema: type: array - items: &900 + items: &904 title: Starred Repository description: Starred Repository type: object @@ -139806,8 +140030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response if this repository is starred by you @@ -139835,8 +140059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -139860,8 +140084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *488 - - *489 + - *490 + - *491 responses: '204': description: Response @@ -139896,7 +140120,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 '304': *32 @@ -139933,7 +140157,7 @@ paths: application/json: schema: type: array - items: *480 + items: *482 examples: default: value: @@ -140019,10 +140243,10 @@ paths: application/json: schema: oneOf: - - *848 - - *847 + - *852 + - *851 examples: - default-response: &877 + default-response: &881 summary: Default response value: login: octocat @@ -140057,7 +140281,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &878 + response-with-git-hub-plan-information: &882 summary: Response with GitHub plan information value: login: octocat @@ -140114,14 +140338,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &875 + - &879 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *420 + - *422 requestBody: required: true description: Details of the draft item to create in the project. @@ -140155,9 +140379,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: - draft_issue: *426 + draft_issue: *428 '304': *32 '403': *27 '401': *23 @@ -140180,7 +140404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *874 + - *878 - *17 responses: '200': @@ -140215,8 +140439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *875 - - *420 + - *879 + - *422 requestBody: required: true content: @@ -140331,17 +140555,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *876 + schema: *880 examples: table_view: summary: Response for creating a table view - value: *430 + value: *432 board_view: summary: Response for creating a board view with filter - value: *430 + value: *432 roadmap_view: summary: Response for creating a roadmap view - value: *430 + value: *432 '304': *32 '403': *27 '401': *23 @@ -140387,11 +140611,11 @@ paths: application/json: schema: oneOf: - - *848 - - *847 + - *852 + - *851 examples: - default-response: *877 - response-with-git-hub-plan-information: *878 + default-response: *881 + response-with-git-hub-plan-information: *882 '404': *6 x-github: githubCloudOnly: false @@ -140441,8 +140665,8 @@ paths: required: - subject_digests examples: - default: *879 - withPredicateType: *880 + default: *883 + withPredicateType: *884 responses: '200': description: Response @@ -140496,7 +140720,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *881 + default: *885 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -140716,7 +140940,7 @@ paths: initiator: type: string examples: - default: *534 + default: *536 '201': description: Response content: @@ -140797,7 +141021,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *328 + items: *330 examples: default: summary: Example response for listing user copilot spaces @@ -141012,9 +141236,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: &882 + default: &886 summary: Example response for a user copilot space value: id: 42 @@ -141113,9 +141337,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *882 + default: *886 '403': *27 '404': *6 x-github: @@ -141239,9 +141463,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *330 examples: - default: *882 + default: *886 '403': *27 '404': *6 '422': *15 @@ -141318,7 +141542,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *330 + items: *332 examples: default: value: @@ -141461,7 +141685,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: default: value: @@ -141572,7 +141796,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: default: value: @@ -141702,7 +141926,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *331 + items: *333 examples: default: value: @@ -141794,7 +142018,7 @@ paths: description: Resource created content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -141810,7 +142034,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -141863,7 +142087,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -141930,7 +142154,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -142007,9 +142231,9 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *864 + default: *868 '403': *27 '401': *23 x-github: @@ -142399,9 +142623,9 @@ paths: application/json: schema: type: array - items: *854 + items: *858 examples: - default: *883 + default: *887 headers: Link: *42 x-github: @@ -142505,7 +142729,7 @@ paths: application/json: schema: *20 examples: - default: *377 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -142630,7 +142854,7 @@ paths: - docker - nuget - container - - *863 + - *867 - *127 - *19 - *17 @@ -142641,12 +142865,12 @@ paths: application/json: schema: type: array - items: *402 + items: *404 examples: - default: *864 + default: *868 '403': *27 '401': *23 - '400': *865 + '400': *869 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -142666,17 +142890,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *884 + default: *888 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -142697,8 +142921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 responses: '204': @@ -142731,8 +142955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 - name: token description: package token @@ -142765,8 +142989,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *404 - - *405 + - *406 + - *407 - *127 responses: '200': @@ -142775,7 +142999,7 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: default: value: @@ -142833,16 +143057,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *404 - - *405 + - *406 - *407 + - *409 - *127 responses: '200': description: Response content: application/json: - schema: *406 + schema: *408 examples: default: value: @@ -142877,10 +143101,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *404 - - *405 - - *127 + - *406 - *407 + - *127 + - *409 responses: '204': description: Response @@ -142912,10 +143136,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *404 - - *405 - - *127 + - *406 - *407 + - *127 + - *409 responses: '204': description: Response @@ -142956,9 +143180,9 @@ paths: application/json: schema: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *42 '304': *32 @@ -142980,16 +143204,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *420 + - *422 - *127 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *419 + default: *421 headers: Link: *42 '304': *32 @@ -143011,7 +143235,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *420 + - *422 - *127 - *17 - *105 @@ -143023,9 +143247,9 @@ paths: application/json: schema: type: array - items: *423 + items: *425 examples: - default: *885 + default: *889 headers: Link: *42 '304': *32 @@ -143047,7 +143271,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *127 - - *420 + - *422 requestBody: required: true content: @@ -143085,7 +143309,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *886 + items: *890 required: - name - data_type @@ -143101,7 +143325,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *887 + iteration_configuration: *891 required: - name - data_type @@ -143123,20 +143347,20 @@ paths: value: name: Due date data_type: date - single_select_field: *888 - iteration_field: *889 + single_select_field: *892 + iteration_field: *893 responses: '201': description: Response content: application/json: - schema: *423 + schema: *425 examples: - text_field: *890 - number_field: *891 - date_field: *892 - single_select_field: *893 - iteration_field: *894 + text_field: *894 + number_field: *895 + date_field: *896 + single_select_field: *897 + iteration_field: *898 '304': *32 '403': *27 '401': *23 @@ -143157,17 +143381,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *420 - - *895 + - *422 + - *899 - *127 responses: '200': description: Response content: application/json: - schema: *423 + schema: *425 examples: - default: *896 + default: *900 headers: Link: *42 '304': *32 @@ -143190,7 +143414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *420 + - *422 - *127 - *105 - *106 @@ -143223,9 +143447,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -143247,7 +143471,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *127 - - *420 + - *422 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -143317,22 +143541,22 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *426 + value: *428 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *426 + value: *428 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *426 + value: *428 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *426 + value: *428 '304': *32 '403': *27 '401': *23 @@ -143352,9 +143576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *420 + - *422 - *127 - - *429 + - *431 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -143374,9 +143598,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -143397,9 +143621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *420 + - *422 - *127 - - *429 + - *431 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -143472,13 +143696,13 @@ paths: description: Response content: application/json: - schema: *427 + schema: *429 examples: - text_field: *428 - number_field: *428 - date_field: *428 - single_select_field: *428 - iteration_field: *428 + text_field: *430 + number_field: *430 + date_field: *430 + single_select_field: *430 + iteration_field: *430 '401': *23 '403': *27 '404': *6 @@ -143498,9 +143722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *420 + - *422 - *127 - - *429 + - *431 responses: '204': description: Response @@ -143522,9 +143746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *420 + - *422 - *127 - - *897 + - *901 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -143550,9 +143774,9 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: - default: *428 + default: *430 headers: Link: *42 '304': *32 @@ -143773,7 +143997,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -143803,9 +144027,9 @@ paths: application/json: schema: type: array - items: *868 + items: *872 examples: - default: *869 + default: *873 headers: Link: *42 x-github: @@ -143835,9 +144059,9 @@ paths: application/json: schema: type: array - items: *870 + items: *874 examples: - default: *898 + default: *902 headers: Link: *42 x-github: @@ -143864,7 +144088,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *127 - - *899 + - *903 - *107 - *17 - *19 @@ -143876,11 +144100,11 @@ paths: schema: anyOf: - type: array - items: *900 + items: *904 - type: array items: *75 examples: - default-response: *873 + default-response: *877 headers: Link: *42 x-github: @@ -143911,7 +144135,7 @@ paths: type: array items: *280 examples: - default: *408 + default: *410 headers: Link: *42 x-github: @@ -144040,7 +144264,7 @@ webhooks: type: string enum: - disabled - enterprise: &901 + enterprise: &905 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -144109,7 +144333,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &902 + installation: &906 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -144130,7 +144354,7 @@ webhooks: required: - id - node_id - organization: &903 + organization: &907 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -144203,7 +144427,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &904 + repository: &908 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -145143,10 +145367,10 @@ webhooks: type: string enum: - enabled - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -145222,11 +145446,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - rule: &905 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + rule: &909 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -145449,11 +145673,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - rule: *905 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + rule: *909 sender: *4 required: - action @@ -145641,11 +145865,11 @@ webhooks: - everyone required: - from - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - rule: *905 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + rule: *909 sender: *4 required: - action @@ -145718,7 +145942,7 @@ webhooks: required: true content: application/json: - schema: &925 + schema: &929 title: Exemption request cancellation event type: object properties: @@ -145726,11 +145950,11 @@ webhooks: type: string enum: - cancelled - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: &906 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: &910 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -146039,7 +146263,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &907 + items: &911 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -146151,7 +146375,7 @@ webhooks: required: true content: application/json: - schema: &926 + schema: &930 title: Exemption request completed event type: object properties: @@ -146159,11 +146383,11 @@ webhooks: type: string enum: - completed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 sender: *4 required: - action @@ -146235,7 +146459,7 @@ webhooks: required: true content: application/json: - schema: &923 + schema: &927 title: Exemption request created event type: object properties: @@ -146243,11 +146467,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 sender: *4 required: - action @@ -146319,7 +146543,7 @@ webhooks: required: true content: application/json: - schema: &927 + schema: &931 title: Exemption response dismissed event type: object properties: @@ -146327,12 +146551,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 - exemption_response: *907 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 + exemption_response: *911 sender: *4 required: - action @@ -146406,7 +146630,7 @@ webhooks: required: true content: application/json: - schema: &924 + schema: &928 title: Exemption response submitted event type: object properties: @@ -146414,12 +146638,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - exemption_request: *906 - exemption_response: *907 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + exemption_request: *910 + exemption_response: *911 sender: *4 required: - action @@ -146503,7 +146727,7 @@ webhooks: type: string enum: - completed - check_run: &909 + check_run: &913 title: CheckRun description: A check performed on the code of a given code change type: object @@ -146613,7 +146837,7 @@ webhooks: - examples: - neutral - deployment: *908 + deployment: *912 details_url: type: string examples: @@ -146711,10 +146935,10 @@ webhooks: - output - app - pull_requests - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 sender: *4 required: - check_run @@ -147105,11 +147329,11 @@ webhooks: type: string enum: - created - check_run: *909 - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + check_run: *913 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 sender: *4 required: - check_run @@ -147503,11 +147727,11 @@ webhooks: type: string enum: - requested_action - check_run: *909 - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + check_run: *913 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 requested_action: description: The action requested by the user. type: object @@ -147910,11 +148134,11 @@ webhooks: type: string enum: - rerequested - check_run: *909 - installation: *902 - enterprise: *901 - organization: *903 - repository: *904 + check_run: *913 + installation: *906 + enterprise: *905 + organization: *907 + repository: *908 sender: *4 required: - check_run @@ -148899,10 +149123,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -149616,10 +149840,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -150327,10 +150551,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -150499,7 +150723,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -150652,20 +150876,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &910 + commit_oid: &914 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *901 - installation: *902 - organization: *903 - ref: &911 + enterprise: *905 + installation: *906 + organization: *907 + ref: &915 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *904 + repository: *908 sender: *4 required: - action @@ -150832,7 +151056,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -151074,12 +151298,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -151177,7 +151401,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -151362,12 +151586,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -151536,7 +151760,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -151714,12 +151938,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -151820,7 +152044,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -152009,9 +152233,9 @@ webhooks: type: - string - 'null' - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -152019,7 +152243,7 @@ webhooks: type: - string - 'null' - repository: *904 + repository: *908 sender: *4 required: - action @@ -152118,7 +152342,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, `used in tests`, @@ -152265,12 +152489,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *910 - enterprise: *901 - installation: *902 - organization: *903 - ref: *911 - repository: *904 + commit_oid: *914 + enterprise: *905 + installation: *906 + organization: *907 + ref: *915 + repository: *908 sender: *4 required: - action @@ -152439,7 +152663,7 @@ webhooks: required: - login - id - dismissed_comment: *564 + dismissed_comment: *568 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -152592,10 +152816,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -152855,10 +153079,10 @@ webhooks: - updated_at - author_association - body - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -152939,18 +153163,18 @@ webhooks: type: - string - 'null' - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *903 - pusher_type: &912 + organization: *907 + pusher_type: &916 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &913 + ref: &917 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -152960,7 +153184,7 @@ webhooks: enum: - tag - branch - repository: *904 + repository: *908 sender: *4 required: - ref @@ -153043,9 +153267,9 @@ webhooks: enum: - created definition: *154 - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -153130,9 +153354,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -153210,9 +153434,9 @@ webhooks: enum: - promote_to_enterprise definition: *154 - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -153290,9 +153514,9 @@ webhooks: enum: - updated definition: *154 - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -153369,10 +153593,10 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - repository: *904 - organization: *903 + enterprise: *905 + installation: *906 + repository: *908 + organization: *907 sender: *4 new_property_values: type: array @@ -153457,18 +153681,18 @@ webhooks: title: delete event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - pusher_type: *912 - ref: *913 + enterprise: *905 + installation: *906 + organization: *907 + pusher_type: *916 + ref: *917 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *904 + repository: *908 sender: *4 required: - ref @@ -153548,11 +153772,11 @@ webhooks: type: string enum: - assignees_changed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -153632,11 +153856,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -153717,11 +153941,11 @@ webhooks: type: string enum: - auto_reopened - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -153802,11 +154026,11 @@ webhooks: type: string enum: - created - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -153885,11 +154109,11 @@ webhooks: type: string enum: - dismissed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -153968,11 +154192,11 @@ webhooks: type: string enum: - fixed - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -154052,11 +154276,11 @@ webhooks: type: string enum: - reintroduced - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -154135,11 +154359,11 @@ webhooks: type: string enum: - reopened - alert: *624 - installation: *902 - organization: *903 - enterprise: *901 - repository: *904 + alert: *628 + installation: *906 + organization: *907 + enterprise: *905 + repository: *908 sender: *4 required: - action @@ -154216,9 +154440,9 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - key: &914 + enterprise: *905 + installation: *906 + key: &918 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -154256,8 +154480,8 @@ webhooks: - verified - created_at - read_only - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -154334,11 +154558,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - key: *914 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + key: *918 + organization: *907 + repository: *908 sender: *4 required: - action @@ -154905,12 +155129,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: &918 + workflow: &922 title: Workflow type: - object @@ -155661,13 +155885,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *631 + - *635 pull_requests: type: array - items: *742 - repository: *904 - organization: *903 - installation: *902 + items: *746 + repository: *908 + organization: *907 + installation: *906 sender: *4 responses: '200': @@ -155738,7 +155962,7 @@ webhooks: type: string enum: - approved - approver: &915 + approver: &919 type: object properties: avatar_url: @@ -155781,11 +156005,11 @@ webhooks: type: string comment: type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - reviewers: &916 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + reviewers: &920 type: array items: type: object @@ -155866,7 +156090,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &917 + workflow_job_run: &921 type: object properties: conclusion: @@ -156612,18 +156836,18 @@ webhooks: type: string enum: - rejected - approver: *915 + approver: *919 comment: type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - reviewers: *916 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + reviewers: *920 sender: *4 since: type: string - workflow_job_run: *917 + workflow_job_run: *921 workflow_job_runs: type: array items: @@ -157340,13 +157564,13 @@ webhooks: type: string enum: - requested - enterprise: *901 + enterprise: *905 environment: type: string - installation: *902 - organization: *903 - repository: *904 - requestor: &928 + installation: *906 + organization: *907 + repository: *908 + requestor: &932 title: User type: - object @@ -159279,12 +159503,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - workflow: *918 + workflow: *922 workflow_run: title: Deployment Workflow Run type: @@ -159975,7 +160199,7 @@ webhooks: type: string enum: - answered - answer: &921 + answer: &925 type: object properties: author_association: @@ -160135,11 +160359,11 @@ webhooks: - created_at - updated_at - body - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160266,11 +160490,11 @@ webhooks: - from required: - category - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160353,11 +160577,11 @@ webhooks: type: string enum: - closed - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160439,7 +160663,7 @@ webhooks: type: string enum: - created - comment: &920 + comment: &924 type: object properties: author_association: @@ -160599,11 +160823,11 @@ webhooks: - updated_at - body - reactions - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160686,12 +160910,12 @@ webhooks: type: string enum: - deleted - comment: *920 - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + comment: *924 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160786,12 +161010,12 @@ webhooks: - from required: - body - comment: *920 - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + comment: *924 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160875,11 +161099,11 @@ webhooks: type: string enum: - created - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -160961,11 +161185,11 @@ webhooks: type: string enum: - deleted - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161065,11 +161289,11 @@ webhooks: type: string required: - from - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161151,10 +161375,10 @@ webhooks: type: string enum: - labeled - discussion: *919 - enterprise: *901 - installation: *902 - label: &922 + discussion: *923 + enterprise: *905 + installation: *906 + label: &926 title: Label type: object properties: @@ -161187,8 +161411,8 @@ webhooks: - color - default - description - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161271,11 +161495,11 @@ webhooks: type: string enum: - locked - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161357,11 +161581,11 @@ webhooks: type: string enum: - pinned - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161443,11 +161667,11 @@ webhooks: type: string enum: - reopened - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161532,16 +161756,16 @@ webhooks: changes: type: object properties: - new_discussion: *919 - new_repository: *904 + new_discussion: *923 + new_repository: *908 required: - new_discussion - new_repository - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161624,10 +161848,10 @@ webhooks: type: string enum: - unanswered - discussion: *919 - old_answer: *921 - organization: *903 - repository: *904 + discussion: *923 + old_answer: *925 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161709,12 +161933,12 @@ webhooks: type: string enum: - unlabeled - discussion: *919 - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161797,11 +162021,11 @@ webhooks: type: string enum: - unlocked - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161883,11 +162107,11 @@ webhooks: type: string enum: - unpinned - discussion: *919 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + discussion: *923 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -161956,7 +162180,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162019,7 +162243,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162082,7 +162306,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162145,7 +162369,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162208,7 +162432,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162274,7 +162498,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162340,7 +162564,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162406,7 +162630,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162472,7 +162696,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162538,7 +162762,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162603,7 +162827,7 @@ webhooks: required: true content: application/json: - schema: *925 + schema: *929 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162668,7 +162892,7 @@ webhooks: required: true content: application/json: - schema: *926 + schema: *930 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162733,7 +162957,7 @@ webhooks: required: true content: application/json: - schema: *923 + schema: *927 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162798,7 +163022,7 @@ webhooks: required: true content: application/json: - schema: *927 + schema: *931 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162864,7 +163088,7 @@ webhooks: required: true content: application/json: - schema: *924 + schema: *928 responses: '200': description: Return a 200 status to indicate that the data was received @@ -162931,7 +163155,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *901 + enterprise: *905 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -163609,9 +163833,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - forkee @@ -163757,9 +163981,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pages: description: The pages that were updated. type: array @@ -163797,7 +164021,7 @@ webhooks: - action - sha - html_url - repository: *904 + repository: *908 sender: *4 required: - pages @@ -163873,10 +164097,10 @@ webhooks: type: string enum: - created - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: &929 + organization: *907 + repositories: &933 description: An array of repository objects that the installation can access. type: array @@ -163902,8 +164126,8 @@ webhooks: - name - full_name - private - repository: *904 - requester: *928 + repository: *908 + requester: *932 sender: *4 required: - action @@ -163978,11 +164202,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -164059,11 +164283,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -164140,10 +164364,10 @@ webhooks: type: string enum: - added - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories_added: &930 + organization: *907 + repositories_added: &934 description: An array of repository objects, which were added to the installation. type: array @@ -164190,15 +164414,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *904 - repository_selection: &931 + repository: *908 + repository_selection: &935 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *928 + requester: *932 sender: *4 required: - action @@ -164277,10 +164501,10 @@ webhooks: type: string enum: - removed - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories_added: *930 + organization: *907 + repositories_added: *934 repositories_removed: description: An array of repository objects, which were removed from the installation. When `repository_selection` changes from @@ -164308,9 +164532,9 @@ webhooks: - name - full_name - private - repository: *904 - repository_selection: *931 - requester: *928 + repository: *908 + repository_selection: *935 + requester: *932 sender: *4 required: - action @@ -164389,11 +164613,11 @@ webhooks: type: string enum: - suspend - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -164576,10 +164800,10 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 target_type: type: string @@ -164658,11 +164882,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *901 + enterprise: *905 installation: *20 - organization: *903 - repositories: *929 - repository: *904 + organization: *907 + repositories: *933 + repository: *908 requester: type: - 'null' @@ -164828,11 +165052,11 @@ webhooks: pin: anyOf: - type: 'null' - - *706 + - *710 minimized: anyOf: - type: 'null' - - *707 + - *711 user: title: User type: @@ -164918,8 +165142,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -165731,8 +165955,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165749,7 +165973,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -166093,8 +166317,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -166174,7 +166398,7 @@ webhooks: type: string enum: - deleted - comment: &932 + comment: &936 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -166331,11 +166555,11 @@ webhooks: pin: anyOf: - type: 'null' - - *706 + - *710 minimized: anyOf: - type: 'null' - - *707 + - *711 required: - url - html_url @@ -166349,8 +166573,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -167158,8 +167382,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167176,7 +167400,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -167522,8 +167746,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -167603,7 +167827,7 @@ webhooks: type: string enum: - edited - changes: &956 + changes: &960 description: The changes to the comment. type: object properties: @@ -167615,9 +167839,9 @@ webhooks: type: string required: - from - comment: *932 - enterprise: *901 - installation: *902 + comment: *936 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -168428,8 +168652,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168446,7 +168670,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -168790,8 +169014,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -168872,9 +169096,9 @@ webhooks: type: string enum: - pinned - comment: *932 - enterprise: *901 - installation: *902 + comment: *936 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -169687,8 +169911,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169705,7 +169929,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -170051,8 +170275,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -170132,9 +170356,9 @@ webhooks: type: string enum: - unpinned - comment: *932 - enterprise: *901 - installation: *902 + comment: *936 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -170947,8 +171171,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170965,7 +171189,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -171311,8 +171535,8 @@ webhooks: - state - locked - assignee - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -171401,9 +171625,9 @@ webhooks: type: number blocking_issue: *221 blocking_issue_repo: *75 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -171492,9 +171716,9 @@ webhooks: type: number blocking_issue: *221 blocking_issue_repo: *75 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -171582,9 +171806,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -171673,9 +171897,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -171755,10 +171979,10 @@ webhooks: type: string enum: - assigned - assignee: *928 - enterprise: *901 - installation: *902 - issue: &933 + assignee: *932 + enterprise: *905 + installation: *906 + issue: &937 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -172569,11 +172793,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172590,7 +172814,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -172693,8 +172917,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -172774,8 +172998,8 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -173591,11 +173815,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173612,7 +173836,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -173858,8 +174082,8 @@ webhooks: required: - state - closed_at - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -173938,8 +174162,8 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174746,11 +174970,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174767,7 +174991,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -174869,8 +175093,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -174949,8 +175173,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -175780,11 +176004,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175801,7 +176025,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -175882,7 +176106,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &934 + milestone: &938 title: Milestone description: A collection of related issues and pull requests. type: object @@ -176025,8 +176249,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -176125,8 +176349,8 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -176937,11 +177161,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -176955,7 +177179,7 @@ webhooks: timeline_url: type: string format: uri - type: *387 + type: *389 title: description: Title of the issue type: string @@ -177061,9 +177285,9 @@ webhooks: - active_lock_reason - body - reactions - label: *922 - organization: *903 - repository: *904 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -177143,9 +177367,9 @@ webhooks: type: string enum: - field_added - enterprise: *901 - installation: *902 - issue: *933 + enterprise: *905 + installation: *906 + issue: *937 issue_field: type: object description: The issue field whose value was set or updated on the @@ -177311,8 +177535,8 @@ webhooks: - id required: - from - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -177392,9 +177616,9 @@ webhooks: type: string enum: - field_removed - enterprise: *901 - installation: *902 - issue: *933 + enterprise: *905 + installation: *906 + issue: *937 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -177481,8 +177705,8 @@ webhooks: - 'null' required: - id - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -177562,8 +177786,8 @@ webhooks: type: string enum: - labeled - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -178373,11 +178597,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -178391,7 +178615,7 @@ webhooks: timeline_url: type: string format: uri - type: *387 + type: *389 title: description: Title of the issue type: string @@ -178497,9 +178721,9 @@ webhooks: - active_lock_reason - body - reactions - label: *922 - organization: *903 - repository: *904 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -178579,8 +178803,8 @@ webhooks: type: string enum: - locked - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -179415,11 +179639,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -179433,7 +179657,7 @@ webhooks: timeline_url: type: string format: uri - type: *387 + type: *389 title: description: Title of the issue type: string @@ -179516,8 +179740,8 @@ webhooks: format: uri user_view_type: type: string - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -179596,8 +179820,8 @@ webhooks: type: string enum: - milestoned - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -180426,11 +180650,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -180447,7 +180671,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -180527,9 +180751,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *934 - organization: *903 - repository: *904 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -181416,11 +181640,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -181520,7 +181744,7 @@ webhooks: required: - login - id - type: *387 + type: *389 required: - id - number @@ -182012,8 +182236,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -182820,11 +183044,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -182841,7 +183065,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -182947,8 +183171,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -183028,9 +183252,9 @@ webhooks: type: string enum: - pinned - enterprise: *901 - installation: *902 - issue: &935 + enterprise: *905 + installation: *906 + issue: &939 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -183835,11 +184059,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -183856,7 +184080,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -183958,8 +184182,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -184038,8 +184262,8 @@ webhooks: type: string enum: - reopened - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -184872,11 +185096,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -184973,9 +185197,9 @@ webhooks: format: uri user_view_type: type: string - type: *387 - organization: *903 - repository: *904 + type: *389 + organization: *907 + repository: *908 sender: *4 required: - action @@ -185863,11 +186087,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -185884,7 +186108,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -186477,11 +186701,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *901 - installation: *902 - issue: *935 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *939 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186561,12 +186785,12 @@ webhooks: type: string enum: - typed - enterprise: *901 - installation: *902 - issue: *933 - type: *387 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + type: *389 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186647,7 +186871,7 @@ webhooks: type: string enum: - unassigned - assignee: &959 + assignee: &963 title: User type: - object @@ -186719,11 +186943,11 @@ webhooks: required: - login - id - enterprise: *901 - installation: *902 - issue: *933 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186802,12 +187026,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *901 - installation: *902 - issue: *933 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -186887,8 +187111,8 @@ webhooks: type: string enum: - unlocked - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -187721,11 +187945,11 @@ webhooks: anyOf: - type: 'null' - *222 - sub_issues_summary: *838 - issue_dependencies_summary: *839 + sub_issues_summary: *842 + issue_dependencies_summary: *843 issue_field_values: type: array - items: *688 + items: *692 state: description: State of the issue; either 'open' or 'closed' type: string @@ -187742,7 +187966,7 @@ webhooks: title: description: Title of the issue type: string - type: *387 + type: *389 updated_at: type: string format: date-time @@ -187822,8 +188046,8 @@ webhooks: format: uri user_view_type: type: string - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -187903,11 +188127,11 @@ webhooks: type: string enum: - unpinned - enterprise: *901 - installation: *902 - issue: *935 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *939 + organization: *907 + repository: *908 sender: *4 required: - action @@ -187986,12 +188210,12 @@ webhooks: type: string enum: - untyped - enterprise: *901 - installation: *902 - issue: *933 - type: *387 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + issue: *937 + type: *389 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188071,11 +188295,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188153,11 +188377,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188267,11 +188491,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - label: *922 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + label: *926 + organization: *907 + repository: *908 sender: *4 required: - action @@ -188353,9 +188577,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: &936 + enterprise: *905 + installation: *906 + marketplace_purchase: &940 title: Marketplace Purchase type: object required: @@ -188443,8 +188667,8 @@ webhooks: type: integer unit_count: type: integer - organization: *903 - previous_marketplace_purchase: &937 + organization: *907 + previous_marketplace_purchase: &941 title: Marketplace Purchase type: object properties: @@ -188528,7 +188752,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *904 + repository: *908 sender: *4 required: - action @@ -188608,10 +188832,10 @@ webhooks: - changed effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: *936 - organization: *903 + enterprise: *905 + installation: *906 + marketplace_purchase: *940 + organization: *907 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -188699,7 +188923,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *904 + repository: *908 sender: *4 required: - action @@ -188781,10 +189005,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: *936 - organization: *903 + enterprise: *905 + installation: *906 + marketplace_purchase: *940 + organization: *907 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -188870,7 +189094,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *904 + repository: *908 sender: *4 required: - action @@ -188951,8 +189175,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 marketplace_purchase: title: Marketplace Purchase type: object @@ -189038,9 +189262,9 @@ webhooks: type: integer unit_count: type: integer - organization: *903 - previous_marketplace_purchase: *937 - repository: *904 + organization: *907 + previous_marketplace_purchase: *941 + repository: *908 sender: *4 required: - action @@ -189120,12 +189344,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *901 - installation: *902 - marketplace_purchase: *936 - organization: *903 - previous_marketplace_purchase: *937 - repository: *904 + enterprise: *905 + installation: *906 + marketplace_purchase: *940 + organization: *907 + previous_marketplace_purchase: *941 + repository: *908 sender: *4 required: - action @@ -189227,11 +189451,11 @@ webhooks: type: string required: - to - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189333,11 +189557,11 @@ webhooks: type: - string - 'null' - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189416,11 +189640,11 @@ webhooks: type: string enum: - removed - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 sender: *4 required: - action @@ -189498,11 +189722,11 @@ webhooks: type: string enum: - added - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 scope: description: The scope of the membership. Currently, can only be `team`. @@ -189580,7 +189804,7 @@ webhooks: required: - login - id - team: &938 + team: &942 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -189810,11 +190034,11 @@ webhooks: type: string enum: - removed - enterprise: *901 - installation: *902 - member: *928 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + member: *932 + organization: *907 + repository: *908 scope: description: The scope of the membership. Currently, can only be `team`. @@ -189893,7 +190117,7 @@ webhooks: required: - login - id - team: *938 + team: *942 required: - action - scope @@ -189975,8 +190199,8 @@ webhooks: type: string enum: - checks_requested - installation: *902 - merge_group: &939 + installation: *906 + merge_group: &943 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -189995,15 +190219,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *554 + head_commit: *556 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190089,10 +190313,10 @@ webhooks: - merged - invalidated - dequeued - installation: *902 - merge_group: *939 - organization: *903 - repository: *904 + installation: *906 + merge_group: *943 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190165,7 +190389,7 @@ webhooks: type: string enum: - deleted - enterprise: *901 + enterprise: *905 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -190274,12 +190498,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *902 - organization: *903 + installation: *906 + organization: *907 repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -190359,11 +190583,11 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 - milestone: *934 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190442,9 +190666,9 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - milestone: &940 + enterprise: *905 + installation: *906 + milestone: &944 title: Milestone description: A collection of related issues and pull requests. type: object @@ -190586,8 +190810,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190666,11 +190890,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - milestone: *934 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190780,11 +191004,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - milestone: *934 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *938 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190864,11 +191088,11 @@ webhooks: type: string enum: - opened - enterprise: *901 - installation: *902 - milestone: *940 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *944 + organization: *907 + repository: *908 sender: *4 required: - action @@ -190947,11 +191171,11 @@ webhooks: type: string enum: - blocked - blocked_user: *928 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + blocked_user: *932 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -191030,11 +191254,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *928 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + blocked_user: *932 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -191110,7 +191334,7 @@ webhooks: enum: - created definition: *149 - enterprise: *901 + enterprise: *905 sender: *4 required: - action @@ -191190,8 +191414,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 sender: *4 required: - action @@ -191264,8 +191488,8 @@ webhooks: enum: - updated definition: *149 - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 sender: *4 required: - action @@ -191337,9 +191561,9 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 new_property_values: type: array @@ -191427,9 +191651,9 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - membership: &941 + enterprise: *905 + installation: *906 + membership: &945 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -191539,8 +191763,8 @@ webhooks: - role - organization_url - user - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 required: - action @@ -191618,11 +191842,11 @@ webhooks: type: string enum: - member_added - enterprise: *901 - installation: *902 - membership: *941 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + membership: *945 + organization: *907 + repository: *908 sender: *4 required: - action @@ -191701,8 +191925,8 @@ webhooks: type: string enum: - member_invited - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -191824,10 +192048,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 - user: *928 + user: *932 required: - action - invitation @@ -191905,11 +192129,11 @@ webhooks: type: string enum: - member_removed - enterprise: *901 - installation: *902 - membership: *941 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + membership: *945 + organization: *907 + repository: *908 sender: *4 required: - action @@ -191996,11 +192220,11 @@ webhooks: properties: from: type: string - enterprise: *901 - installation: *902 - membership: *941 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + membership: *945 + organization: *907 + repository: *908 sender: *4 required: - action @@ -192078,9 +192302,9 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 package: description: Information about the package. type: object @@ -192603,7 +192827,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &942 + items: &946 title: Ruby Gems metadata type: object properties: @@ -192700,7 +192924,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -192777,9 +193001,9 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 package: description: Information about the package. type: object @@ -193141,7 +193365,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *942 + items: *946 source_url: type: string format: uri @@ -193212,7 +193436,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -193392,12 +193616,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *901 + enterprise: *905 id: type: integer - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - id @@ -193474,7 +193698,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &943 + personal_access_token_request: &947 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -193624,10 +193848,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *901 - organization: *903 + enterprise: *905 + organization: *907 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -193704,11 +193928,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *943 - enterprise: *901 - organization: *903 + personal_access_token_request: *947 + enterprise: *905 + organization: *907 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -193784,11 +194008,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *943 - enterprise: *901 - organization: *903 + personal_access_token_request: *947 + enterprise: *905 + organization: *907 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -193863,11 +194087,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *943 - organization: *903 - enterprise: *901 + personal_access_token_request: *947 + organization: *907 + enterprise: *905 sender: *4 - installation: *902 + installation: *906 required: - action - personal_access_token_request @@ -193972,7 +194196,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *944 + last_response: *948 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -194004,8 +194228,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 zen: description: Random string of GitHub zen. @@ -194250,10 +194474,10 @@ webhooks: - from required: - note - enterprise: *901 - installation: *902 - organization: *903 - project_card: &945 + enterprise: *905 + installation: *906 + organization: *907 + project_card: &949 title: Project Card type: object properties: @@ -194376,7 +194600,7 @@ webhooks: - creator - created_at - updated_at - repository: *904 + repository: *908 sender: *4 required: - action @@ -194457,11 +194681,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - project_card: *945 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_card: *949 + repository: *908 sender: *4 required: - action @@ -194541,9 +194765,9 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 project_card: title: Project Card type: object @@ -194673,7 +194897,7 @@ webhooks: repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -194767,11 +194991,11 @@ webhooks: - from required: - note - enterprise: *901 - installation: *902 - organization: *903 - project_card: *945 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_card: *949 + repository: *908 sender: *4 required: - action @@ -194865,9 +195089,9 @@ webhooks: - from required: - column_id - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 project_card: allOf: - title: Project Card @@ -195064,7 +195288,7 @@ webhooks: type: string required: - after_id - repository: *904 + repository: *908 sender: *4 required: - action @@ -195144,10 +195368,10 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 - organization: *903 - project: &947 + enterprise: *905 + installation: *906 + organization: *907 + project: &951 title: Project type: object properties: @@ -195274,7 +195498,7 @@ webhooks: - creator - created_at - updated_at - repository: *904 + repository: *908 sender: *4 required: - action @@ -195354,10 +195578,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - project_column: &946 + enterprise: *905 + installation: *906 + organization: *907 + project_column: &950 title: Project Column type: object properties: @@ -195397,7 +195621,7 @@ webhooks: - name - created_at - updated_at - repository: *904 + repository: *908 sender: *4 required: - action @@ -195476,14 +195700,14 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - project_column: *946 + enterprise: *905 + installation: *906 + organization: *907 + project_column: *950 repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -195572,11 +195796,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - project_column: *946 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_column: *950 + repository: *908 sender: *4 required: - action @@ -195656,11 +195880,11 @@ webhooks: type: string enum: - moved - enterprise: *901 - installation: *902 - organization: *903 - project_column: *946 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project_column: *950 + repository: *908 sender: *4 required: - action @@ -195740,11 +195964,11 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - project: *947 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 + repository: *908 sender: *4 required: - action @@ -195824,14 +196048,14 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - project: *947 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 repository: anyOf: - type: 'null' - - *904 + - *908 sender: *4 required: - action @@ -195932,11 +196156,11 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - project: *947 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 + repository: *908 sender: *4 required: - action @@ -196015,11 +196239,11 @@ webhooks: type: string enum: - reopened - enterprise: *901 - installation: *902 - organization: *903 - project: *947 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + project: *951 + repository: *908 sender: *4 required: - action @@ -196100,9 +196324,9 @@ webhooks: type: string enum: - closed - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -196183,9 +196407,9 @@ webhooks: type: string enum: - created - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -196266,9 +196490,9 @@ webhooks: type: string enum: - deleted - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -196389,9 +196613,9 @@ webhooks: type: string to: type: string - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -196474,7 +196698,7 @@ webhooks: type: string enum: - archived - changes: &951 + changes: &955 type: object properties: archived_at: @@ -196490,9 +196714,9 @@ webhooks: - string - 'null' format: date-time - installation: *902 - organization: *903 - projects_v2_item: &948 + installation: *906 + organization: *907 + projects_v2_item: &952 title: Projects v2 Item description: An item belonging to a project type: object @@ -196510,7 +196734,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *424 + content_type: *426 creator: *4 created_at: type: string @@ -196632,9 +196856,9 @@ webhooks: - 'null' to: type: string - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -196716,9 +196940,9 @@ webhooks: type: string enum: - created - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -196799,9 +197023,9 @@ webhooks: type: string enum: - deleted - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -196906,7 +197130,7 @@ webhooks: oneOf: - type: string - type: integer - - &949 + - &953 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -196930,7 +197154,7 @@ webhooks: required: - id - name - - &950 + - &954 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -196970,8 +197194,8 @@ webhooks: oneOf: - type: string - type: integer - - *949 - - *950 + - *953 + - *954 type: - 'null' - string @@ -196994,9 +197218,9 @@ webhooks: - 'null' required: - body - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -197093,9 +197317,9 @@ webhooks: type: - string - 'null' - installation: *902 - organization: *903 - projects_v2_item: *948 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -197178,10 +197402,10 @@ webhooks: type: string enum: - restored - changes: *951 - installation: *902 - organization: *903 - projects_v2_item: *948 + changes: *955 + installation: *906 + organization: *907 + projects_v2_item: *952 sender: *4 required: - action @@ -197263,9 +197487,9 @@ webhooks: type: string enum: - reopened - installation: *902 - organization: *903 - projects_v2: *418 + installation: *906 + organization: *907 + projects_v2: *420 sender: *4 required: - action @@ -197346,9 +197570,9 @@ webhooks: type: string enum: - created - installation: *902 - organization: *903 - projects_v2_status_update: *952 + installation: *906 + organization: *907 + projects_v2_status_update: *956 sender: *4 required: - action @@ -197429,9 +197653,9 @@ webhooks: type: string enum: - deleted - installation: *902 - organization: *903 - projects_v2_status_update: *952 + installation: *906 + organization: *907 + projects_v2_status_update: *956 sender: *4 required: - action @@ -197577,9 +197801,9 @@ webhooks: - string - 'null' format: date - installation: *902 - organization: *903 - projects_v2_status_update: *952 + installation: *906 + organization: *907 + projects_v2_status_update: *956 sender: *4 required: - action @@ -197650,10 +197874,10 @@ webhooks: title: public event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - repository @@ -197730,13 +197954,13 @@ webhooks: type: string enum: - assigned - assignee: *928 - enterprise: *901 - installation: *902 - number: &953 + assignee: *932 + enterprise: *905 + installation: *906 + number: &957 description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -199979,7 +200203,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -200108,7 +200332,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -200205,10 +200429,10 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -202442,7 +202666,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -202573,7 +202797,7 @@ webhooks: - draft reason: type: string - repository: *904 + repository: *908 sender: *4 required: - action @@ -202670,10 +202894,10 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -204907,7 +205131,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -205038,7 +205262,7 @@ webhooks: - draft reason: type: string - repository: *904 + repository: *908 sender: *4 required: - action @@ -205135,13 +205359,13 @@ webhooks: type: string enum: - closed - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: &954 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: &958 allOf: - - *742 + - *746 - type: object properties: allow_auto_merge: @@ -205203,7 +205427,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *904 + repository: *908 sender: *4 required: - action @@ -205284,12 +205508,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -205369,12 +205593,12 @@ webhooks: type: string enum: - demilestoned - enterprise: *901 - installation: *902 - milestone: *421 - number: *953 - organization: *903 - pull_request: &955 + enterprise: *905 + installation: *906 + milestone: *423 + number: *957 + organization: *907 + pull_request: &959 title: Pull Request type: object properties: @@ -207595,7 +207819,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -207766,7 +207990,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *904 + repository: *908 sender: *4 required: - action @@ -207846,10 +208070,10 @@ webhooks: type: string enum: - dequeued - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -210074,7 +210298,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -210218,7 +210442,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *904 + repository: *908 sender: *4 required: - action @@ -210350,12 +210574,12 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -210436,10 +210660,10 @@ webhooks: type: string enum: - enqueued - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -212664,7 +212888,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -212793,7 +213017,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -212881,11 +213105,11 @@ webhooks: type: string enum: - labeled - enterprise: *901 - installation: *902 - label: *922 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + label: *926 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -215127,7 +215351,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -215256,7 +215480,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -215352,10 +215576,10 @@ webhooks: type: string enum: - locked - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -217595,7 +217819,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -217724,7 +217948,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -217819,13 +218043,13 @@ webhooks: type: string enum: - milestoned - enterprise: *901 - installation: *902 - milestone: *421 - number: *953 - organization: *903 - pull_request: *955 - repository: *904 + enterprise: *905 + installation: *906 + milestone: *423 + number: *957 + organization: *907 + pull_request: *959 + repository: *908 sender: *4 required: - action @@ -217905,12 +218129,12 @@ webhooks: type: string enum: - opened - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -217991,12 +218215,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -218076,12 +218300,12 @@ webhooks: type: string enum: - reopened - enterprise: *901 - installation: *902 - number: *953 - organization: *903 - pull_request: *954 - repository: *904 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 + pull_request: *958 + repository: *908 sender: *4 required: - action @@ -218456,9 +218680,9 @@ webhooks: - start_side - side - reactions - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: type: object properties: @@ -220587,7 +220811,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -220711,7 +220935,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *904 + repository: *908 sender: *4 required: - action @@ -220806,7 +221030,7 @@ webhooks: type: string enum: - deleted - comment: &957 + comment: &961 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -221099,9 +221323,9 @@ webhooks: - start_side - side - reactions - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: type: object properties: @@ -223218,7 +223442,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -223342,7 +223566,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *904 + repository: *908 sender: *4 required: - action @@ -223437,11 +223661,11 @@ webhooks: type: string enum: - edited - changes: *956 - comment: *957 - enterprise: *901 - installation: *902 - organization: *903 + changes: *960 + comment: *961 + enterprise: *905 + installation: *906 + organization: *907 pull_request: type: object properties: @@ -225561,7 +225785,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -225685,7 +225909,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *904 + repository: *908 sender: *4 required: - action @@ -225781,9 +226005,9 @@ webhooks: type: string enum: - dismissed - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -227913,7 +228137,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -228039,7 +228263,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 + repository: *908 review: description: The review that was affected. type: object @@ -228305,9 +228529,9 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -230421,8 +230645,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 - review: &958 + repository: *908 + review: &962 description: The review that was affected. type: object properties: @@ -230668,12 +230892,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -232914,7 +233138,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -233043,7 +233267,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_reviewer: title: User type: @@ -233129,12 +233353,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -235382,7 +235606,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -235511,7 +235735,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_team: title: Team description: Groups of organization members that gives permissions @@ -235729,12 +235953,12 @@ webhooks: type: string enum: - review_requested - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -237976,7 +238200,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -238106,7 +238330,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_reviewer: title: User type: @@ -238193,12 +238417,12 @@ webhooks: type: string enum: - review_requested - enterprise: *901 - installation: *902 + enterprise: *905 + installation: *906 number: description: The pull request number. type: integer - organization: *903 + organization: *907 pull_request: title: Pull Request type: object @@ -240431,7 +240655,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. @@ -240561,7 +240785,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 requested_team: title: Team description: Groups of organization members that gives permissions @@ -240768,9 +240992,9 @@ webhooks: type: string enum: - submitted - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -242903,7 +243127,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -243029,8 +243253,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 - review: *958 + repository: *908 + review: *962 sender: *4 required: - action @@ -243125,9 +243349,9 @@ webhooks: type: string enum: - resolved - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -245155,7 +245379,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -245281,7 +245505,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 + repository: *908 sender: *4 thread: type: object @@ -245686,9 +245910,9 @@ webhooks: type: string enum: - unresolved - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 pull_request: title: Simple Pull Request type: object @@ -247700,7 +247924,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: type: string enum: @@ -247825,7 +248049,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *904 + repository: *908 sender: *4 thread: type: object @@ -248226,11 +248450,11 @@ webhooks: type: string enum: - stacked - enterprise: *901 - installation: *902 - stack: *739 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + stack: *743 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -250472,7 +250696,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -250601,7 +250825,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -250702,10 +250926,10 @@ webhooks: type: string before: type: string - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -252934,7 +253158,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -253063,7 +253287,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -253160,11 +253384,11 @@ webhooks: type: string enum: - unassigned - assignee: *959 - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + assignee: *963 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -255408,7 +255632,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -255537,7 +255761,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -255632,11 +255856,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *901 - installation: *902 - label: *922 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + label: *926 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -257869,7 +258093,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -257998,7 +258222,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -258094,10 +258318,10 @@ webhooks: type: string enum: - unlocked - enterprise: *901 - installation: *902 - number: *953 - organization: *903 + enterprise: *905 + installation: *906 + number: *957 + organization: *907 pull_request: title: Pull Request type: object @@ -260321,7 +260545,7 @@ webhooks: review_comments_url: type: string format: uri - stack: *739 + stack: *743 state: description: State of this Pull Request. Either `open` or `closed`. type: string @@ -260449,7 +260673,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *904 + repository: *908 sender: *4 required: - action @@ -260667,7 +260891,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *901 + enterprise: *905 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -260762,8 +260986,8 @@ webhooks: - url - author - committer - installation: *902 - organization: *903 + installation: *906 + organization: *907 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -261362,9 +261586,9 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 registry_package: type: object properties: @@ -261841,7 +262065,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *942 + items: *946 summary: type: string tag_name: @@ -261897,7 +262121,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -261975,9 +262199,9 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 registry_package: type: object properties: @@ -262289,7 +262513,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *942 + items: *946 summary: type: string tag_name: @@ -262339,7 +262563,7 @@ webhooks: - owner - package_version - registry - repository: *904 + repository: *908 sender: *4 required: - action @@ -262416,10 +262640,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - release: &960 + enterprise: *905 + installation: *906 + organization: *907 + release: &964 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -262750,7 +262974,7 @@ webhooks: - updated_at - zipball_url - body - repository: *904 + repository: *908 sender: *4 required: - action @@ -262827,11 +263051,11 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - release: *960 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *964 + repository: *908 sender: *4 required: - action @@ -262948,11 +263172,11 @@ webhooks: type: boolean required: - to - enterprise: *901 - installation: *902 - organization: *903 - release: *960 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *964 + repository: *908 sender: *4 required: - action @@ -263030,9 +263254,9 @@ webhooks: type: string enum: - prereleased - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -263368,7 +263592,7 @@ webhooks: - string - 'null' format: uri - repository: *904 + repository: *908 sender: *4 required: - action @@ -263444,10 +263668,10 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 - release: &961 + enterprise: *905 + installation: *906 + organization: *907 + release: &965 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -263780,7 +264004,7 @@ webhooks: - string - 'null' format: uri - repository: *904 + repository: *908 sender: *4 required: - action @@ -263856,11 +264080,11 @@ webhooks: type: string enum: - released - enterprise: *901 - installation: *902 - organization: *903 - release: *960 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *964 + repository: *908 sender: *4 required: - action @@ -263936,11 +264160,11 @@ webhooks: type: string enum: - unpublished - enterprise: *901 - installation: *902 - organization: *903 - release: *961 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + release: *965 + repository: *908 sender: *4 required: - action @@ -264016,11 +264240,11 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - repository_advisory: *797 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + repository_advisory: *801 sender: *4 required: - action @@ -264096,11 +264320,11 @@ webhooks: type: string enum: - reported - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - repository_advisory: *797 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + repository_advisory: *801 sender: *4 required: - action @@ -264176,10 +264400,10 @@ webhooks: type: string enum: - archived - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264256,10 +264480,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264337,10 +264561,10 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264425,10 +264649,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264543,10 +264767,10 @@ webhooks: - 'null' items: type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264618,10 +264842,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 status: type: string @@ -264702,10 +264926,10 @@ webhooks: type: string enum: - privatized - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264782,10 +265006,10 @@ webhooks: type: string enum: - publicized - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264879,10 +265103,10 @@ webhooks: - name required: - repository - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -264962,10 +265186,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 repository_ruleset: *188 sender: *4 required: @@ -265044,10 +265268,10 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 repository_ruleset: *188 sender: *4 required: @@ -265126,10 +265350,10 @@ webhooks: type: string enum: - edited - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 repository_ruleset: *188 changes: type: object @@ -265191,16 +265415,16 @@ webhooks: properties: added: type: array - items: *764 + items: *768 deleted: type: array - items: *764 + items: *768 updated: type: array items: type: object properties: - rule: *764 + rule: *768 changes: type: object properties: @@ -265437,10 +265661,10 @@ webhooks: - from required: - owner - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265518,10 +265742,10 @@ webhooks: type: string enum: - unarchived - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265599,7 +265823,7 @@ webhooks: type: string enum: - create - alert: &962 + alert: &966 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -265724,10 +265948,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -265937,10 +266161,10 @@ webhooks: type: string enum: - dismissed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -266018,11 +266242,11 @@ webhooks: type: string enum: - reopen - alert: *962 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *966 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -266224,10 +266448,10 @@ webhooks: enum: - fixed - open - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -266305,7 +266529,7 @@ webhooks: type: string enum: - assigned - alert: &964 + alert: &968 type: object properties: number: *128 @@ -266452,12 +266676,12 @@ webhooks: anyOf: - type: 'null' - *4 - metadata: *963 + metadata: *967 assignee: *4 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -266535,11 +266759,11 @@ webhooks: type: string enum: - created - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -266620,11 +266844,11 @@ webhooks: type: string enum: - created - alert: *964 - installation: *902 - location: *965 - organization: *903 - repository: *904 + alert: *968 + installation: *906 + location: *969 + organization: *907 + repository: *908 sender: *4 required: - location @@ -266862,11 +267086,11 @@ webhooks: type: string enum: - metadata_created - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -266943,11 +267167,11 @@ webhooks: type: string enum: - metadata_removed - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267024,11 +267248,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267106,11 +267330,11 @@ webhooks: type: string enum: - reopened - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267188,11 +267412,11 @@ webhooks: type: string enum: - resolved - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267270,12 +267494,12 @@ webhooks: type: string enum: - unassigned - alert: *964 + alert: *968 assignee: *4 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267353,11 +267577,11 @@ webhooks: type: string enum: - validated - alert: *964 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + alert: *968 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -267487,10 +267711,10 @@ webhooks: - organization - enterprise - - repository: *904 - enterprise: *901 - installation: *902 - organization: *903 + repository: *908 + enterprise: *905 + installation: *906 + organization: *907 sender: *4 required: - action @@ -267568,11 +267792,11 @@ webhooks: type: string enum: - published - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - security_advisory: &966 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + security_advisory: &970 description: The details of the security advisory, including summary, description, and severity. type: object @@ -267776,11 +268000,11 @@ webhooks: type: string enum: - updated - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 - security_advisory: *966 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 + security_advisory: *970 sender: *4 required: - action @@ -267853,10 +268077,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -268050,11 +268274,11 @@ webhooks: from: type: object properties: - security_and_analysis: *432 - enterprise: *901 - installation: *902 - organization: *903 - repository: *493 + security_and_analysis: *434 + enterprise: *905 + installation: *906 + organization: *907 + repository: *495 sender: *4 required: - changes @@ -268132,12 +268356,12 @@ webhooks: type: string enum: - cancelled - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: &967 + sponsorship: &971 type: object properties: created_at: @@ -268442,12 +268666,12 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - sponsorship @@ -268535,12 +268759,12 @@ webhooks: type: string required: - from - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - changes @@ -268617,17 +268841,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &968 + effective_date: &972 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - sponsorship @@ -268701,7 +268925,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &969 + changes: &973 type: object properties: tier: @@ -268745,13 +268969,13 @@ webhooks: - from required: - tier - effective_date: *968 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + effective_date: *972 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - changes @@ -268828,13 +269052,13 @@ webhooks: type: string enum: - tier_changed - changes: *969 - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + changes: *973 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - sponsorship: *967 + sponsorship: *971 required: - action - changes @@ -268908,10 +269132,10 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -268995,10 +269219,10 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -269432,15 +269656,15 @@ webhooks: type: - string - 'null' - enterprise: *901 + enterprise: *905 id: description: The unique identifier of the status. type: integer - installation: *902 + installation: *906 name: type: string - organization: *903 - repository: *904 + organization: *907 + repository: *908 sender: *4 sha: description: The Commit SHA. @@ -269556,9 +269780,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -269647,9 +269871,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -269738,9 +269962,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -269829,9 +270053,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *902 - organization: *903 - repository: *904 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -269907,12 +270131,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 - team: &970 + team: &974 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -270142,9 +270366,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -270614,7 +270838,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -270690,9 +270914,9 @@ webhooks: type: string enum: - created - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -271162,7 +271386,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -271239,9 +271463,9 @@ webhooks: type: string enum: - deleted - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -271711,7 +271935,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -271855,9 +272079,9 @@ webhooks: - from required: - permissions - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -272327,7 +272551,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - changes @@ -272405,9 +272629,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *901 - installation: *902 - organization: *903 + enterprise: *905 + installation: *906 + organization: *907 repository: title: Repository description: A git repository @@ -272877,7 +273101,7 @@ webhooks: - topics - visibility sender: *4 - team: *970 + team: *974 required: - action - team @@ -272953,10 +273177,10 @@ webhooks: type: string enum: - started - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 required: - action @@ -273029,17 +273253,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *901 + enterprise: *905 inputs: type: - object - 'null' additionalProperties: true - installation: *902 - organization: *903 + installation: *906 + organization: *907 ref: type: string - repository: *904 + repository: *908 sender: *4 workflow: type: string @@ -273121,10 +273345,10 @@ webhooks: type: string enum: - completed - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: allOf: @@ -273380,7 +273604,7 @@ webhooks: type: string required: - conclusion - deployment: *631 + deployment: *635 required: - action - repository @@ -273459,10 +273683,10 @@ webhooks: type: string enum: - in_progress - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: allOf: @@ -273744,7 +273968,7 @@ webhooks: required: - status - steps - deployment: *631 + deployment: *635 required: - action - repository @@ -273823,10 +274047,10 @@ webhooks: type: string enum: - queued - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: type: object @@ -273972,7 +274196,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *631 + deployment: *635 required: - action - repository @@ -274051,10 +274275,10 @@ webhooks: type: string enum: - waiting - enterprise: *901 - installation: *902 - organization: *903 - repository: *904 + enterprise: *905 + installation: *906 + organization: *907 + repository: *908 sender: *4 workflow_job: {"code":"deadline_exceeded","msg":"operation timed out"}