diff --git a/assets/images/banner-images/hero-2.png b/assets/images/banner-images/hero-2.png deleted file mode 100644 index 0d02dfd6c078..000000000000 Binary files a/assets/images/banner-images/hero-2.png and /dev/null differ diff --git a/assets/images/banner-images/hero-3.png b/assets/images/banner-images/hero-3.png deleted file mode 100644 index 7de28041c963..000000000000 Binary files a/assets/images/banner-images/hero-3.png and /dev/null differ diff --git a/assets/images/banner-images/hero-4.png b/assets/images/banner-images/hero-4.png deleted file mode 100644 index 8d2bcb1ebaf6..000000000000 Binary files a/assets/images/banner-images/hero-4.png and /dev/null differ diff --git a/assets/images/banner-images/hero-5.png b/assets/images/banner-images/hero-5.png deleted file mode 100644 index ef06249436e7..000000000000 Binary files a/assets/images/banner-images/hero-5.png and /dev/null differ diff --git a/assets/images/banner-images/hero-6.png b/assets/images/banner-images/hero-6.png deleted file mode 100644 index 3f68a2ebdf33..000000000000 Binary files a/assets/images/banner-images/hero-6.png and /dev/null differ diff --git a/assets/images/help/copilot/chat-show-skill.png b/assets/images/help/copilot/chat-show-skill.png deleted file mode 100644 index 8a5a88746407..000000000000 Binary files a/assets/images/help/copilot/chat-show-skill.png and /dev/null differ diff --git a/content/copilot/concepts/completions/code-suggestions.md b/content/copilot/concepts/completions/code-suggestions.md index 329006688391..09a0101db2c4 100644 --- a/content/copilot/concepts/completions/code-suggestions.md +++ b/content/copilot/concepts/completions/code-suggestions.md @@ -89,7 +89,7 @@ contentType: concepts ## About the AI model used for {% data variables.product.prodname_copilot_short %} code completion -{% data variables.product.prodname_copilot_short %} code completion uses the {% data variables.copilot.copilot_gpt_4o %} {% data variables.product.prodname_copilot_short %} model. The {% data variables.copilot.copilot_gpt_4o %} {% data variables.product.prodname_copilot_short %} model was trained on a wide range of high quality public {% data variables.product.github %} repositories, providing coverage of over 30 programming languages. See [Programming languages included in the default model](#programming-languages-included-in-the-default-model) below. +{% data variables.product.prodname_copilot_short %} code completion uses the {% data variables.copilot.copilot_gpt_41 %} {% data variables.product.prodname_copilot_short %} model. The {% data variables.copilot.copilot_gpt_41 %} {% data variables.product.prodname_copilot_short %} model was trained on a wide range of high quality public {% data variables.product.github %} repositories, providing coverage of over 30 programming languages. See [Programming languages included in the default model](#programming-languages-included-in-the-default-model) below. {% vscode %} diff --git a/data/features/codeql-no-build.yml b/data/features/codeql-no-build.yml deleted file mode 100644 index 890d9b7f2b69..000000000000 --- a/data/features/codeql-no-build.yml +++ /dev/null @@ -1,7 +0,0 @@ -# Reference: #12924 (Java beta) -# Reference: #14184 (Java GA) - -versions: - fpt: '*' - ghec: '*' - ghes: '>=3.14' diff --git a/data/features/secret-scanning-alert-plaid-filters.yml b/data/features/secret-scanning-alert-plaid-filters.yml deleted file mode 100644 index 9ebcbf5d63ce..000000000000 --- a/data/features/secret-scanning-alert-plaid-filters.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Documentation for secret scanning public leak and additional detection filters (PLAID) -versions: - fpt: '*' - ghec: '*' - ghes: '>=3.17' diff --git a/data/reusables/code-scanning/specify-language-to-analyze.md b/data/reusables/code-scanning/specify-language-to-analyze.md deleted file mode 100644 index 00904806ec99..000000000000 --- a/data/reusables/code-scanning/specify-language-to-analyze.md +++ /dev/null @@ -1 +0,0 @@ -If your repository contains code in more than one of the supported languages, you can choose which languages you want to analyze. There are several reasons you might want to prevent a language being analyzed. For example, the project might have dependencies in a different language to the main body of your code, and you might prefer not to see alerts for those dependencies. diff --git a/data/reusables/copilot/code-review/custom-coding-guidelines-prerequisites.md b/data/reusables/copilot/code-review/custom-coding-guidelines-prerequisites.md deleted file mode 100644 index 53034f2a992f..000000000000 --- a/data/reusables/copilot/code-review/custom-coding-guidelines-prerequisites.md +++ /dev/null @@ -1,3 +0,0 @@ -> [!NOTE] The custom coding guidelines feature is only available with the {% data variables.copilot.copilot_enterprise_short %} plan, and is currently limited to selected customers. -> -> This feature will be deprecated in favor of using {% data variables.product.prodname_copilot_short %} custom instructions to customize {% data variables.copilot.copilot_code-review_short %}. diff --git a/data/reusables/pull_requests/pull_request_merges_and_contributions.md b/data/reusables/pull_requests/pull_request_merges_and_contributions.md deleted file mode 100644 index 585ed325e701..000000000000 --- a/data/reusables/pull_requests/pull_request_merges_and_contributions.md +++ /dev/null @@ -1,4 +0,0 @@ -> [!NOTE] {% ifversion ghes %} -> * To appear on your profile contributions graph, co-authored commits must meet the same criteria as commits with one author. {% endif %} -> * When rebasing commits, the original authors of the commit and the person who rebased the commits, whether on the command line or on {% data variables.location.product_location %}, receive contribution credit.{% ifversion ghec or fpt %} -> * If you merged multiple personal accounts, issues, pull requests, and discussions will not be attributed to the new account and will not appear on your contribution graph.{% endif %} diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 2e64a5190072..9e47b96df96c 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "b31dcc1c69b88654b6fa48764c837c0a6ccd0d28" + "sha": "b27d92b4094f9c4c6c60680325830982f04e5449" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index bc7302dd7271..9c77ca94594b 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -116893,7 +116893,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -120183,7 +120186,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -123579,7 +123585,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -232075,7 +232084,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -237870,7 +237882,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -239006,7 +239021,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -239723,7 +239741,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -240472,7 +240493,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -240585,7 +240609,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -497909,7 +497936,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -498130,7 +498160,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index dbfb3e3eced8..7cbe6e7bd0c3 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -127159,7 +127159,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -130449,7 +130452,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -133845,7 +133851,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -245587,7 +245596,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -251382,7 +251394,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -252518,7 +252533,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -253235,7 +253253,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -253984,7 +254005,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -254097,7 +254121,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -543529,7 +543556,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -543750,7 +543780,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] diff --git a/src/rest/data/ghes-3.14-2022-11-28/schema.json b/src/rest/data/ghes-3.14-2022-11-28/schema.json index 3e68c49b15b7..df16f6128079 100644 --- a/src/rest/data/ghes-3.14-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.14-2022-11-28/schema.json @@ -113443,7 +113443,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -116711,7 +116714,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -120085,7 +120091,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -167972,7 +167981,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -173757,7 +173769,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -174879,7 +174894,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -175589,7 +175607,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -176331,7 +176352,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -176444,7 +176468,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -406790,7 +406817,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -407011,7 +407041,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] diff --git a/src/rest/data/ghes-3.15-2022-11-28/schema.json b/src/rest/data/ghes-3.15-2022-11-28/schema.json index 83e25f69c9ec..0083f7ece70e 100644 --- a/src/rest/data/ghes-3.15-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.15-2022-11-28/schema.json @@ -553,13 +553,13 @@ } ], "previews": [], - "descriptionHTML": "

Deletes an artifact for a workflow run.\nOAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Deletes an artifact for a workflow run.\nOAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -5461,13 +5461,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal and private repositories.\nFor more information, see \"Allowing access to components in a private repository\" and\n\"Allowing access to components in an internal repository.\"

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal and private repositories.\nFor more information, see \"Allowing access to components in a private repository\" and\n\"Allowing access to components in an internal repository.\"

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -6174,13 +6174,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.

\n

The authenticated user must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.

\n

The authenticated user must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -9433,13 +9433,13 @@ } ], "previews": [], - "descriptionHTML": "

Creates a new self-hosted runner group for an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ] + ], + "descriptionHTML": "

Creates a new self-hosted runner group for an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -9563,13 +9563,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets a specific self-hosted runner group for an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Gets a specific self-hosted runner group for an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -10008,13 +10008,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the organizations with access to a self-hosted runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Lists the organizations with access to a self-hosted runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -10083,13 +10083,13 @@ } ], "previews": [], - "descriptionHTML": "

Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Replaces the list of organizations that have access to a self-hosted runner configured in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -10677,13 +10677,13 @@ } ], "previews": [], - "descriptionHTML": "

Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -16427,7 +16427,6 @@ } ], "previews": [], - "descriptionHTML": "

Lists all labels for a self-hosted runner configured in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -16437,7 +16436,8 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ] + ], + "descriptionHTML": "

Lists all labels for a self-hosted runner configured in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -20966,13 +20966,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists all self-hosted runners configured in a repository.

\n

Authenticated users must have admin access to the repository to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Lists all self-hosted runners configured in a repository.

\n

Authenticated users must have admin access to the repository to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -38534,13 +38534,13 @@ } ], "previews": [], - "descriptionHTML": "

Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see \"Using environments for deployment.\"

\n

Note

\n

\nGitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments.

\n
\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see \"Using environments for deployment.\"

\n

Note

\n

\nGitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments.

\n
\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -98300,7 +98300,6 @@ } ], "previews": [], - "descriptionHTML": "

Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.

\n

You must use a JWT to access this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", @@ -98310,7 +98309,8 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ] + ], + "descriptionHTML": "

Suspends a GitHub App on a user, organization, or enterprise account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub Enterprise Server API or webhook events is blocked for that account.

\n

You must use a JWT to access this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -109851,13 +109851,13 @@ } ], "previews": [], - "descriptionHTML": "

Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"Creating a GitHub App.\"

\n

You must use a JWT to access this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Updates the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see \"Creating a GitHub App.\"

\n

You must use a JWT to access this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -113883,7 +113883,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -117163,7 +117166,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -120549,7 +120555,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -126186,13 +126195,13 @@ } ], "previews": [], - "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -132056,13 +132065,13 @@ } ], "previews": [], - "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

\n

Disables the ability to restrict who can push to this branch.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

\n

Disables the ability to restrict who can push to this branch.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -172135,7 +172144,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -177920,7 +177932,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -179042,7 +179057,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -179752,7 +179770,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -180494,7 +180515,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -180607,7 +180631,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -193345,13 +193372,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists all repositories that have been selected when the visibility\nfor repository access to a secret is set to selected.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Lists all repositories that have been selected when the visibility\nfor repository access to a secret is set to selected.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -209714,13 +209741,13 @@ } ], "previews": [], - "descriptionHTML": "

Parameters that are not provided will be overwritten with the default value or removed if no default exists.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Parameters that are not provided will be overwritten with the default value or removed if no default exists.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -210527,13 +210554,13 @@ } ], "previews": [], - "descriptionHTML": "

Note that this API call does not automatically initiate an LDAP sync. Rather, if a 201 is returned, the sync job is queued successfully, and is performed when the instance is ready.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ] + ], + "descriptionHTML": "

Note that this API call does not automatically initiate an LDAP sync. Rather, if a 201 is returned, the sync job is queued successfully, and is performed when the instance is ready.

" } ], "license": [ @@ -214196,13 +214223,13 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ] + ], + "descriptionHTML": "" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -214888,13 +214915,13 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -215099,13 +215126,13 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ] + ], + "descriptionHTML": "" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -225123,7 +225150,6 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", @@ -225133,7 +225159,8 @@ "httpStatusCode": "201", "description": "

Response when creating a new impersonation OAuth token

" } - ] + ], + "descriptionHTML": "" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -242858,7 +242885,6 @@ } ], "previews": [], - "descriptionHTML": "

Get the content of a gitignore template.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -242868,7 +242894,8 @@ "httpStatusCode": "304", "description": "

Not modified

" } - ] + ], + "descriptionHTML": "

Get the content of a gitignore template.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n" } ] }, @@ -246223,7 +246250,6 @@ } ], "previews": [], - "descriptionHTML": "

List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the filter query parameter to fetch issues that are not\nnecessarily assigned to you.

\n

Note

\n

\nGitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

\n
\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -246241,7 +246267,8 @@ "httpStatusCode": "422", "description": "

Validation failed, or the endpoint has been spammed.

" } - ] + ], + "descriptionHTML": "

List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the filter query parameter to fetch issues that are not\nnecessarily assigned to you.

\n

Note

\n

\nGitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

\n
\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -269567,13 +269594,13 @@ } ], "previews": [], - "descriptionHTML": "

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ] + ], + "descriptionHTML": "

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -298472,7 +298499,6 @@ } ], "previews": [], - "descriptionHTML": "

Lists all events for an issue.

", "statusCodes": [ { "httpStatusCode": "200", @@ -298482,7 +298508,8 @@ "httpStatusCode": "410", "description": "

Gone

" } - ] + ], + "descriptionHTML": "

Lists all events for an issue.

" } ], "labels": [ @@ -301709,7 +301736,6 @@ } ], "previews": [], - "descriptionHTML": "

Gets a milestone using the given milestone number.

", "statusCodes": [ { "httpStatusCode": "200", @@ -301719,7 +301745,8 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ] + ], + "descriptionHTML": "

Gets a milestone using the given milestone number.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -320568,13 +320595,13 @@ } ], "previews": [], - "descriptionHTML": "

Get Hypermedia links to resources accessible in GitHub's REST API

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Get Hypermedia links to resources accessible in GitHub's REST API

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -345777,13 +345804,13 @@ } ], "previews": [], - "descriptionHTML": "

Warning

\n

\nClosing down notice: This operation is closing down and will be removed in the future. Use the \"List custom repository roles\" endpoint instead.

\n
\n

List the custom repository roles available in this organization. For more information on custom repository roles, see \"About custom repository roles.\"

\n

The authenticated user must be administrator of the organization or of a repository of the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org or repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

Response - list of custom role names

" } - ] + ], + "descriptionHTML": "

Warning

\n

\nClosing down notice: This operation is closing down and will be removed in the future. Use the \"List custom repository roles\" endpoint instead.

\n
\n

List the custom repository roles available in this organization. For more information on custom repository roles, see \"About custom repository roles.\"

\n

The authenticated user must be administrator of the organization or of a repository of the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org or repo scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -350258,7 +350285,6 @@ } ], "previews": [], - "descriptionHTML": "

If the authenticated user is an active or pending member of the organization, this endpoint will return the user's membership. If the authenticated user is not affiliated with the organization, a 404 is returned. This endpoint will return a 403 if the request is made by a GitHub App that is blocked by the organization.

", "statusCodes": [ { "httpStatusCode": "200", @@ -350272,7 +350298,8 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ] + ], + "descriptionHTML": "

If the authenticated user is an active or pending member of the organization, this endpoint will return the user's membership. If the authenticated user is not affiliated with the organization, a 404 is returned. This endpoint will return a 403 if the request is made by a GitHub App that is blocked by the organization.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -356419,7 +356446,6 @@ } ], "previews": [], - "descriptionHTML": "

Updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.

\n

Only GitHub Apps can use this endpoint.

", "statusCodes": [ { "httpStatusCode": "202", @@ -356441,7 +356467,8 @@ "httpStatusCode": "500", "description": "

Internal Error

" } - ] + ], + "descriptionHTML": "

Updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.

\n

Only GitHub Apps can use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -365302,13 +365329,13 @@ } ], "previews": [], - "descriptionHTML": "

Adds a team as a security manager for an organization. For more information, see \"Managing security for an organization for an organization.\"

\n

The authenticated user must be an administrator for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Adds a team as a security manager for an organization. For more information, see \"Managing security for an organization for an organization.\"

\n

The authenticated user must be an administrator for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -374402,7 +374429,6 @@ } ], "previews": [], - "descriptionHTML": "

Lists packages owned by the authenticated user within the user's namespace.

\n

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint. For more information, see \"About permissions for GitHub Packages.\"

", "statusCodes": [ { "httpStatusCode": "200", @@ -374412,7 +374438,8 @@ "httpStatusCode": "400", "description": "

The value of per_page multiplied by page cannot be greater than 10000.

" } - ] + ], + "descriptionHTML": "

Lists packages owned by the authenticated user within the user's namespace.

\n

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint. For more information, see \"About permissions for GitHub Packages.\"

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -410592,7 +410619,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -410813,7 +410843,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -410995,7 +411028,6 @@ } ], "previews": [], - "descriptionHTML": "

Checks if a pull request has been merged into the base branch. The HTTP status of the response indicates whether or not the pull request has been merged; the response body is empty.

", "statusCodes": [ { "httpStatusCode": "204", @@ -411005,7 +411037,8 @@ "httpStatusCode": "404", "description": "

Not Found if pull request has not been merged

" } - ] + ], + "descriptionHTML": "

Checks if a pull request has been merged into the base branch. The HTTP status of the response indicates whether or not the pull request has been merged; the response body is empty.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -435584,7 +435617,6 @@ } ], "previews": [], - "descriptionHTML": "

List the reactions to a pull request review comment.

", "statusCodes": [ { "httpStatusCode": "200", @@ -435594,7 +435626,8 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ] + ], + "descriptionHTML": "

List the reactions to a pull request review comment.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -437373,13 +437406,13 @@ } ], "previews": [], - "descriptionHTML": "

Note

\n

\nYou can also specify a repository by repository_id using the route DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id.

\n
\n

Delete a reaction to a release.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Note

\n

\nYou can also specify a repository by repository_id using the route DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id.

\n
\n

Delete a reaction to a release.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -462338,13 +462371,13 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -468917,13 +468950,13 @@ } } ], - "descriptionHTML": "

Creates a new repository using a repository template. Use the template_owner and template_repo route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the Get a repository endpoint and check that the is_template key is true.

\n

OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } ], + "descriptionHTML": "

Creates a new repository using a repository template. Use the template_owner and template_repo route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the Get a repository endpoint and check that the is_template key is true.

\n

OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.

", "previews": [ "

Creating and using repository templates is currently available for developers to preview. To access this new endpoint during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json\n
" ] @@ -487755,7 +487788,6 @@ } ], "previews": [], - "descriptionHTML": "

Lists suites of rule evaluations at the repository level.\nFor more information, see \"Managing rulesets for a repository.\"

", "statusCodes": [ { "httpStatusCode": "200", @@ -487769,7 +487801,8 @@ "httpStatusCode": "500", "description": "

Internal Error

" } - ] + ], + "descriptionHTML": "

Lists suites of rule evaluations at the repository level.\nFor more information, see \"Managing rulesets for a repository.\"

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -497679,7 +497712,6 @@ } ], "previews": [], - "descriptionHTML": "

Updates a webhook configured in a repository. If you previously had a secret set, you must provide the same secret or set a new secret or the secret will be removed. If you are only updating individual webhook config properties, use \"Update a webhook configuration for a repository.\"

", "statusCodes": [ { "httpStatusCode": "200", @@ -497693,7 +497725,8 @@ "httpStatusCode": "422", "description": "

Validation failed, or the endpoint has been spammed.

" } - ] + ], + "descriptionHTML": "

Updates a webhook configured in a repository. If you previously had a secret set, you must provide the same secret or set a new secret or the secret will be removed. If you are only updating individual webhook config properties, use \"Update a webhook configuration for a repository.\"

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -523924,7 +523957,6 @@ } ], "previews": [], - "descriptionHTML": "

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
", "statusCodes": [ { "httpStatusCode": "204", @@ -523938,7 +523970,8 @@ "httpStatusCode": "422", "description": "

Validation failed, or the endpoint has been spammed.

" } - ] + ], + "descriptionHTML": "

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -533717,13 +533750,13 @@ } ], "previews": [], - "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new List discussions endpoint.

\n
\n

List all discussions on a team's page.

\n

OAuth app tokens and personal access tokens (classic) need the read:discussion scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new List discussions endpoint.

\n
\n

List all discussions on a team's page.

\n

OAuth app tokens and personal access tokens (classic) need the read:discussion scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -535994,13 +536027,13 @@ } ], "previews": [], - "descriptionHTML": "

Creates a connection between a team and an external group. Only one external group can be linked to a team.

\n

You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"GitHub's products\" in the GitHub Help documentation.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Creates a connection between a team and an external group. Only one external group can be linked to a team.

\n

You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"GitHub's products\" in the GitHub Help documentation.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -536970,7 +537003,6 @@ } ], "previews": [], - "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new List team members endpoint.

\n
\n

Team members will include the members of child teams.

", "statusCodes": [ { "httpStatusCode": "200", @@ -536980,7 +537012,8 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ] + ], + "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new List team members endpoint.

\n
\n

Team members will include the members of child teams.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -537038,7 +537071,6 @@ } ], "previews": [], - "descriptionHTML": "

The \"Get team member\" endpoint (described below) is closing down.

\n

We recommend using the Get team membership for a user endpoint instead. It allows you to get both active and pending memberships.

\n

To list members in a team, the team must be visible to the authenticated user.

", "statusCodes": [ { "httpStatusCode": "204", @@ -537048,7 +537080,8 @@ "httpStatusCode": "404", "description": "

if user is not a member

" } - ] + ], + "descriptionHTML": "

The \"Get team member\" endpoint (described below) is closing down.

\n

We recommend using the Get team membership for a user endpoint instead. It allows you to get both active and pending memberships.

\n

To list members in a team, the team must be visible to the authenticated user.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", diff --git a/src/rest/data/ghes-3.16-2022-11-28/schema.json b/src/rest/data/ghes-3.16-2022-11-28/schema.json index 7767dd7d64f2..cb708d1062ae 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.16-2022-11-28/schema.json @@ -113981,7 +113981,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -117261,7 +117264,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -120647,7 +120653,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -175785,7 +175794,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -181570,7 +181582,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -182692,7 +182707,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -183402,7 +183420,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -184144,7 +184165,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -184257,7 +184281,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -416585,7 +416612,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -416806,7 +416836,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] diff --git a/src/rest/data/ghes-3.17-2022-11-28/schema.json b/src/rest/data/ghes-3.17-2022-11-28/schema.json index 53185dcbcc0b..42a12088cb40 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.17-2022-11-28/schema.json @@ -1846,13 +1846,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists the GitHub Actions caches for a repository.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists the GitHub Actions caches for a repository.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -5032,13 +5032,13 @@ } ], "previews": [], + "descriptionHTML": "

Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

If the organization belongs to an enterprise that has selected actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.

\n

To use the patterns_allowed setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the patterns_allowed setting only applies to public repositories in the organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

If the organization belongs to an enterprise that has selected actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.

\n

To use the patterns_allowed setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the patterns_allowed setting only applies to public repositories in the organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -8451,13 +8451,13 @@ } ], "previews": [], + "descriptionHTML": "

Deletes a secret in a repository using the secret name.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Deletes a secret in a repository using the secret name.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -10020,13 +10020,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists the organizations with access to a self-hosted runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists the organizations with access to a self-hosted runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -10235,13 +10235,13 @@ } ], "previews": [], + "descriptionHTML": "

Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -10689,13 +10689,13 @@ } ], "previews": [], + "descriptionHTML": "

Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -12747,13 +12747,13 @@ } ], "previews": [], + "descriptionHTML": "

Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -12897,13 +12897,13 @@ } ], "previews": [], + "descriptionHTML": "

Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -27606,13 +27606,13 @@ } ], "previews": [], + "descriptionHTML": "

Updates an environment variable that you can reference in a GitHub Actions workflow.

\n

Authenticated users must have collaborator access to a repository to create, update, or read variables.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Updates an environment variable that you can reference in a GitHub Actions workflow.

\n

Authenticated users must have collaborator access to a repository to create, update, or read variables.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -40375,13 +40375,13 @@ } ], "previews": [], + "descriptionHTML": "

Approve or reject pending deployments that are waiting on approval by a required reviewer.

\n

Required reviewers with read access to the repository contents and deployments can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Approve or reject pending deployments that are waiting on approval by a required reviewer.

\n

Required reviewers with read access to the repository contents and deployments can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -82407,13 +82407,13 @@ } ], "previews": [], + "descriptionHTML": "

Marks a thread as \"done.\" Marking a thread as \"done\" is equivalent to marking a notification in your notification inbox on GitHub Enterprise Server as done: https://github.com/notifications.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No content

" } - ], - "descriptionHTML": "

Marks a thread as \"done.\" Marking a thread as \"done\" is equivalent to marking a notification in your notification inbox on GitHub Enterprise Server as done: https://github.com/notifications.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -90123,13 +90123,13 @@ } ], "previews": [], + "descriptionHTML": "

This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, set the repository's subscription manually.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, set the repository's subscription manually.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -114196,7 +114196,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -117486,7 +117489,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -120882,7 +120888,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -126623,13 +126632,13 @@ } ], "previews": [], + "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

\n

Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

\n

Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -176496,7 +176505,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -182291,7 +182303,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -183427,7 +183442,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -184144,7 +184162,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -184893,7 +184914,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -185006,7 +185030,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -205280,13 +205307,13 @@ } ], "previews": [], + "descriptionHTML": "

Note

\n

\nTo get information about name patterns that branches must match in order to deploy to this environment, see \"Get a deployment branch policy.\"

\n
\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Note

\n

\nTo get information about name patterns that branches must match in order to deploy to this environment, see \"Get a deployment branch policy.\"

\n
\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -206575,13 +206602,13 @@ } ], "previews": [], + "descriptionHTML": "

Enable a custom deployment protection rule for an environment.

\n

The authenticated user must have admin or owner permissions to the repository to use this endpoint.

\n

For more information about the app that is providing this custom deployment rule, see the documentation for the GET /apps/{app_slug} endpoint, as well as the guide to creating custom deployment protection rules.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

The enabled custom deployment protection rule

" } - ], - "descriptionHTML": "

Enable a custom deployment protection rule for an environment.

\n

The authenticated user must have admin or owner permissions to the repository to use this endpoint.

\n

For more information about the app that is providing this custom deployment rule, see the documentation for the GET /apps/{app_slug} endpoint, as well as the guide to creating custom deployment protection rules.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -215424,13 +215451,13 @@ } ], "previews": [], + "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ], - "descriptionHTML": "" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -216012,13 +216039,13 @@ } ], "previews": [], + "descriptionHTML": "

Note that this API call does not automatically initiate an LDAP sync. Rather, if a 201 is returned, the sync job is queued successfully, and is performed when the instance is ready.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ], - "descriptionHTML": "

Note that this API call does not automatically initiate an LDAP sync. Rather, if a 201 is returned, the sync job is queued successfully, and is performed when the instance is ready.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -231186,6 +231213,7 @@ } ], "previews": [], + "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", @@ -231195,8 +231223,7 @@ "httpStatusCode": "201", "description": "

Response when creating a new impersonation OAuth token

" } - ], - "descriptionHTML": "" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -272192,6 +272219,7 @@ } ], "previews": [], + "descriptionHTML": "

List issues across owned and member repositories assigned to the authenticated user.

\n

Note

\n

\nGitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

\n
\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -272205,8 +272233,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

List issues across owned and member repositories assigned to the authenticated user.

\n

Note

\n

\nGitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by the pull_request key. Be aware that the id of a pull request returned from \"Issues\" endpoints will be an issue id. To find out the pull request id, use the \"List pull requests\" endpoint.

\n
\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n" + ] } ], "assignees": [ @@ -305698,6 +305725,7 @@ } ], "previews": [], + "descriptionHTML": "

Lists all labels for a repository.

", "statusCodes": [ { "httpStatusCode": "200", @@ -305707,8 +305735,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Lists all labels for a repository.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -326986,13 +327013,13 @@ } ], "previews": [], + "descriptionHTML": "

Get the octocat as ASCII art

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Get the octocat as ASCII art

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -332564,6 +332591,7 @@ } ], "previews": [], + "descriptionHTML": "

Unlocks a repository that was locked for migration. You should unlock each migrated repository and delete them when the migration is complete and you no longer need the source data.

", "statusCodes": [ { "httpStatusCode": "204", @@ -332573,8 +332601,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Unlocks a repository that was locked for migration. You should unlock each migrated repository and delete them when the migration is complete and you no longer need the source data.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -352515,13 +352542,13 @@ } ], "previews": [], + "descriptionHTML": "

Warning

\n

\nClosing down notice: This operation is closing down and will be removed in the future. Use the \"List custom repository roles\" endpoint instead.

\n
\n

List the custom repository roles available in this organization. For more information on custom repository roles, see \"About custom repository roles.\"

\n

The authenticated user must be administrator of the organization or of a repository of the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org or repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

Response - list of custom role names

" } - ], - "descriptionHTML": "

Warning

\n

\nClosing down notice: This operation is closing down and will be removed in the future. Use the \"List custom repository roles\" endpoint instead.

\n
\n

List the custom repository roles available in this organization. For more information on custom repository roles, see \"About custom repository roles.\"

\n

The authenticated user must be administrator of the organization or of a repository of the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org or repo scope to use this endpoint.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -387962,13 +387989,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a specific package metadata for a public package owned by a user.

\n

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint. For more information, see \"About permissions for GitHub Packages.\"

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a specific package metadata for a public package owned by a user.

\n

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint. For more information, see \"About permissions for GitHub Packages.\"

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -417217,7 +417244,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -417438,7 +417468,10 @@ "type": "object", "properties": { "sha": { - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "bbcd538c8e72b8c175046e27cc8f907076331401" ] @@ -451179,13 +451212,13 @@ } ], "previews": [], + "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -451569,13 +451602,13 @@ } ], "previews": [], + "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "" + ] }, { "serverUrl": "https://HOSTNAME/api/uploads", @@ -488966,13 +488999,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a redirect URL to download a zip archive for a repository. If you omit :ref, the repository’s default branch (usually\nmain) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe Location header to make a second GET request.

\n

Note

\n

\nFor private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.

\n
", "statusCodes": [ { "httpStatusCode": "302", "description": "

Found

" } - ], - "descriptionHTML": "

Gets a redirect URL to download a zip archive for a repository. If you omit :ref, the repository’s default branch (usually\nmain) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe Location header to make a second GET request.

\n

Note

\n

\nFor private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect.

\n
" + ] } ], "custom-properties": [ @@ -547055,13 +547088,13 @@ } ], "previews": [], + "descriptionHTML": "

Displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.

\n

You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"GitHub's products\" in the GitHub Help documentation.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.

\n

You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"GitHub's products\" in the GitHub Help documentation.

" + ] }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -549070,6 +549103,7 @@ } ], "previews": [], + "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new Remove team membership for a user endpoint.

\n
\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.

\n

Note

\n

\nWhen you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n
", "statusCodes": [ { "httpStatusCode": "204", @@ -549079,8 +549113,7 @@ "httpStatusCode": "403", "description": "

if team synchronization is set up

" } - ], - "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new Remove team membership for a user endpoint.

\n
\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.

\n

Note

\n

\nWhen you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Server team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Server.\"

\n
" + ] } ] }, diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 547fb193118e..a22019a0cf37 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -44,5 +44,5 @@ ] } }, - "sha": "b31dcc1c69b88654b6fa48764c837c0a6ccd0d28" + "sha": "b27d92b4094f9c4c6c60680325830982f04e5449" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 4f40e794f333..4a5b40b539ea 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "b31dcc1c69b88654b6fa48764c837c0a6ccd0d28" + "sha": "b27d92b4094f9c4c6c60680325830982f04e5449" } \ No newline at end of file