From 2d71b90ac59cd5e6fc2252bc75509f2b5f1236f2 Mon Sep 17 00:00:00 2001 From: github-openapi-bot Date: Mon, 6 Dec 2021 15:20:39 -0800 Subject: [PATCH 1/3] Update OpenAPI Descriptions --- .../dereferenced/api.github.com.deref.json | 16 ++ .../static/dereferenced/ghes-3.0.deref.json | 170 ------------------ .../static/dereferenced/ghes-3.1.deref.json | 170 ------------------ .../static/dereferenced/ghes-3.2.deref.json | 165 ----------------- .../static/dereferenced/ghes-3.3.deref.json | 3 - .../static/dereferenced/github.ae.deref.json | 2 - 6 files changed, 16 insertions(+), 510 deletions(-) diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index b930ee3b7e..b6b469792c 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -187006,6 +187006,10 @@ "working_directory": { "description": "Working directory for this codespace", "type": "string" + }, + "idle_timeout_minutes": { + "description": "Time in minutes before codespace stops from inactivity", + "type": "integer" } } }, @@ -320559,6 +320563,10 @@ "working_directory": { "description": "Working directory for this codespace", "type": "string" + }, + "idle_timeout_minutes": { + "description": "Time in minutes before codespace stops from inactivity", + "type": "integer" } } }, @@ -390115,6 +390123,10 @@ "working_directory": { "description": "Working directory for this codespace", "type": "string" + }, + "idle_timeout_minutes": { + "description": "Time in minutes before codespace stops from inactivity", + "type": "integer" } } }, @@ -390154,6 +390166,10 @@ "working_directory": { "description": "Working directory for this codespace", "type": "string" + }, + "idle_timeout_minutes": { + "description": "Time in minutes before codespace stops from inactivity", + "type": "integer" } } } diff --git a/lib/rest/static/dereferenced/ghes-3.0.deref.json b/lib/rest/static/dereferenced/ghes-3.0.deref.json index 97747852bd..3ccfa49beb 100644 --- a/lib/rest/static/dereferenced/ghes-3.0.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.0.deref.json @@ -514,7 +514,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -693,7 +692,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -837,7 +835,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1018,7 +1015,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1068,7 +1064,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1120,7 +1115,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1466,7 +1460,6 @@ "subcategory": "ldap", "previews": [ { - "required": false, "name": "hellcat", "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" } @@ -2330,7 +2323,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2460,7 +2452,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2574,7 +2565,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2751,7 +2741,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2837,7 +2826,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2958,7 +2946,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3033,7 +3020,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3241,7 +3227,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3453,7 +3438,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3618,7 +3602,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3829,7 +3812,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3870,7 +3852,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -43623,7 +43604,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -46503,12 +46483,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -55343,7 +55321,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```" } @@ -55922,7 +55899,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```" } @@ -74944,12 +74920,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -76842,7 +76816,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -76928,7 +76901,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -77035,7 +77007,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -77119,7 +77090,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -77492,7 +77462,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -77948,7 +77917,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -80204,12 +80172,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -81679,12 +81645,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -84262,7 +84226,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -84675,7 +84638,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -85064,7 +85026,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -85474,7 +85435,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -85924,7 +85884,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -86300,7 +86259,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -86663,7 +86621,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -87046,7 +87003,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -87416,7 +87372,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -87907,7 +87862,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -87981,7 +87935,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -88285,7 +88238,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -88768,7 +88720,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -88834,7 +88785,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -89688,7 +89638,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -90004,7 +89953,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -90108,7 +90056,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -94832,7 +94779,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -95240,7 +95186,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -95360,7 +95305,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -95610,7 +95554,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -95808,7 +95751,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -95998,7 +95940,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -96094,7 +96035,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -96471,7 +96411,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -96975,7 +96914,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97134,7 +97072,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97486,7 +97423,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97935,7 +97871,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98079,7 +98014,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98464,7 +98398,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98688,7 +98621,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98886,7 +98818,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99251,7 +99182,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99453,7 +99383,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99668,7 +99597,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -100154,7 +100082,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -105362,12 +105289,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "scarlet-witch", "note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```" } @@ -110235,12 +110160,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -131778,7 +131701,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -132867,7 +132789,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -133644,7 +133565,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -134223,7 +134143,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -134418,7 +134337,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```" } @@ -134534,7 +134452,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```" } @@ -134618,7 +134535,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```" } @@ -160291,7 +160207,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -160665,7 +160580,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -161458,7 +161372,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -162032,7 +161945,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -162098,7 +162010,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -163134,7 +163045,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```" } @@ -163514,7 +163424,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -168282,7 +168191,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```" } @@ -177241,7 +177149,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "corsair", "note": "To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.corsair-preview+json\n```" } @@ -180017,7 +179924,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -180771,7 +180677,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -181375,12 +181280,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -182112,12 +182015,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -182828,12 +182729,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -183436,12 +183335,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -206495,12 +206392,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -210032,7 +209927,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -210648,12 +210542,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -211705,7 +211597,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -212257,7 +212148,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -212323,7 +212213,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -216145,7 +216034,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -219993,7 +219881,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -222607,7 +222494,6 @@ "category": "issues", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -231213,7 +231099,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -239740,7 +239625,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -241467,7 +241351,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -242019,7 +241902,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -242085,7 +241967,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -253750,12 +253631,10 @@ "subcategory": "timeline", "previews": [ { - "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" }, { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -260488,7 +260367,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```" } @@ -260890,7 +260768,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```" } @@ -261890,7 +261767,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -261980,7 +261856,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -262091,7 +261966,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -262179,7 +262053,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -262664,7 +262537,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -263128,7 +263000,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -271361,12 +271232,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -271907,12 +271776,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -272447,7 +272314,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -272853,7 +272719,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -273405,7 +273270,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -273471,7 +273335,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -280467,12 +280330,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -281173,7 +281034,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -295222,7 +295082,6 @@ "category": "pulls", "previews": [ { - "required": true, "name": "lydian", "note": "Updating the pull request branch with latest upstream changes is currently available for developers to preview. To access this new endpoint during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.lydian-preview+json\n```" } @@ -303619,7 +303478,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -303806,7 +303664,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -307148,7 +307005,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "baptiste", "note": "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](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -313332,7 +313188,6 @@ "category": "search", "previews": [ { - "required": true, "name": "cloak", "note": "The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2017-01-05-commit-search-api/) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.cloak-preview\n```" } @@ -317129,7 +316984,6 @@ "category": "search", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -317485,7 +317339,6 @@ "category": "search", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -321453,7 +321306,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -321860,7 +321712,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -322243,7 +322094,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -322647,7 +322497,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -323085,7 +322934,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -323455,7 +323303,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -323812,7 +323659,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -324189,7 +324035,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -324547,7 +324392,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -324833,7 +324677,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -325131,7 +324974,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -325409,7 +325251,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -326506,7 +326347,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -326816,7 +326656,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -327008,7 +326847,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -337966,7 +337804,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -340913,12 +340750,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions." } @@ -343684,7 +343519,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -346934,12 +346768,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -367661,7 +367493,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -375583,7 +375414,6 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" } diff --git a/lib/rest/static/dereferenced/ghes-3.1.deref.json b/lib/rest/static/dereferenced/ghes-3.1.deref.json index 97f9a1a23c..6e94621eda 100644 --- a/lib/rest/static/dereferenced/ghes-3.1.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.1.deref.json @@ -514,7 +514,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -693,7 +692,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -837,7 +835,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1018,7 +1015,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1068,7 +1064,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1120,7 +1115,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1466,7 +1460,6 @@ "subcategory": "ldap", "previews": [ { - "required": false, "name": "hellcat", "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" } @@ -2330,7 +2323,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2460,7 +2452,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2574,7 +2565,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2751,7 +2741,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2837,7 +2826,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2958,7 +2946,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3033,7 +3020,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3241,7 +3227,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3453,7 +3438,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3618,7 +3602,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3829,7 +3812,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3870,7 +3852,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -43648,7 +43629,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -46528,12 +46508,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -55368,7 +55346,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```" } @@ -55947,7 +55924,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```" } @@ -75259,12 +75235,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -77157,7 +77131,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -77243,7 +77216,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -77350,7 +77322,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -77434,7 +77405,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -77807,7 +77777,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -78263,7 +78232,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -80519,12 +80487,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -81994,12 +81960,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -84577,7 +84541,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -84990,7 +84953,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -85379,7 +85341,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -85789,7 +85750,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -86239,7 +86199,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -86615,7 +86574,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -86978,7 +86936,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -87361,7 +87318,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -87731,7 +87687,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -88222,7 +88177,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -88296,7 +88250,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -88600,7 +88553,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -89083,7 +89035,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -89149,7 +89100,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -90003,7 +89953,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -90319,7 +90268,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -90423,7 +90371,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -95147,7 +95094,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -95555,7 +95501,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -95675,7 +95620,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -95925,7 +95869,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -96123,7 +96066,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -96313,7 +96255,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -96409,7 +96350,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -96786,7 +96726,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97290,7 +97229,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97449,7 +97387,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97801,7 +97738,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98250,7 +98186,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98394,7 +98329,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98779,7 +98713,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99003,7 +98936,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99201,7 +99133,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99566,7 +99497,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99768,7 +99698,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99983,7 +99912,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -100469,7 +100397,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -105677,12 +105604,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "scarlet-witch", "note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```" } @@ -110550,12 +110475,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -132093,7 +132016,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -133182,7 +133104,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -133959,7 +133880,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -134538,7 +134458,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -134733,7 +134652,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```" } @@ -134849,7 +134767,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```" } @@ -134933,7 +134850,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```" } @@ -163127,7 +163043,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -163501,7 +163416,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -164294,7 +164208,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -164868,7 +164781,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -164934,7 +164846,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -165970,7 +165881,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```" } @@ -166350,7 +166260,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -171271,7 +171180,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```" } @@ -180230,7 +180138,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "corsair", "note": "To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.corsair-preview+json\n```" } @@ -183006,7 +182913,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -183760,7 +183666,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -184364,12 +184269,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -185101,12 +185004,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -185817,12 +185718,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -186425,12 +186324,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -209484,12 +209381,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -213021,7 +212916,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -213637,12 +213531,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -214694,7 +214586,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -215246,7 +215137,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -215312,7 +215202,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -219134,7 +219023,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -222982,7 +222870,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -225596,7 +225483,6 @@ "category": "issues", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -234202,7 +234088,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -242729,7 +242614,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -244456,7 +244340,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -245008,7 +244891,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -245074,7 +244956,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -256739,12 +256620,10 @@ "subcategory": "timeline", "previews": [ { - "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" }, { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -263477,7 +263356,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```" } @@ -263879,7 +263757,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```" } @@ -264879,7 +264756,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -264969,7 +264845,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -265080,7 +264955,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -265168,7 +265042,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -265653,7 +265526,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -266117,7 +265989,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -274655,12 +274526,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -275201,12 +275070,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -275741,7 +275608,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -276147,7 +276013,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -276699,7 +276564,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -276765,7 +276629,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -284065,12 +283928,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -284771,7 +284632,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -299122,7 +298982,6 @@ "category": "pulls", "previews": [ { - "required": true, "name": "lydian", "note": "Updating the pull request branch with latest upstream changes is currently available for developers to preview. To access this new endpoint during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.lydian-preview+json\n```" } @@ -308513,7 +308372,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -308700,7 +308558,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -312042,7 +311899,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "baptiste", "note": "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](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -318226,7 +318082,6 @@ "category": "search", "previews": [ { - "required": true, "name": "cloak", "note": "The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2017-01-05-commit-search-api/) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.cloak-preview\n```" } @@ -322023,7 +321878,6 @@ "category": "search", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -322379,7 +322233,6 @@ "category": "search", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -326347,7 +326200,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -326754,7 +326606,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -327137,7 +326988,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -327541,7 +327391,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -327979,7 +327828,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -328349,7 +328197,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -328706,7 +328553,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -329083,7 +328929,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -329441,7 +329286,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -329727,7 +329571,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -330025,7 +329868,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -330303,7 +330145,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -331400,7 +331241,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -331710,7 +331550,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -331902,7 +331741,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -342874,7 +342712,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -345821,12 +345658,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions." } @@ -348592,7 +348427,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -351842,12 +351676,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -372578,7 +372410,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -380500,7 +380331,6 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" } diff --git a/lib/rest/static/dereferenced/ghes-3.2.deref.json b/lib/rest/static/dereferenced/ghes-3.2.deref.json index 108aa240d7..bfb9c50000 100644 --- a/lib/rest/static/dereferenced/ghes-3.2.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.2.deref.json @@ -514,7 +514,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -693,7 +692,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -837,7 +835,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1018,7 +1015,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1068,7 +1064,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1120,7 +1115,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```" } @@ -1466,7 +1460,6 @@ "subcategory": "ldap", "previews": [ { - "required": false, "name": "hellcat", "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```" } @@ -2330,7 +2323,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2460,7 +2452,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2574,7 +2565,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2751,7 +2741,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2837,7 +2826,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -2958,7 +2946,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3033,7 +3020,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3241,7 +3227,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3453,7 +3438,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3618,7 +3602,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3829,7 +3812,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -3870,7 +3852,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -44594,7 +44575,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -47484,12 +47464,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -56351,7 +56329,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```" } @@ -56930,7 +56907,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```" } @@ -77196,12 +77172,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -79094,7 +79068,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -79180,7 +79153,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -79287,7 +79259,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -79371,7 +79342,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -79744,7 +79714,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -80200,7 +80169,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -82465,12 +82433,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -86530,7 +86496,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -86943,7 +86908,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -87332,7 +87296,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -87742,7 +87705,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -88192,7 +88154,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -88568,7 +88529,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -88931,7 +88891,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -89314,7 +89273,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -89684,7 +89642,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -90175,7 +90132,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -90249,7 +90205,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -90553,7 +90508,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -91036,7 +90990,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -91102,7 +91055,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -91956,7 +91908,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -92272,7 +92223,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -92376,7 +92326,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97127,7 +97076,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97535,7 +97483,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97655,7 +97602,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -97905,7 +97851,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98103,7 +98048,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98293,7 +98237,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98389,7 +98332,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -98766,7 +98708,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99270,7 +99211,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99429,7 +99369,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -99781,7 +99720,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -100230,7 +100168,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -100374,7 +100311,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -100759,7 +100695,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -100983,7 +100918,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -101181,7 +101115,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -101546,7 +101479,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -101748,7 +101680,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -101963,7 +101894,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -102449,7 +102379,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -107734,12 +107663,10 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" }, { - "required": false, "name": "scarlet-witch", "note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```" } @@ -135710,7 +135637,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -136799,7 +136725,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -137576,7 +137501,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -138155,7 +138079,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```" } @@ -138350,7 +138273,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```" } @@ -138466,7 +138388,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```" } @@ -138550,7 +138471,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```" } @@ -166823,7 +166743,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -167197,7 +167116,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -167990,7 +167908,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -168564,7 +168481,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -168630,7 +168546,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -169666,7 +169581,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```" } @@ -170046,7 +169960,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -174987,7 +174900,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```" } @@ -183982,7 +183894,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "corsair", "note": "To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.corsair-preview+json\n```" } @@ -186758,7 +186669,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -187512,7 +187422,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -188116,12 +188025,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -188853,12 +188760,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -189569,12 +189474,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -190177,12 +190080,10 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```" } @@ -216152,12 +216053,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -219698,7 +219597,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -220314,12 +220212,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -221371,7 +221267,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -221923,7 +221818,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -221989,7 +221883,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -225820,7 +225713,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -229677,7 +229569,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -232300,7 +232191,6 @@ "category": "issues", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -240933,7 +240823,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -249460,7 +249349,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -251187,7 +251075,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -251739,7 +251626,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -251805,7 +251691,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -263479,12 +263364,10 @@ "subcategory": "timeline", "previews": [ { - "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" }, { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } @@ -270226,7 +270109,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```" } @@ -270628,7 +270510,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```" } @@ -271628,7 +271509,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -271718,7 +271598,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -271829,7 +271708,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -271917,7 +271795,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```" } @@ -272402,7 +272279,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -272866,7 +272742,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -281424,12 +281299,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -281970,12 +281843,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -282510,7 +282381,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -282916,7 +282786,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -283468,7 +283337,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -283534,7 +283402,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -290834,12 +290701,10 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -291540,7 +291405,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute." } @@ -305934,7 +305798,6 @@ "category": "pulls", "previews": [ { - "required": true, "name": "lydian", "note": "Updating the pull request branch with latest upstream changes is currently available for developers to preview. To access this new endpoint during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.lydian-preview+json\n```" } @@ -312253,7 +312116,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -315895,7 +315757,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -316082,7 +315943,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -319445,7 +319305,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "baptiste", "note": "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](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } @@ -326119,7 +325978,6 @@ "category": "search", "previews": [ { - "required": true, "name": "cloak", "note": "The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2017-01-05-commit-search-api/) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.cloak-preview\n```" } @@ -329928,7 +329786,6 @@ "category": "search", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -330284,7 +330141,6 @@ "category": "search", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -334252,7 +334108,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -334659,7 +334514,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -335042,7 +334896,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -335446,7 +335299,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -335884,7 +335736,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -336254,7 +336105,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -336611,7 +336461,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -336988,7 +336837,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -337346,7 +337194,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -337632,7 +337479,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -337930,7 +337776,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -338208,7 +338053,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -339305,7 +339149,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -339615,7 +339458,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -339807,7 +339649,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -350816,7 +350657,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```" } @@ -353773,12 +353613,10 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions." } @@ -356544,7 +356382,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -380613,7 +380450,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```" } @@ -388562,7 +388398,6 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```" } diff --git a/lib/rest/static/dereferenced/ghes-3.3.deref.json b/lib/rest/static/dereferenced/ghes-3.3.deref.json index 587a89107c..8c1bdbefba 100644 --- a/lib/rest/static/dereferenced/ghes-3.3.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.3.deref.json @@ -156590,7 +156590,6 @@ "subcategory": "runs", "previews": [ { - "required": true, "name": "antiope", "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```" } @@ -190912,7 +190911,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "corsair", "note": "To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.corsair-preview+json\n```" } @@ -326591,7 +326589,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "baptiste", "note": "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](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```" } diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index 9e025ef4d8..fa36070b30 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -237738,7 +237738,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```" } @@ -238140,7 +238139,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "machine-man", "note": "To access the API with your GitHub App, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```" } From 75f07228c9db6d5400cdb8119f4308dfc419c46d Mon Sep 17 00:00:00 2001 From: github-openapi-bot Date: Mon, 6 Dec 2021 23:26:19 +0000 Subject: [PATCH 2/3] Add decorated OpenAPI schema files --- lib/rest/static/decorated/api.github.com.json | 63 ++ lib/rest/static/decorated/ghes-3.0.json | 930 +++++++---------- lib/rest/static/decorated/ghes-3.1.json | 930 +++++++---------- lib/rest/static/decorated/ghes-3.2.json | 933 +++++++----------- lib/rest/static/decorated/ghes-3.3.json | 27 +- lib/rest/static/decorated/github.ae.json | 18 +- 6 files changed, 1227 insertions(+), 1674 deletions(-) diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index 69b5601dc0..c180449022 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -51282,6 +51282,15 @@ "rawType": "string", "rawDescription": "Working directory for this codespace", "childParamsGroups": [] + }, + "idle_timeout_minutes": { + "description": "

Time in minutes before codespace stops from inactivity

", + "type": "integer", + "name": "idle_timeout_minutes", + "in": "body", + "rawType": "integer", + "rawDescription": "Time in minutes before codespace stops from inactivity", + "childParamsGroups": [] } } }, @@ -51340,6 +51349,15 @@ "rawType": "string", "rawDescription": "Working directory for this codespace", "childParamsGroups": [] + }, + { + "description": "

Time in minutes before codespace stops from inactivity

", + "type": "integer", + "name": "idle_timeout_minutes", + "in": "body", + "rawType": "integer", + "rawDescription": "Time in minutes before codespace stops from inactivity", + "childParamsGroups": [] } ], "responses": [ @@ -72682,6 +72700,15 @@ "rawType": "string", "rawDescription": "Working directory for this codespace", "childParamsGroups": [] + }, + "idle_timeout_minutes": { + "description": "

Time in minutes before codespace stops from inactivity

", + "type": "integer", + "name": "idle_timeout_minutes", + "in": "body", + "rawType": "integer", + "rawDescription": "Time in minutes before codespace stops from inactivity", + "childParamsGroups": [] } } }, @@ -72731,6 +72758,15 @@ "rawType": "string", "rawDescription": "Working directory for this codespace", "childParamsGroups": [] + }, + { + "description": "

Time in minutes before codespace stops from inactivity

", + "type": "integer", + "name": "idle_timeout_minutes", + "in": "body", + "rawType": "integer", + "rawDescription": "Time in minutes before codespace stops from inactivity", + "childParamsGroups": [] } ], "responses": [ @@ -90893,6 +90929,15 @@ "rawDescription": "Working directory for this codespace", "childParamsGroups": [] }, + "idle_timeout_minutes": { + "description": "

Time in minutes before codespace stops from inactivity

", + "type": "integer", + "name": "idle_timeout_minutes", + "in": "body", + "rawType": "integer", + "rawDescription": "Time in minutes before codespace stops from inactivity", + "childParamsGroups": [] + }, "pull_request": { "required": [ "pull_request_number", @@ -91046,6 +91091,15 @@ "rawType": "string", "rawDescription": "Working directory for this codespace", "childParamsGroups": [] + }, + "idle_timeout_minutes": { + "description": "

Time in minutes before codespace stops from inactivity

", + "type": "integer", + "name": "idle_timeout_minutes", + "in": "body", + "rawType": "integer", + "rawDescription": "Time in minutes before codespace stops from inactivity", + "childParamsGroups": [] } } } @@ -91146,6 +91200,15 @@ "rawDescription": "Working directory for this codespace", "childParamsGroups": [] }, + { + "description": "

Time in minutes before codespace stops from inactivity

", + "type": "integer", + "name": "idle_timeout_minutes", + "in": "body", + "rawType": "integer", + "rawDescription": "Time in minutes before codespace stops from inactivity", + "childParamsGroups": [] + }, { "required": [ "pull_request_number", diff --git a/lib/rest/static/decorated/ghes-3.0.json b/lib/rest/static/decorated/ghes-3.0.json index 5182fe1327..4f7acdf651 100644 --- a/lib/rest/static/decorated/ghes-3.0.json +++ b/lib/rest/static/decorated/ghes-3.0.json @@ -85,13 +85,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/hooks', {\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/hooks', {\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/hooks')", + "html": "
await octokit.request('GET /admin/hooks')\n
" } ], "summary": "List global webhooks", @@ -111,7 +111,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -155,13 +154,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/hooks', {\n name: 'name',\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n },\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/hooks', {\n  name: 'name',\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  },\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/hooks', {\n name: 'name',\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n }\n})", + "html": "
await octokit.request('POST /admin/hooks', {\n  name: 'name',\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  }\n})\n
" } ], "summary": "Create a global webhook", @@ -334,7 +333,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -514,13 +512,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/hooks/{hook_id}', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/hooks/{hook_id}', {\n hook_id: 42\n})", + "html": "
await octokit.request('GET /admin/hooks/{hook_id}', {\n  hook_id: 42\n})\n
" } ], "summary": "Get a global webhook", @@ -540,7 +538,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -593,13 +590,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /admin/hooks/{hook_id}', {\n hook_id: 42,\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n },\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  },\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /admin/hooks/{hook_id}', {\n hook_id: 42,\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n }\n})", + "html": "
await octokit.request('PATCH /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  }\n})\n
" } ], "summary": "Update a global webhook", @@ -754,7 +751,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -925,13 +921,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /admin/hooks/{hook_id}', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /admin/hooks/{hook_id}', {\n hook_id: 42\n})", + "html": "
await octokit.request('DELETE /admin/hooks/{hook_id}', {\n  hook_id: 42\n})\n
" } ], "summary": "Delete a global webhook", @@ -951,7 +947,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -1003,13 +998,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n  hook_id: 42,\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n hook_id: 42\n})", + "html": "
await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n  hook_id: 42\n})\n
" } ], "summary": "Ping a global webhook", @@ -1029,7 +1024,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.0/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -1293,7 +1287,6 @@ "subcategory": "ldap", "previews": [ { - "required": false, "name": "hellcat", "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```", "html": "

The Nested Teams API is currently available for developers to preview. See the blog post for full details. To access the API, you must provide a custom media type in the Accept header:

\n
application/vnd.github.hellcat-preview+json
" @@ -1830,13 +1823,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-environments', {\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-environments', {\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-environments')", + "html": "
await octokit.request('GET /admin/pre-receive-environments')\n
" } ], "summary": "List pre-receive environments", @@ -1856,7 +1849,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -1888,13 +1880,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/pre-receive-environments', {\n name: 'name',\n image_url: 'image_url',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/pre-receive-environments', {\n  name: 'name',\n  image_url: 'image_url',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/pre-receive-environments', {\n name: 'name',\n image_url: 'image_url'\n})", + "html": "
await octokit.request('POST /admin/pre-receive-environments', {\n  name: 'name',\n  image_url: 'image_url'\n})\n
" } ], "summary": "Create a pre-receive environment", @@ -1952,7 +1944,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2014,13 +2005,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Get a pre-receive environment", @@ -2040,7 +2031,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2082,13 +2072,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update a pre-receive environment", @@ -2137,7 +2127,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2205,13 +2194,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Delete a pre-receive environment", @@ -2231,7 +2220,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2278,13 +2266,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Start a pre-receive environment download", @@ -2304,7 +2292,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2352,13 +2339,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Get the download status for a pre-receive environment", @@ -2378,7 +2365,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2462,13 +2448,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-hooks', {\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-hooks', {\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-hooks')", + "html": "
await octokit.request('GET /admin/pre-receive-hooks')\n
" } ], "summary": "List pre-receive hooks", @@ -2488,7 +2474,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2520,13 +2505,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/pre-receive-hooks', {\n name: 'name',\n script: 'script',\n script_repository: {},\n environment: {},\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/pre-receive-hooks', {\n  name: 'name',\n  script: 'script',\n  script_repository: {},\n  environment: {},\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/pre-receive-hooks', {\n name: 'name',\n script: 'script',\n script_repository: {},\n environment: {}\n})", + "html": "
await octokit.request('POST /admin/pre-receive-hooks', {\n  name: 'name',\n  script: 'script',\n  script_repository: {},\n  environment: {}\n})\n
" } ], "summary": "Create a pre-receive hook", @@ -2634,7 +2619,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2737,13 +2721,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Get a pre-receive hook", @@ -2763,7 +2747,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2806,13 +2789,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update a pre-receive hook", @@ -2908,7 +2891,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -3011,13 +2993,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Delete a pre-receive hook", @@ -3037,7 +3019,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -15758,7 +15739,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -16023,13 +16003,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -17423,7 +17401,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```", "html": "

New repository creation permissions are available to preview. You can now use members_can_create_public_repositories, members_can_create_private_repositories, and members_can_create_internal_repositories. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.

\n

To access these new parameters during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.surtur-preview+json
" @@ -17684,7 +17661,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```", "html": "

New repository creation permissions are available to preview. You can now use members_can_create_public_repositories, members_can_create_private_repositories, and members_can_create_internal_repositories. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.

\n

To access these new parameters during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.surtur-preview+json
" @@ -22954,13 +22930,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -23858,13 +23832,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n org: 'org',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n  org: 'org',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n org: 'org'\n})", + "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n  org: 'org'\n})\n
" } ], "summary": "List pre-receive hooks for an organization", @@ -23884,7 +23858,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -23936,13 +23909,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Get a pre-receive hook for an organization", @@ -23962,7 +23935,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24014,13 +23986,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement'\n})", + "html": "
await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement'\n})\n
" } ], "summary": "Update pre-receive hook enforcement for an organization", @@ -24073,7 +24045,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24145,13 +24116,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Remove pre-receive hook enforcement for an organization", @@ -24171,7 +24142,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24249,13 +24219,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/projects', {\n org: 'org',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/projects', {\n  org: 'org',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/projects', {\n org: 'org'\n})", + "html": "
await octokit.request('GET /orgs/{org}/projects', {\n  org: 'org'\n})\n
" } ], "summary": "List organization projects", @@ -24274,7 +24244,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -24319,13 +24288,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /orgs/{org}/projects', {\n org: 'org',\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /orgs/{org}/projects', {\n  org: 'org',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /orgs/{org}/projects', {\n org: 'org',\n name: 'name'\n})", + "html": "
await octokit.request('POST /orgs/{org}/projects', {\n  org: 'org',\n  name: 'name'\n})\n
" } ], "summary": "Create an organization project", @@ -24381,7 +24350,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -24855,13 +24823,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

The is_template and template_repository keys are currently available for developer to preview. See Create a repository using a template to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json
" @@ -25118,13 +25084,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

The is_template and template_repository keys are currently available for developer to preview. See Create a repository using a template to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json
" @@ -26096,7 +26060,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26223,7 +26186,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26340,7 +26302,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26460,7 +26421,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26680,7 +26640,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26795,7 +26754,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26902,7 +26860,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27025,7 +26982,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27233,13 +27189,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion comment", @@ -27258,7 +27214,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27326,13 +27281,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion comment", @@ -27388,7 +27343,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27492,13 +27446,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete team discussion comment reaction", @@ -27517,7 +27471,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27615,13 +27568,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion", @@ -27640,7 +27593,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27699,13 +27651,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion", @@ -27761,7 +27713,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27856,13 +27807,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete team discussion reaction", @@ -27881,7 +27832,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -28354,13 +28304,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n org: 'org',\n team_slug: 'team_slug',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n  org: 'org',\n  team_slug: 'team_slug',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n org: 'org',\n team_slug: 'team_slug'\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n  org: 'org',\n  team_slug: 'team_slug'\n})\n
" } ], "summary": "List team projects", @@ -28379,7 +28329,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -28438,13 +28387,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42\n})\n
" } ], "summary": "Check team permissions for a project", @@ -28463,7 +28412,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -28527,13 +28475,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42,\n permission: 'permission',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42,\n  permission: 'permission',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42,\n permission: 'permission'\n})", + "html": "
await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42,\n  permission: 'permission'\n})\n
" } ], "summary": "Add or update team project permissions", @@ -28579,7 +28527,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29207,13 +29154,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/columns/cards/{card_id}', {\n card_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/columns/cards/{card_id}', {\n card_id: 42\n})", + "html": "
await octokit.request('GET /projects/columns/cards/{card_id}', {\n  card_id: 42\n})\n
" } ], "summary": "Get a project card", @@ -29233,7 +29180,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29296,13 +29242,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n card_id: 42,\n note: 'note',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  note: 'note',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n card_id: 42,\n note: 'note'\n})", + "html": "
await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  note: 'note'\n})\n
" } ], "summary": "Update an existing project card", @@ -29355,7 +29301,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29446,13 +29391,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n card_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n card_id: 42\n})", + "html": "
await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n  card_id: 42\n})\n
" } ], "summary": "Delete a project card", @@ -29472,7 +29417,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29534,13 +29478,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n card_id: 42,\n position: 'position',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n  card_id: 42,\n  position: 'position',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n card_id: 42,\n position: 'position'\n})", + "html": "
await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n  card_id: 42,\n  position: 'position'\n})\n
" } ], "summary": "Move a project card", @@ -29596,7 +29540,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29686,13 +29629,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/columns/{column_id}', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/columns/{column_id}', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/columns/{column_id}', {\n column_id: 42\n})", + "html": "
await octokit.request('GET /projects/columns/{column_id}', {\n  column_id: 42\n})\n
" } ], "summary": "Get a project column", @@ -29712,7 +29655,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29775,13 +29717,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /projects/columns/{column_id}', {\n column_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /projects/columns/{column_id}', {\n  column_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /projects/columns/{column_id}', {\n column_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /projects/columns/{column_id}', {\n  column_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update an existing project column", @@ -29826,7 +29768,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29896,13 +29837,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/columns/{column_id}', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/columns/{column_id}', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/columns/{column_id}', {\n column_id: 42\n})", + "html": "
await octokit.request('DELETE /projects/columns/{column_id}', {\n  column_id: 42\n})\n
" } ], "summary": "Delete a project column", @@ -29922,7 +29863,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30015,13 +29955,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/columns/{column_id}/cards', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/columns/{column_id}/cards', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/columns/{column_id}/cards', {\n column_id: 42\n})", + "html": "
await octokit.request('GET /projects/columns/{column_id}/cards', {\n  column_id: 42\n})\n
" } ], "summary": "List project cards", @@ -30041,7 +29981,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30099,13 +30038,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/columns/{column_id}/cards', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/columns/{column_id}/cards', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/columns/{column_id}/cards', {\n column_id: 42\n})", + "html": "
await octokit.request('POST /projects/columns/{column_id}/cards', {\n  column_id: 42\n})\n
" } ], "summary": "Create a project card", @@ -30204,7 +30143,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30305,13 +30243,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/columns/{column_id}/moves', {\n column_id: 42,\n position: 'position',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/columns/{column_id}/moves', {\n  column_id: 42,\n  position: 'position',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/columns/{column_id}/moves', {\n column_id: 42,\n position: 'position'\n})", + "html": "
await octokit.request('POST /projects/columns/{column_id}/moves', {\n  column_id: 42,\n  position: 'position'\n})\n
" } ], "summary": "Move a project column", @@ -30357,7 +30295,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30431,13 +30368,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}', {\n project_id: 42\n})", + "html": "
await octokit.request('GET /projects/{project_id}', {\n  project_id: 42\n})\n
" } ], "summary": "Get a project", @@ -30456,7 +30393,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30511,13 +30447,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /projects/{project_id}', {\n project_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /projects/{project_id}', {\n  project_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /projects/{project_id}', {\n project_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /projects/{project_id}', {\n  project_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update a project", @@ -30603,7 +30539,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30730,13 +30665,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/{project_id}', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/{project_id}', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/{project_id}', {\n project_id: 42\n})", + "html": "
await octokit.request('DELETE /projects/{project_id}', {\n  project_id: 42\n})\n
" } ], "summary": "Delete a project", @@ -30755,7 +30690,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30855,13 +30789,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}/collaborators', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}/collaborators', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}/collaborators', {\n project_id: 42\n})", + "html": "
await octokit.request('GET /projects/{project_id}/collaborators', {\n  project_id: 42\n})\n
" } ], "summary": "List project collaborators", @@ -30881,7 +30815,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30957,13 +30890,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username',\n permission: 'permission',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username',\n  permission: 'permission',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username',\n permission: 'permission'\n})", + "html": "
await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username',\n  permission: 'permission'\n})\n
" } ], "summary": "Add project collaborator", @@ -31012,7 +30945,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31105,13 +31037,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username'\n})", + "html": "
await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username'\n})\n
" } ], "summary": "Remove user as a collaborator", @@ -31131,7 +31063,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31206,13 +31137,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n project_id: 42,\n username: 'username',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n  project_id: 42,\n  username: 'username',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n project_id: 42,\n username: 'username'\n})", + "html": "
await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n  project_id: 42,\n  username: 'username'\n})\n
" } ], "summary": "Get project permission for a user", @@ -31232,7 +31163,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31319,13 +31249,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}/columns', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}/columns', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}/columns', {\n project_id: 42\n})", + "html": "
await octokit.request('GET /projects/{project_id}/columns', {\n  project_id: 42\n})\n
" } ], "summary": "List project columns", @@ -31345,7 +31275,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31402,13 +31331,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/{project_id}/columns', {\n project_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/{project_id}/columns', {\n  project_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/{project_id}/columns', {\n project_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('POST /projects/{project_id}/columns', {\n  project_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Create a project column", @@ -31453,7 +31382,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31585,13 +31513,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /reactions/{reaction_id}', {\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /reactions/{reaction_id}', {\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /reactions/{reaction_id}', {\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /reactions/{reaction_id}', {\n  reaction_id: 42\n})\n
" } ], "summary": "Delete a reaction (Legacy)", @@ -31612,7 +31540,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -31706,13 +31633,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "scarlet-witch", "note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```", "html": "

The Codes of Conduct API is currently available for developers to preview.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.scarlet-witch-preview+json
" @@ -31988,13 +31913,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

The is_template and template_repository keys are currently available for developer to preview. See Create a repository using a template to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json
" @@ -36068,7 +35991,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -36825,7 +36747,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -37866,7 +37787,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -38073,7 +37993,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -38320,13 +38239,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n mediaType: {\n previews: [\n 'zzzax'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch',\n  mediaType: {\n    previews: [\n      'zzzax'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch'\n})\n
" } ], "summary": "Get commit signature protection", @@ -38346,7 +38265,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```", "html": "

Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.zzzax-preview+json
" @@ -38413,13 +38331,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n mediaType: {\n previews: [\n 'zzzax'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch',\n  mediaType: {\n    previews: [\n      'zzzax'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch'\n})\n
" } ], "summary": "Create commit signature protection", @@ -38439,7 +38357,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```", "html": "

Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.zzzax-preview+json
" @@ -38506,13 +38423,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n mediaType: {\n previews: [\n 'zzzax'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch',\n  mediaType: {\n    previews: [\n      'zzzax'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch'\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch'\n})\n
" } ], "summary": "Delete commit signature protection", @@ -38532,7 +38449,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```", "html": "

Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.zzzax-preview+json
" @@ -47410,7 +47326,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -47497,7 +47412,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -47808,13 +47722,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42\n})\n
" } ], "summary": "List reactions for a commit comment", @@ -47833,7 +47747,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -47897,13 +47810,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a commit comment", @@ -47959,7 +47872,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -48064,13 +47976,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete a commit comment reaction", @@ -48089,7 +48001,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -48309,13 +48220,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha',\n mediaType: {\n previews: [\n 'groot'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha',\n  mediaType: {\n    previews: [\n      'groot'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha'\n})\n
" } ], "summary": "List branches for HEAD commit", @@ -48335,7 +48246,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```", "html": "

Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.groot-preview+json
" @@ -48448,7 +48358,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -48716,13 +48625,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha',\n mediaType: {\n previews: [\n 'groot'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha',\n  mediaType: {\n    previews: [\n      'groot'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha'\n})\n
" } ], "summary": "List pull requests associated with a commit", @@ -48742,7 +48651,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```", "html": "

Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.groot-preview+json
" @@ -49489,13 +49397,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n owner: 'octocat',\n repo: 'hello-world',\n content_reference_id: 42,\n title: 'title',\n body: 'body',\n mediaType: {\n previews: [\n 'corsair'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  content_reference_id: 42,\n  title: 'title',\n  body: 'body',\n  mediaType: {\n    previews: [\n      'corsair'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n owner: 'octocat',\n repo: 'hello-world',\n content_reference_id: 42,\n title: 'title',\n body: 'body'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  content_reference_id: 42,\n  title: 'title',\n  body: 'body'\n})\n
" } ], "summary": "Create a content attachment", @@ -49551,7 +49459,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "corsair", "note": "To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.corsair-preview+json\n```", "html": "

To access the Content Attachments API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.corsair-preview+json
" @@ -50908,7 +50815,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -51122,7 +51028,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -51326,13 +51231,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -51532,13 +51435,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -51732,13 +51633,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -51922,13 +51821,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -56983,13 +56880,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -57458,7 +57353,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -57555,13 +57449,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -57867,13 +57759,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42\n})\n
" } ], "summary": "List reactions for an issue comment", @@ -57892,7 +57784,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -57956,13 +57847,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for an issue comment", @@ -58018,7 +57909,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -58118,13 +58008,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete an issue comment reaction", @@ -58143,7 +58033,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -58237,7 +58126,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -58328,7 +58216,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -58429,7 +58316,6 @@ "category": "issues", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -59171,7 +59057,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -59426,7 +59311,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -60412,13 +60296,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42\n})\n
" } ], "summary": "List reactions for an issue", @@ -60437,7 +60321,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -60506,13 +60389,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for an issue", @@ -60568,7 +60451,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -60668,13 +60550,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete an issue reaction", @@ -60693,7 +60575,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -60771,13 +60652,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n mediaType: {\n previews: [\n 'mockingbird'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  mediaType: {\n    previews: [\n      'mockingbird'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42\n})\n
" } ], "summary": "List timeline events for an issue", @@ -60797,13 +60678,11 @@ "subcategory": "timeline", "previews": [ { - "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" }, { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -63218,13 +63097,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n },\n mediaType: {\n previews: [\n 'switcheroo'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  source: {\n    branch: 'branch',\n    path: 'path'\n  },\n  mediaType: {\n    previews: [\n      'switcheroo'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n }\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  source: {\n    branch: 'branch',\n    path: 'path'\n  }\n})\n
" } ], "summary": "Create a GitHub Enterprise Server Pages site", @@ -63335,7 +63214,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```", "html": "

Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.switcheroo-preview+json
" @@ -63723,13 +63601,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'switcheroo'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'switcheroo'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "Delete a GitHub Enterprise Server Pages site", @@ -63749,7 +63627,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```", "html": "

Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.switcheroo-preview+json
" @@ -64164,13 +64041,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "List pre-receive hooks for a repository", @@ -64190,7 +64067,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -64251,13 +64127,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Get a pre-receive hook for a repository", @@ -64277,7 +64153,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -64338,13 +64213,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement'\n})", + "html": "
await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement'\n})\n
" } ], "summary": "Update pre-receive hook enforcement for a repository", @@ -64392,7 +64267,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -64469,13 +64343,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Remove pre-receive hook enforcement for a repository", @@ -64495,7 +64369,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -64582,13 +64455,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "List repository projects", @@ -64607,7 +64480,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -64681,13 +64553,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world',\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world',\n name: 'name'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  name: 'name'\n})\n
" } ], "summary": "Create a repository project", @@ -64743,7 +64615,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -65314,13 +65185,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -65407,13 +65276,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -65532,7 +65399,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -65727,13 +65593,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42\n})\n
" } ], "summary": "List reactions for a pull request review comment", @@ -65752,7 +65618,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -65816,13 +65681,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a pull request review comment", @@ -65878,7 +65743,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -65978,13 +65842,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete a pull request comment reaction", @@ -66003,7 +65867,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -66441,13 +66304,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -66664,7 +66525,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -69203,13 +69063,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n owner: 'octocat',\n repo: 'hello-world',\n pull_number: 42,\n expected_head_sha: 'expected_head_sha',\n mediaType: {\n previews: [\n 'lydian'\n ]\n }\n})", - "html": "
await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pull_number: 42,\n  expected_head_sha: 'expected_head_sha',\n  mediaType: {\n    previews: [\n      'lydian'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n owner: 'octocat',\n repo: 'hello-world',\n pull_number: 42,\n expected_head_sha: 'expected_head_sha'\n})", + "html": "
await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pull_number: 42,\n  expected_head_sha: 'expected_head_sha'\n})\n
" } ], "summary": "Update a pull request branch", @@ -69253,7 +69113,6 @@ "category": "pulls", "previews": [ { - "required": true, "name": "lydian", "note": "Updating the pull request branch with latest upstream changes is currently available for developers to preview. To access this new endpoint during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.lydian-preview+json\n```", "html": "

Updating the pull request branch with latest upstream changes 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.lydian-preview+json
" @@ -72188,13 +72047,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'mercy'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "Get all repository topics", @@ -72213,7 +72072,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -72272,13 +72130,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n names: [\n 'names'\n ],\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})", - "html": "
await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  names: [\n    'names'\n  ],\n  mediaType: {\n    previews: [\n      'mercy'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n names: [\n 'names'\n ]\n})", + "html": "
await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  names: [\n    'names'\n  ]\n})\n
" } ], "summary": "Replace all repository topics", @@ -72332,7 +72190,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -72620,13 +72477,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n template_owner: 'template_owner',\n template_repo: 'template_repo',\n name: 'name',\n mediaType: {\n previews: [\n 'baptiste'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n  template_owner: 'template_owner',\n  template_repo: 'template_repo',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'baptiste'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n template_owner: 'template_owner',\n template_repo: 'template_repo',\n name: 'name'\n})", + "html": "
await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n  template_owner: 'template_owner',\n  template_repo: 'template_repo',\n  name: 'name'\n})\n
" } ], "summary": "Create a repository using a template", @@ -72714,7 +72571,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "baptiste", "note": "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](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

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
" @@ -73065,13 +72921,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://{hostname}/api/v3/search/commits", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/commits", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /search/commits', {\n q: 'q',\n mediaType: {\n previews: [\n 'cloak'\n ]\n }\n})", - "html": "
await octokit.request('GET /search/commits', {\n  q: 'q',\n  mediaType: {\n    previews: [\n      'cloak'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /search/commits', {\n q: 'q'\n})", + "html": "
await octokit.request('GET /search/commits', {\n  q: 'q'\n})\n
" } ], "summary": "Search commits", @@ -73090,7 +72946,6 @@ "category": "search", "previews": [ { - "required": true, "name": "cloak", "note": "The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2017-01-05-commit-search-api/) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.cloak-preview\n```", "html": "

The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.cloak-preview
" @@ -73487,7 +73342,6 @@ "category": "search", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -73563,13 +73417,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/search/topics", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/topics", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /search/topics', {\n q: 'q',\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})", - "html": "
await octokit.request('GET /search/topics', {\n  q: 'q',\n  mediaType: {\n    previews: [\n      'mercy'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /search/topics', {\n q: 'q'\n})", + "html": "
await octokit.request('GET /search/topics', {\n  q: 'q'\n})\n
" } ], "summary": "Search topics", @@ -73588,7 +73442,6 @@ "category": "search", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -74977,7 +74830,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -75097,7 +74949,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -75207,7 +75058,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -75320,7 +75170,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -75526,7 +75375,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -75634,7 +75482,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -75734,7 +75581,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -75850,7 +75696,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76042,13 +75887,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion comment (Legacy)", @@ -76069,7 +75914,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76128,13 +75972,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion comment (Legacy)", @@ -76192,7 +76036,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76303,13 +76146,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion (Legacy)", @@ -76330,7 +76173,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76380,13 +76222,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion (Legacy)", @@ -76444,7 +76286,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -77150,13 +76991,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/projects', {\n team_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/projects', {\n  team_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/projects', {\n team_id: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/projects', {\n  team_id: 42\n})\n
" } ], "summary": "List team projects (Legacy)", @@ -77177,7 +77018,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -77232,13 +77072,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42\n})\n
" } ], "summary": "Check team permissions for a project (Legacy)", @@ -77259,7 +77099,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -77314,13 +77153,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42,\n permission: 'permission',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42,\n  permission: 'permission',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42,\n permission: 'permission'\n})", + "html": "
await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42,\n  permission: 'permission'\n})\n
" } ], "summary": "Add or update team project permissions (Legacy)", @@ -77367,7 +77206,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -79604,7 +79442,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -79952,13 +79789,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.0/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -80760,13 +80595,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /user/projects', {\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /user/projects', {\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /user/projects', {\n name: 'name'\n})", + "html": "
await octokit.request('POST /user/projects', {\n  name: 'name'\n})\n
" } ], "summary": "Create a user project", @@ -80821,7 +80656,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -81393,13 +81227,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.0/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

The is_template and template_repository keys are currently available for developer to preview. See Create a repository using a template to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json
" @@ -83590,13 +83422,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /users/{username}/projects', {\n username: 'username',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /users/{username}/projects', {\n  username: 'username',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /users/{username}/projects', {\n username: 'username'\n})", + "html": "
await octokit.request('GET /users/{username}/projects', {\n  username: 'username'\n})\n
" } ], "summary": "List user projects", @@ -83615,7 +83447,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -83910,7 +83741,6 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.0/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" diff --git a/lib/rest/static/decorated/ghes-3.1.json b/lib/rest/static/decorated/ghes-3.1.json index 1cc28f33e7..43670de1fc 100644 --- a/lib/rest/static/decorated/ghes-3.1.json +++ b/lib/rest/static/decorated/ghes-3.1.json @@ -85,13 +85,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/hooks', {\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/hooks', {\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/hooks')", + "html": "
await octokit.request('GET /admin/hooks')\n
" } ], "summary": "List global webhooks", @@ -111,7 +111,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -155,13 +154,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/hooks', {\n name: 'name',\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n },\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/hooks', {\n  name: 'name',\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  },\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/hooks', {\n name: 'name',\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n }\n})", + "html": "
await octokit.request('POST /admin/hooks', {\n  name: 'name',\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  }\n})\n
" } ], "summary": "Create a global webhook", @@ -334,7 +333,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -514,13 +512,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/hooks/{hook_id}', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/hooks/{hook_id}', {\n hook_id: 42\n})", + "html": "
await octokit.request('GET /admin/hooks/{hook_id}', {\n  hook_id: 42\n})\n
" } ], "summary": "Get a global webhook", @@ -540,7 +538,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -593,13 +590,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /admin/hooks/{hook_id}', {\n hook_id: 42,\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n },\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  },\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /admin/hooks/{hook_id}', {\n hook_id: 42,\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n }\n})", + "html": "
await octokit.request('PATCH /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  }\n})\n
" } ], "summary": "Update a global webhook", @@ -754,7 +751,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -925,13 +921,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /admin/hooks/{hook_id}', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /admin/hooks/{hook_id}', {\n hook_id: 42\n})", + "html": "
await octokit.request('DELETE /admin/hooks/{hook_id}', {\n  hook_id: 42\n})\n
" } ], "summary": "Delete a global webhook", @@ -951,7 +947,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -1003,13 +998,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n  hook_id: 42,\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n hook_id: 42\n})", + "html": "
await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n  hook_id: 42\n})\n
" } ], "summary": "Ping a global webhook", @@ -1029,7 +1024,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.1/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -1293,7 +1287,6 @@ "subcategory": "ldap", "previews": [ { - "required": false, "name": "hellcat", "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```", "html": "

The Nested Teams API is currently available for developers to preview. See the blog post for full details. To access the API, you must provide a custom media type in the Accept header:

\n
application/vnd.github.hellcat-preview+json
" @@ -1830,13 +1823,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-environments', {\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-environments', {\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-environments')", + "html": "
await octokit.request('GET /admin/pre-receive-environments')\n
" } ], "summary": "List pre-receive environments", @@ -1856,7 +1849,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -1888,13 +1880,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/pre-receive-environments', {\n name: 'name',\n image_url: 'image_url',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/pre-receive-environments', {\n  name: 'name',\n  image_url: 'image_url',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/pre-receive-environments', {\n name: 'name',\n image_url: 'image_url'\n})", + "html": "
await octokit.request('POST /admin/pre-receive-environments', {\n  name: 'name',\n  image_url: 'image_url'\n})\n
" } ], "summary": "Create a pre-receive environment", @@ -1952,7 +1944,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2014,13 +2005,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Get a pre-receive environment", @@ -2040,7 +2031,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2082,13 +2072,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update a pre-receive environment", @@ -2137,7 +2127,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2205,13 +2194,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Delete a pre-receive environment", @@ -2231,7 +2220,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2278,13 +2266,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Start a pre-receive environment download", @@ -2304,7 +2292,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2352,13 +2339,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Get the download status for a pre-receive environment", @@ -2378,7 +2365,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2462,13 +2448,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-hooks', {\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-hooks', {\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-hooks')", + "html": "
await octokit.request('GET /admin/pre-receive-hooks')\n
" } ], "summary": "List pre-receive hooks", @@ -2488,7 +2474,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2520,13 +2505,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/pre-receive-hooks', {\n name: 'name',\n script: 'script',\n script_repository: {},\n environment: {},\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/pre-receive-hooks', {\n  name: 'name',\n  script: 'script',\n  script_repository: {},\n  environment: {},\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/pre-receive-hooks', {\n name: 'name',\n script: 'script',\n script_repository: {},\n environment: {}\n})", + "html": "
await octokit.request('POST /admin/pre-receive-hooks', {\n  name: 'name',\n  script: 'script',\n  script_repository: {},\n  environment: {}\n})\n
" } ], "summary": "Create a pre-receive hook", @@ -2634,7 +2619,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2737,13 +2721,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Get a pre-receive hook", @@ -2763,7 +2747,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2806,13 +2789,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update a pre-receive hook", @@ -2908,7 +2891,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -3011,13 +2993,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Delete a pre-receive hook", @@ -3037,7 +3019,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -15758,7 +15739,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -16023,13 +16003,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -17423,7 +17401,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```", "html": "

New repository creation permissions are available to preview. You can now use members_can_create_public_repositories, members_can_create_private_repositories, and members_can_create_internal_repositories. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.

\n

To access these new parameters during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.surtur-preview+json
" @@ -17684,7 +17661,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```", "html": "

New repository creation permissions are available to preview. You can now use members_can_create_public_repositories, members_can_create_private_repositories, and members_can_create_internal_repositories. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.

\n

To access these new parameters during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.surtur-preview+json
" @@ -23076,13 +23052,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -23980,13 +23954,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n org: 'org',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n  org: 'org',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n org: 'org'\n})", + "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n  org: 'org'\n})\n
" } ], "summary": "List pre-receive hooks for an organization", @@ -24006,7 +23980,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24058,13 +24031,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Get a pre-receive hook for an organization", @@ -24084,7 +24057,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24136,13 +24108,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement'\n})", + "html": "
await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement'\n})\n
" } ], "summary": "Update pre-receive hook enforcement for an organization", @@ -24195,7 +24167,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24267,13 +24238,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Remove pre-receive hook enforcement for an organization", @@ -24293,7 +24264,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24371,13 +24341,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/projects', {\n org: 'org',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/projects', {\n  org: 'org',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/projects', {\n org: 'org'\n})", + "html": "
await octokit.request('GET /orgs/{org}/projects', {\n  org: 'org'\n})\n
" } ], "summary": "List organization projects", @@ -24396,7 +24366,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -24441,13 +24410,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /orgs/{org}/projects', {\n org: 'org',\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /orgs/{org}/projects', {\n  org: 'org',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /orgs/{org}/projects', {\n org: 'org',\n name: 'name'\n})", + "html": "
await octokit.request('POST /orgs/{org}/projects', {\n  org: 'org',\n  name: 'name'\n})\n
" } ], "summary": "Create an organization project", @@ -24503,7 +24472,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -24977,13 +24945,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

The is_template and template_repository keys are currently available for developer to preview. See Create a repository using a template to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json
" @@ -25240,13 +25206,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

The is_template and template_repository keys are currently available for developer to preview. See Create a repository using a template to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json
" @@ -26218,7 +26182,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26345,7 +26308,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26462,7 +26424,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26582,7 +26543,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26802,7 +26762,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26917,7 +26876,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27024,7 +26982,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27147,7 +27104,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27355,13 +27311,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion comment", @@ -27380,7 +27336,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27448,13 +27403,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion comment", @@ -27510,7 +27465,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27614,13 +27568,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete team discussion comment reaction", @@ -27639,7 +27593,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27737,13 +27690,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion", @@ -27762,7 +27715,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27821,13 +27773,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion", @@ -27883,7 +27835,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27978,13 +27929,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete team discussion reaction", @@ -28003,7 +27954,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -28476,13 +28426,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n org: 'org',\n team_slug: 'team_slug',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n  org: 'org',\n  team_slug: 'team_slug',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n org: 'org',\n team_slug: 'team_slug'\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n  org: 'org',\n  team_slug: 'team_slug'\n})\n
" } ], "summary": "List team projects", @@ -28501,7 +28451,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -28560,13 +28509,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42\n})\n
" } ], "summary": "Check team permissions for a project", @@ -28585,7 +28534,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -28649,13 +28597,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42,\n permission: 'permission',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42,\n  permission: 'permission',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42,\n permission: 'permission'\n})", + "html": "
await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42,\n  permission: 'permission'\n})\n
" } ], "summary": "Add or update team project permissions", @@ -28701,7 +28649,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29329,13 +29276,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/columns/cards/{card_id}', {\n card_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/columns/cards/{card_id}', {\n card_id: 42\n})", + "html": "
await octokit.request('GET /projects/columns/cards/{card_id}', {\n  card_id: 42\n})\n
" } ], "summary": "Get a project card", @@ -29355,7 +29302,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29418,13 +29364,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n card_id: 42,\n note: 'note',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  note: 'note',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n card_id: 42,\n note: 'note'\n})", + "html": "
await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  note: 'note'\n})\n
" } ], "summary": "Update an existing project card", @@ -29477,7 +29423,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29568,13 +29513,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n card_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n card_id: 42\n})", + "html": "
await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n  card_id: 42\n})\n
" } ], "summary": "Delete a project card", @@ -29594,7 +29539,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29656,13 +29600,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n card_id: 42,\n position: 'position',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n  card_id: 42,\n  position: 'position',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n card_id: 42,\n position: 'position'\n})", + "html": "
await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n  card_id: 42,\n  position: 'position'\n})\n
" } ], "summary": "Move a project card", @@ -29718,7 +29662,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29808,13 +29751,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/columns/{column_id}', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/columns/{column_id}', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/columns/{column_id}', {\n column_id: 42\n})", + "html": "
await octokit.request('GET /projects/columns/{column_id}', {\n  column_id: 42\n})\n
" } ], "summary": "Get a project column", @@ -29834,7 +29777,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29897,13 +29839,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /projects/columns/{column_id}', {\n column_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /projects/columns/{column_id}', {\n  column_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /projects/columns/{column_id}', {\n column_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /projects/columns/{column_id}', {\n  column_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update an existing project column", @@ -29948,7 +29890,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30018,13 +29959,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/columns/{column_id}', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/columns/{column_id}', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/columns/{column_id}', {\n column_id: 42\n})", + "html": "
await octokit.request('DELETE /projects/columns/{column_id}', {\n  column_id: 42\n})\n
" } ], "summary": "Delete a project column", @@ -30044,7 +29985,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30137,13 +30077,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/columns/{column_id}/cards', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/columns/{column_id}/cards', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/columns/{column_id}/cards', {\n column_id: 42\n})", + "html": "
await octokit.request('GET /projects/columns/{column_id}/cards', {\n  column_id: 42\n})\n
" } ], "summary": "List project cards", @@ -30163,7 +30103,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30221,13 +30160,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/columns/{column_id}/cards', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/columns/{column_id}/cards', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/columns/{column_id}/cards', {\n column_id: 42\n})", + "html": "
await octokit.request('POST /projects/columns/{column_id}/cards', {\n  column_id: 42\n})\n
" } ], "summary": "Create a project card", @@ -30326,7 +30265,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30427,13 +30365,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/columns/{column_id}/moves', {\n column_id: 42,\n position: 'position',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/columns/{column_id}/moves', {\n  column_id: 42,\n  position: 'position',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/columns/{column_id}/moves', {\n column_id: 42,\n position: 'position'\n})", + "html": "
await octokit.request('POST /projects/columns/{column_id}/moves', {\n  column_id: 42,\n  position: 'position'\n})\n
" } ], "summary": "Move a project column", @@ -30479,7 +30417,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30553,13 +30490,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}', {\n project_id: 42\n})", + "html": "
await octokit.request('GET /projects/{project_id}', {\n  project_id: 42\n})\n
" } ], "summary": "Get a project", @@ -30578,7 +30515,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30633,13 +30569,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /projects/{project_id}', {\n project_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /projects/{project_id}', {\n  project_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /projects/{project_id}', {\n project_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /projects/{project_id}', {\n  project_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update a project", @@ -30725,7 +30661,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30852,13 +30787,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/{project_id}', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/{project_id}', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/{project_id}', {\n project_id: 42\n})", + "html": "
await octokit.request('DELETE /projects/{project_id}', {\n  project_id: 42\n})\n
" } ], "summary": "Delete a project", @@ -30877,7 +30812,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30977,13 +30911,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}/collaborators', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}/collaborators', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}/collaborators', {\n project_id: 42\n})", + "html": "
await octokit.request('GET /projects/{project_id}/collaborators', {\n  project_id: 42\n})\n
" } ], "summary": "List project collaborators", @@ -31003,7 +30937,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31079,13 +31012,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username',\n permission: 'permission',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username',\n  permission: 'permission',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username',\n permission: 'permission'\n})", + "html": "
await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username',\n  permission: 'permission'\n})\n
" } ], "summary": "Add project collaborator", @@ -31134,7 +31067,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31227,13 +31159,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username'\n})", + "html": "
await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username'\n})\n
" } ], "summary": "Remove user as a collaborator", @@ -31253,7 +31185,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31328,13 +31259,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n project_id: 42,\n username: 'username',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n  project_id: 42,\n  username: 'username',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n project_id: 42,\n username: 'username'\n})", + "html": "
await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n  project_id: 42,\n  username: 'username'\n})\n
" } ], "summary": "Get project permission for a user", @@ -31354,7 +31285,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31441,13 +31371,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}/columns', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}/columns', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}/columns', {\n project_id: 42\n})", + "html": "
await octokit.request('GET /projects/{project_id}/columns', {\n  project_id: 42\n})\n
" } ], "summary": "List project columns", @@ -31467,7 +31397,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31524,13 +31453,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/{project_id}/columns', {\n project_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/{project_id}/columns', {\n  project_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/{project_id}/columns', {\n project_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('POST /projects/{project_id}/columns', {\n  project_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Create a project column", @@ -31575,7 +31504,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31707,13 +31635,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /reactions/{reaction_id}', {\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /reactions/{reaction_id}', {\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /reactions/{reaction_id}', {\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /reactions/{reaction_id}', {\n  reaction_id: 42\n})\n
" } ], "summary": "Delete a reaction (Legacy)", @@ -31734,7 +31662,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -31828,13 +31755,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "scarlet-witch", "note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```", "html": "

The Codes of Conduct API is currently available for developers to preview.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.scarlet-witch-preview+json
" @@ -32110,13 +32035,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

The is_template and template_repository keys are currently available for developer to preview. See Create a repository using a template to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json
" @@ -36190,7 +36113,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -36947,7 +36869,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -37988,7 +37909,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -38195,7 +38115,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -38442,13 +38361,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n mediaType: {\n previews: [\n 'zzzax'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch',\n  mediaType: {\n    previews: [\n      'zzzax'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch'\n})\n
" } ], "summary": "Get commit signature protection", @@ -38468,7 +38387,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```", "html": "

Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.zzzax-preview+json
" @@ -38535,13 +38453,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n mediaType: {\n previews: [\n 'zzzax'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch',\n  mediaType: {\n    previews: [\n      'zzzax'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch'\n})\n
" } ], "summary": "Create commit signature protection", @@ -38561,7 +38479,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```", "html": "

Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.zzzax-preview+json
" @@ -38628,13 +38545,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n mediaType: {\n previews: [\n 'zzzax'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch',\n  mediaType: {\n    previews: [\n      'zzzax'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch'\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch'\n})\n
" } ], "summary": "Delete commit signature protection", @@ -38654,7 +38571,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```", "html": "

Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.zzzax-preview+json
" @@ -48079,7 +47995,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -48166,7 +48081,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -48477,13 +48391,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42\n})\n
" } ], "summary": "List reactions for a commit comment", @@ -48502,7 +48416,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -48566,13 +48479,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a commit comment", @@ -48628,7 +48541,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -48733,13 +48645,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete a commit comment reaction", @@ -48758,7 +48670,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -48978,13 +48889,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha',\n mediaType: {\n previews: [\n 'groot'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha',\n  mediaType: {\n    previews: [\n      'groot'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha'\n})\n
" } ], "summary": "List branches for HEAD commit", @@ -49004,7 +48915,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```", "html": "

Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.groot-preview+json
" @@ -49117,7 +49027,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -49385,13 +49294,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha',\n mediaType: {\n previews: [\n 'groot'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha',\n  mediaType: {\n    previews: [\n      'groot'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha'\n})\n
" } ], "summary": "List pull requests associated with a commit", @@ -49411,7 +49320,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```", "html": "

Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.groot-preview+json
" @@ -50158,13 +50066,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n owner: 'octocat',\n repo: 'hello-world',\n content_reference_id: 42,\n title: 'title',\n body: 'body',\n mediaType: {\n previews: [\n 'corsair'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  content_reference_id: 42,\n  title: 'title',\n  body: 'body',\n  mediaType: {\n    previews: [\n      'corsair'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n owner: 'octocat',\n repo: 'hello-world',\n content_reference_id: 42,\n title: 'title',\n body: 'body'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  content_reference_id: 42,\n  title: 'title',\n  body: 'body'\n})\n
" } ], "summary": "Create a content attachment", @@ -50220,7 +50128,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "corsair", "note": "To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.corsair-preview+json\n```", "html": "

To access the Content Attachments API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.corsair-preview+json
" @@ -51577,7 +51484,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -51791,7 +51697,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -51995,13 +51900,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -52201,13 +52104,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -52401,13 +52302,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -52591,13 +52490,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -57652,13 +57549,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -58127,7 +58022,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -58224,13 +58118,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -58536,13 +58428,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42\n})\n
" } ], "summary": "List reactions for an issue comment", @@ -58561,7 +58453,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -58625,13 +58516,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for an issue comment", @@ -58687,7 +58578,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -58787,13 +58677,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete an issue comment reaction", @@ -58812,7 +58702,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -58906,7 +58795,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -58997,7 +58885,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -59098,7 +58985,6 @@ "category": "issues", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -59840,7 +59726,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -60095,7 +59980,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -61081,13 +60965,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42\n})\n
" } ], "summary": "List reactions for an issue", @@ -61106,7 +60990,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -61175,13 +61058,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for an issue", @@ -61237,7 +61120,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -61337,13 +61219,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete an issue reaction", @@ -61362,7 +61244,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -61440,13 +61321,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n mediaType: {\n previews: [\n 'mockingbird'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  mediaType: {\n    previews: [\n      'mockingbird'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42\n})\n
" } ], "summary": "List timeline events for an issue", @@ -61466,13 +61347,11 @@ "subcategory": "timeline", "previews": [ { - "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" }, { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -63887,13 +63766,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n },\n mediaType: {\n previews: [\n 'switcheroo'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  source: {\n    branch: 'branch',\n    path: 'path'\n  },\n  mediaType: {\n    previews: [\n      'switcheroo'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n }\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  source: {\n    branch: 'branch',\n    path: 'path'\n  }\n})\n
" } ], "summary": "Create a GitHub Enterprise Server Pages site", @@ -64004,7 +63883,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```", "html": "

Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.switcheroo-preview+json
" @@ -64392,13 +64270,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'switcheroo'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'switcheroo'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "Delete a GitHub Enterprise Server Pages site", @@ -64418,7 +64296,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```", "html": "

Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.switcheroo-preview+json
" @@ -64833,13 +64710,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "List pre-receive hooks for a repository", @@ -64859,7 +64736,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -64920,13 +64796,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Get a pre-receive hook for a repository", @@ -64946,7 +64822,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -65007,13 +64882,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement'\n})", + "html": "
await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement'\n})\n
" } ], "summary": "Update pre-receive hook enforcement for a repository", @@ -65061,7 +64936,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -65138,13 +65012,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Remove pre-receive hook enforcement for a repository", @@ -65164,7 +65038,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -65251,13 +65124,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "List repository projects", @@ -65276,7 +65149,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -65350,13 +65222,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world',\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world',\n name: 'name'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  name: 'name'\n})\n
" } ], "summary": "Create a repository project", @@ -65412,7 +65284,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -65983,13 +65854,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -66076,13 +65945,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -66201,7 +66068,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -66396,13 +66262,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42\n})\n
" } ], "summary": "List reactions for a pull request review comment", @@ -66421,7 +66287,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -66485,13 +66350,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a pull request review comment", @@ -66547,7 +66412,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -66647,13 +66511,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete a pull request comment reaction", @@ -66672,7 +66536,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -67110,13 +66973,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -67333,7 +67194,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -69872,13 +69732,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n owner: 'octocat',\n repo: 'hello-world',\n pull_number: 42,\n expected_head_sha: 'expected_head_sha',\n mediaType: {\n previews: [\n 'lydian'\n ]\n }\n})", - "html": "
await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pull_number: 42,\n  expected_head_sha: 'expected_head_sha',\n  mediaType: {\n    previews: [\n      'lydian'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n owner: 'octocat',\n repo: 'hello-world',\n pull_number: 42,\n expected_head_sha: 'expected_head_sha'\n})", + "html": "
await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pull_number: 42,\n  expected_head_sha: 'expected_head_sha'\n})\n
" } ], "summary": "Update a pull request branch", @@ -69922,7 +69782,6 @@ "category": "pulls", "previews": [ { - "required": true, "name": "lydian", "note": "Updating the pull request branch with latest upstream changes is currently available for developers to preview. To access this new endpoint during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.lydian-preview+json\n```", "html": "

Updating the pull request branch with latest upstream changes 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.lydian-preview+json
" @@ -73256,13 +73115,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'mercy'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "Get all repository topics", @@ -73281,7 +73140,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -73340,13 +73198,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n names: [\n 'names'\n ],\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})", - "html": "
await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  names: [\n    'names'\n  ],\n  mediaType: {\n    previews: [\n      'mercy'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n names: [\n 'names'\n ]\n})", + "html": "
await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  names: [\n    'names'\n  ]\n})\n
" } ], "summary": "Replace all repository topics", @@ -73400,7 +73258,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -73688,13 +73545,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n template_owner: 'template_owner',\n template_repo: 'template_repo',\n name: 'name',\n mediaType: {\n previews: [\n 'baptiste'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n  template_owner: 'template_owner',\n  template_repo: 'template_repo',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'baptiste'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n template_owner: 'template_owner',\n template_repo: 'template_repo',\n name: 'name'\n})", + "html": "
await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n  template_owner: 'template_owner',\n  template_repo: 'template_repo',\n  name: 'name'\n})\n
" } ], "summary": "Create a repository using a template", @@ -73782,7 +73639,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "baptiste", "note": "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](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

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
" @@ -74133,13 +73989,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://{hostname}/api/v3/search/commits", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/commits", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /search/commits', {\n q: 'q',\n mediaType: {\n previews: [\n 'cloak'\n ]\n }\n})", - "html": "
await octokit.request('GET /search/commits', {\n  q: 'q',\n  mediaType: {\n    previews: [\n      'cloak'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /search/commits', {\n q: 'q'\n})", + "html": "
await octokit.request('GET /search/commits', {\n  q: 'q'\n})\n
" } ], "summary": "Search commits", @@ -74158,7 +74014,6 @@ "category": "search", "previews": [ { - "required": true, "name": "cloak", "note": "The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2017-01-05-commit-search-api/) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.cloak-preview\n```", "html": "

The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.cloak-preview
" @@ -74555,7 +74410,6 @@ "category": "search", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -74631,13 +74485,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/search/topics", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/topics", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /search/topics', {\n q: 'q',\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})", - "html": "
await octokit.request('GET /search/topics', {\n  q: 'q',\n  mediaType: {\n    previews: [\n      'mercy'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /search/topics', {\n q: 'q'\n})", + "html": "
await octokit.request('GET /search/topics', {\n  q: 'q'\n})\n
" } ], "summary": "Search topics", @@ -74656,7 +74510,6 @@ "category": "search", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -76045,7 +75898,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76165,7 +76017,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76275,7 +76126,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76388,7 +76238,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76594,7 +76443,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76702,7 +76550,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76802,7 +76649,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -76918,7 +76764,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -77110,13 +76955,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion comment (Legacy)", @@ -77137,7 +76982,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -77196,13 +77040,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion comment (Legacy)", @@ -77260,7 +77104,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -77371,13 +77214,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion (Legacy)", @@ -77398,7 +77241,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -77448,13 +77290,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion (Legacy)", @@ -77512,7 +77354,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -78218,13 +78059,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/projects', {\n team_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/projects', {\n  team_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/projects', {\n team_id: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/projects', {\n  team_id: 42\n})\n
" } ], "summary": "List team projects (Legacy)", @@ -78245,7 +78086,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -78300,13 +78140,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42\n})\n
" } ], "summary": "Check team permissions for a project (Legacy)", @@ -78327,7 +78167,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -78382,13 +78221,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42,\n permission: 'permission',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42,\n  permission: 'permission',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42,\n permission: 'permission'\n})", + "html": "
await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42,\n  permission: 'permission'\n})\n
" } ], "summary": "Add or update team project permissions (Legacy)", @@ -78435,7 +78274,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -80672,7 +80510,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -81020,13 +80857,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.1/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -81828,13 +81663,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /user/projects', {\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /user/projects', {\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /user/projects', {\n name: 'name'\n})", + "html": "
await octokit.request('POST /user/projects', {\n  name: 'name'\n})\n
" } ], "summary": "Create a user project", @@ -81889,7 +81724,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -82461,13 +82295,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.1/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

The is_template and template_repository keys are currently available for developer to preview. See Create a repository using a template to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json
" @@ -84658,13 +84490,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /users/{username}/projects', {\n username: 'username',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /users/{username}/projects', {\n  username: 'username',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /users/{username}/projects', {\n username: 'username'\n})", + "html": "
await octokit.request('GET /users/{username}/projects', {\n  username: 'username'\n})\n
" } ], "summary": "List user projects", @@ -84683,7 +84515,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -84978,7 +84809,6 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.1/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" diff --git a/lib/rest/static/decorated/ghes-3.2.json b/lib/rest/static/decorated/ghes-3.2.json index 8d8a56c079..4cf82cf681 100644 --- a/lib/rest/static/decorated/ghes-3.2.json +++ b/lib/rest/static/decorated/ghes-3.2.json @@ -85,13 +85,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/hooks', {\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/hooks', {\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/hooks')", + "html": "
await octokit.request('GET /admin/hooks')\n
" } ], "summary": "List global webhooks", @@ -111,7 +111,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -155,13 +154,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks \\\n -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks \\\n  -d '{\"name\":\"name\",\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/hooks', {\n name: 'name',\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n },\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/hooks', {\n  name: 'name',\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  },\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/hooks', {\n name: 'name',\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n }\n})", + "html": "
await octokit.request('POST /admin/hooks', {\n  name: 'name',\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  }\n})\n
" } ], "summary": "Create a global webhook", @@ -334,7 +333,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -514,13 +512,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/hooks/{hook_id}', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/hooks/{hook_id}', {\n hook_id: 42\n})", + "html": "
await octokit.request('GET /admin/hooks/{hook_id}', {\n  hook_id: 42\n})\n
" } ], "summary": "Get a global webhook", @@ -540,7 +538,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -593,13 +590,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42 \\\n -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42 \\\n  -d '{\"config\":{\"url\":\"url\",\"content_type\":\"content_type\",\"secret\":\"secret\",\"insecure_ssl\":\"insecure_ssl\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /admin/hooks/{hook_id}', {\n hook_id: 42,\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n },\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  },\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /admin/hooks/{hook_id}', {\n hook_id: 42,\n config: {\n url: 'url',\n content_type: 'content_type',\n secret: 'secret',\n insecure_ssl: 'insecure_ssl'\n }\n})", + "html": "
await octokit.request('PATCH /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  config: {\n    url: 'url',\n    content_type: 'content_type',\n    secret: 'secret',\n    insecure_ssl: 'insecure_ssl'\n  }\n})\n
" } ], "summary": "Update a global webhook", @@ -754,7 +751,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -925,13 +921,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /admin/hooks/{hook_id}', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /admin/hooks/{hook_id}', {\n  hook_id: 42,\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /admin/hooks/{hook_id}', {\n hook_id: 42\n})", + "html": "
await octokit.request('DELETE /admin/hooks/{hook_id}', {\n  hook_id: 42\n})\n
" } ], "summary": "Delete a global webhook", @@ -951,7 +947,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -1003,13 +998,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.superpro-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/hooks/42/pings", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/hooks/42/pings
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n hook_id: 42,\n mediaType: {\n previews: [\n 'superpro'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n  hook_id: 42,\n  mediaType: {\n    previews: [\n      'superpro'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n hook_id: 42\n})", + "html": "
await octokit.request('POST /admin/hooks/{hook_id}/pings', {\n  hook_id: 42\n})\n
" } ], "summary": "Ping a global webhook", @@ -1029,7 +1024,6 @@ "subcategory": "global-webhooks", "previews": [ { - "required": true, "name": "superpro", "note": "The [Global Webhooks API](https://docs.github.com/enterprise-server@3.2/rest/reference/enterprise-admin#global-webhooks) is currently available for developers to preview. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.superpro-preview+json\n```", "html": "

The Global Webhooks API is currently available for developers to preview. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.superpro-preview+json
" @@ -1293,7 +1287,6 @@ "subcategory": "ldap", "previews": [ { - "required": false, "name": "hellcat", "note": "The Nested Teams API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2017-08-30-preview-nested-teams) for full details. To access the API, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.hellcat-preview+json\n```", "html": "

The Nested Teams API is currently available for developers to preview. See the blog post for full details. To access the API, you must provide a custom media type in the Accept header:

\n
application/vnd.github.hellcat-preview+json
" @@ -1830,13 +1823,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-environments', {\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-environments', {\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-environments')", + "html": "
await octokit.request('GET /admin/pre-receive-environments')\n
" } ], "summary": "List pre-receive environments", @@ -1856,7 +1849,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -1888,13 +1880,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments \\\n  -d '{\"name\":\"name\",\"image_url\":\"image_url\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/pre-receive-environments', {\n name: 'name',\n image_url: 'image_url',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/pre-receive-environments', {\n  name: 'name',\n  image_url: 'image_url',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/pre-receive-environments', {\n name: 'name',\n image_url: 'image_url'\n})", + "html": "
await octokit.request('POST /admin/pre-receive-environments', {\n  name: 'name',\n  image_url: 'image_url'\n})\n
" } ], "summary": "Create a pre-receive environment", @@ -1952,7 +1944,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2014,13 +2005,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Get a pre-receive environment", @@ -2040,7 +2031,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2082,13 +2072,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update a pre-receive environment", @@ -2137,7 +2127,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2205,13 +2194,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Delete a pre-receive environment", @@ -2231,7 +2220,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2278,13 +2266,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Start a pre-receive environment download", @@ -2304,7 +2292,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2352,13 +2339,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-environments/42/downloads/latest
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n pre_receive_environment_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n  pre_receive_environment_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n pre_receive_environment_id: 42\n})", + "html": "
await octokit.request('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', {\n  pre_receive_environment_id: 42\n})\n
" } ], "summary": "Get the download status for a pre-receive environment", @@ -2378,7 +2365,6 @@ "subcategory": "pre-receive-environments", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2462,13 +2448,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-hooks', {\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-hooks', {\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-hooks')", + "html": "
await octokit.request('GET /admin/pre-receive-hooks')\n
" } ], "summary": "List pre-receive hooks", @@ -2488,7 +2474,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2520,13 +2505,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks \\\n  -d '{\"name\":\"name\",\"script\":\"script\",\"script_repository\":{},\"environment\":{}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /admin/pre-receive-hooks', {\n name: 'name',\n script: 'script',\n script_repository: {},\n environment: {},\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('POST /admin/pre-receive-hooks', {\n  name: 'name',\n  script: 'script',\n  script_repository: {},\n  environment: {},\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /admin/pre-receive-hooks', {\n name: 'name',\n script: 'script',\n script_repository: {},\n environment: {}\n})", + "html": "
await octokit.request('POST /admin/pre-receive-hooks', {\n  name: 'name',\n  script: 'script',\n  script_repository: {},\n  environment: {}\n})\n
" } ], "summary": "Create a pre-receive hook", @@ -2634,7 +2619,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2737,13 +2721,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('GET /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Get a pre-receive hook", @@ -2763,7 +2747,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -2806,13 +2789,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update a pre-receive hook", @@ -2908,7 +2891,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -3011,13 +2993,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/admin/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('DELETE /admin/pre-receive-hooks/{pre_receive_hook_id}', {\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Delete a pre-receive hook", @@ -3037,7 +3019,6 @@ "subcategory": "pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -15978,7 +15959,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -16243,13 +16223,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -17643,7 +17621,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```", "html": "

New repository creation permissions are available to preview. You can now use members_can_create_public_repositories, members_can_create_private_repositories, and members_can_create_internal_repositories. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.

\n

To access these new parameters during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.surtur-preview+json
" @@ -17904,7 +17881,6 @@ "category": "orgs", "previews": [ { - "required": false, "name": "surtur", "note": "New repository creation permissions are available to preview. You can now use `members_can_create_public_repositories`, `members_can_create_private_repositories`, and `members_can_create_internal_repositories`. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.\n\nTo access these new parameters during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.surtur-preview+json\n```", "html": "

New repository creation permissions are available to preview. You can now use members_can_create_public_repositories, members_can_create_private_repositories, and members_can_create_internal_repositories. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.

\n

To access these new parameters during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.surtur-preview+json
" @@ -23570,13 +23546,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -24474,13 +24448,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n org: 'org',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n  org: 'org',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n org: 'org'\n})", + "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks', {\n  org: 'org'\n})\n
" } ], "summary": "List pre-receive hooks for an organization", @@ -24500,7 +24474,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24552,13 +24525,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Get a pre-receive hook for an organization", @@ -24578,7 +24551,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24630,13 +24602,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement'\n})", + "html": "
await octokit.request('PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement'\n})\n
" } ], "summary": "Update pre-receive hook enforcement for an organization", @@ -24689,7 +24661,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24761,13 +24732,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n org: 'org',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('DELETE /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}', {\n  org: 'org',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Remove pre-receive hook enforcement for an organization", @@ -24787,7 +24758,6 @@ "subcategory": "org-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -24865,13 +24835,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/projects', {\n org: 'org',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/projects', {\n  org: 'org',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/projects', {\n org: 'org'\n})", + "html": "
await octokit.request('GET /orgs/{org}/projects', {\n  org: 'org'\n})\n
" } ], "summary": "List organization projects", @@ -24890,7 +24860,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -24935,13 +24904,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/projects \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /orgs/{org}/projects', {\n org: 'org',\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /orgs/{org}/projects', {\n  org: 'org',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /orgs/{org}/projects', {\n org: 'org',\n name: 'name'\n})", + "html": "
await octokit.request('POST /orgs/{org}/projects', {\n  org: 'org',\n  name: 'name'\n})\n
" } ], "summary": "Create an organization project", @@ -24997,7 +24966,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -25471,13 +25439,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "baptiste", "note": "The `is_template` and `template_repository` keys are currently available for developer to preview. See [Create a repository using a template](https://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-repository-using-a-template) to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

The is_template and template_repository keys are currently available for developer to preview. See Create a repository using a template to learn how to create template repositories. To access these new response keys during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.baptiste-preview+json
" @@ -26719,7 +26685,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26846,7 +26811,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -26963,7 +26927,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27083,7 +27046,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27303,7 +27265,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27418,7 +27379,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27525,7 +27485,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27648,7 +27607,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27856,13 +27814,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion comment", @@ -27881,7 +27839,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -27949,13 +27906,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion comment", @@ -28011,7 +27968,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -28115,13 +28071,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n comment_number: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  comment_number: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete team discussion comment reaction", @@ -28140,7 +28096,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -28238,13 +28193,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion", @@ -28263,7 +28218,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -28322,13 +28276,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion", @@ -28384,7 +28338,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -28479,13 +28432,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/discussions/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n org: 'org',\n team_slug: 'team_slug',\n discussion_number: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  discussion_number: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete team discussion reaction", @@ -28504,7 +28457,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -28977,13 +28929,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n org: 'org',\n team_slug: 'team_slug',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n  org: 'org',\n  team_slug: 'team_slug',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n org: 'org',\n team_slug: 'team_slug'\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects', {\n  org: 'org',\n  team_slug: 'team_slug'\n})\n
" } ], "summary": "List team projects", @@ -29002,7 +28954,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29061,13 +29012,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42\n})", + "html": "
await octokit.request('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42\n})\n
" } ], "summary": "Check team permissions for a project", @@ -29086,7 +29037,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29150,13 +29100,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/orgs/ORG/teams/TEAM_SLUG/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42,\n permission: 'permission',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42,\n  permission: 'permission',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n org: 'org',\n team_slug: 'team_slug',\n project_id: 42,\n permission: 'permission'\n})", + "html": "
await octokit.request('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', {\n  org: 'org',\n  team_slug: 'team_slug',\n  project_id: 42,\n  permission: 'permission'\n})\n
" } ], "summary": "Add or update team project permissions", @@ -29202,7 +29152,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29830,13 +29779,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/columns/cards/{card_id}', {\n card_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/columns/cards/{card_id}', {\n card_id: 42\n})", + "html": "
await octokit.request('GET /projects/columns/cards/{card_id}', {\n  card_id: 42\n})\n
" } ], "summary": "Get a project card", @@ -29856,7 +29805,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -29919,13 +29867,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n -d '{\"note\":\"note\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42 \\\n  -d '{\"note\":\"note\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n card_id: 42,\n note: 'note',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  note: 'note',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n card_id: 42,\n note: 'note'\n})", + "html": "
await octokit.request('PATCH /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  note: 'note'\n})\n
" } ], "summary": "Update an existing project card", @@ -29978,7 +29926,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30069,13 +30016,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n card_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n  card_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n card_id: 42\n})", + "html": "
await octokit.request('DELETE /projects/columns/cards/{card_id}', {\n  card_id: 42\n})\n
" } ], "summary": "Delete a project card", @@ -30095,7 +30042,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30157,13 +30103,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/cards/42/moves \\\n  -d '{\"position\":\"position\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n card_id: 42,\n position: 'position',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n  card_id: 42,\n  position: 'position',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n card_id: 42,\n position: 'position'\n})", + "html": "
await octokit.request('POST /projects/columns/cards/{card_id}/moves', {\n  card_id: 42,\n  position: 'position'\n})\n
" } ], "summary": "Move a project card", @@ -30219,7 +30165,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30309,13 +30254,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/columns/{column_id}', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/columns/{column_id}', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/columns/{column_id}', {\n column_id: 42\n})", + "html": "
await octokit.request('GET /projects/columns/{column_id}', {\n  column_id: 42\n})\n
" } ], "summary": "Get a project column", @@ -30335,7 +30280,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30398,13 +30342,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /projects/columns/{column_id}', {\n column_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /projects/columns/{column_id}', {\n  column_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /projects/columns/{column_id}', {\n column_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /projects/columns/{column_id}', {\n  column_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update an existing project column", @@ -30449,7 +30393,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30519,13 +30462,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/columns/{column_id}', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/columns/{column_id}', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/columns/{column_id}', {\n column_id: 42\n})", + "html": "
await octokit.request('DELETE /projects/columns/{column_id}', {\n  column_id: 42\n})\n
" } ], "summary": "Delete a project column", @@ -30545,7 +30488,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30638,13 +30580,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/columns/{column_id}/cards', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/columns/{column_id}/cards', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/columns/{column_id}/cards', {\n column_id: 42\n})", + "html": "
await octokit.request('GET /projects/columns/{column_id}/cards', {\n  column_id: 42\n})\n
" } ], "summary": "List project cards", @@ -30664,7 +30606,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30722,13 +30663,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/cards", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/cards
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/columns/{column_id}/cards', {\n column_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/columns/{column_id}/cards', {\n  column_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/columns/{column_id}/cards', {\n column_id: 42\n})", + "html": "
await octokit.request('POST /projects/columns/{column_id}/cards', {\n  column_id: 42\n})\n
" } ], "summary": "Create a project card", @@ -30827,7 +30768,6 @@ "subcategory": "cards", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -30928,13 +30868,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n -d '{\"position\":\"position\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/columns/42/moves \\\n  -d '{\"position\":\"position\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/columns/{column_id}/moves', {\n column_id: 42,\n position: 'position',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/columns/{column_id}/moves', {\n  column_id: 42,\n  position: 'position',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/columns/{column_id}/moves', {\n column_id: 42,\n position: 'position'\n})", + "html": "
await octokit.request('POST /projects/columns/{column_id}/moves', {\n  column_id: 42,\n  position: 'position'\n})\n
" } ], "summary": "Move a project column", @@ -30980,7 +30920,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31054,13 +30993,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}', {\n project_id: 42\n})", + "html": "
await octokit.request('GET /projects/{project_id}', {\n  project_id: 42\n})\n
" } ], "summary": "Get a project", @@ -31079,7 +31018,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31134,13 +31072,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42 \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42 \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /projects/{project_id}', {\n project_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /projects/{project_id}', {\n  project_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /projects/{project_id}', {\n project_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('PATCH /projects/{project_id}', {\n  project_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Update a project", @@ -31226,7 +31164,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31353,13 +31290,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/{project_id}', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/{project_id}', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/{project_id}', {\n project_id: 42\n})", + "html": "
await octokit.request('DELETE /projects/{project_id}', {\n  project_id: 42\n})\n
" } ], "summary": "Delete a project", @@ -31378,7 +31315,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31478,13 +31414,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}/collaborators', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}/collaborators', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}/collaborators', {\n project_id: 42\n})", + "html": "
await octokit.request('GET /projects/{project_id}/collaborators', {\n  project_id: 42\n})\n
" } ], "summary": "List project collaborators", @@ -31504,7 +31440,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31580,13 +31515,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n -d '{\"permission\":\"permission\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME \\\n  -d '{\"permission\":\"permission\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username',\n permission: 'permission',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username',\n  permission: 'permission',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username',\n permission: 'permission'\n})", + "html": "
await octokit.request('PUT /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username',\n  permission: 'permission'\n})\n
" } ], "summary": "Add project collaborator", @@ -31635,7 +31570,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31728,13 +31662,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n project_id: 42,\n username: 'username'\n})", + "html": "
await octokit.request('DELETE /projects/{project_id}/collaborators/{username}', {\n  project_id: 42,\n  username: 'username'\n})\n
" } ], "summary": "Remove user as a collaborator", @@ -31754,7 +31688,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31829,13 +31762,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/collaborators/USERNAME/permission
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n project_id: 42,\n username: 'username',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n  project_id: 42,\n  username: 'username',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n project_id: 42,\n username: 'username'\n})", + "html": "
await octokit.request('GET /projects/{project_id}/collaborators/{username}/permission', {\n  project_id: 42,\n  username: 'username'\n})\n
" } ], "summary": "Get project permission for a user", @@ -31855,7 +31788,6 @@ "subcategory": "collaborators", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -31942,13 +31874,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /projects/{project_id}/columns', {\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /projects/{project_id}/columns', {\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /projects/{project_id}/columns', {\n project_id: 42\n})", + "html": "
await octokit.request('GET /projects/{project_id}/columns', {\n  project_id: 42\n})\n
" } ], "summary": "List project columns", @@ -31968,7 +31900,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -32025,13 +31956,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/projects/42/columns \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/projects/42/columns \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /projects/{project_id}/columns', {\n project_id: 42,\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /projects/{project_id}/columns', {\n  project_id: 42,\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /projects/{project_id}/columns', {\n project_id: 42,\n name: 'name'\n})", + "html": "
await octokit.request('POST /projects/{project_id}/columns', {\n  project_id: 42,\n  name: 'name'\n})\n
" } ], "summary": "Create a project column", @@ -32076,7 +32007,6 @@ "subcategory": "columns", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -32208,13 +32138,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /reactions/{reaction_id}', {\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /reactions/{reaction_id}', {\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /reactions/{reaction_id}', {\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /reactions/{reaction_id}', {\n  reaction_id: 42\n})\n
" } ], "summary": "Delete a reaction (Legacy)", @@ -32235,7 +32165,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -32329,13 +32258,11 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" }, { - "required": false, "name": "scarlet-witch", "note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```", "html": "

The Codes of Conduct API is currently available for developers to preview.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.scarlet-witch-preview+json
" @@ -37436,7 +37363,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -38193,7 +38119,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -39234,7 +39159,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -39441,7 +39365,6 @@ "subcategory": "branches", "previews": [ { - "required": false, "name": "luke-cage", "note": "The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-03-16-protected-branches-required-approving-reviews) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.luke-cage-preview+json\n```", "html": "

The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.luke-cage-preview+json
" @@ -39688,13 +39611,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n mediaType: {\n previews: [\n 'zzzax'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch',\n  mediaType: {\n    previews: [\n      'zzzax'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch'\n})\n
" } ], "summary": "Get commit signature protection", @@ -39714,7 +39637,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```", "html": "

Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.zzzax-preview+json
" @@ -39781,13 +39703,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n mediaType: {\n previews: [\n 'zzzax'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch',\n  mediaType: {\n    previews: [\n      'zzzax'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch'\n})\n
" } ], "summary": "Create commit signature protection", @@ -39807,7 +39729,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```", "html": "

Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.zzzax-preview+json
" @@ -39874,13 +39795,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.zzzax-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/branches/BRANCH/protection/required_signatures
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch',\n mediaType: {\n previews: [\n 'zzzax'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch',\n  mediaType: {\n    previews: [\n      'zzzax'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n owner: 'octocat',\n repo: 'hello-world',\n branch: 'branch'\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  branch: 'branch'\n})\n
" } ], "summary": "Delete commit signature protection", @@ -39900,7 +39821,6 @@ "subcategory": "branches", "previews": [ { - "required": true, "name": "zzzax", "note": "Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2018-02-22-protected-branches-required-signatures) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.zzzax-preview+json\n```", "html": "

Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.zzzax-preview+json
" @@ -49325,7 +49245,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -49412,7 +49331,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -49723,13 +49641,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42\n})\n
" } ], "summary": "List reactions for a commit comment", @@ -49748,7 +49666,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -49812,13 +49729,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a commit comment", @@ -49874,7 +49791,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -49979,13 +49895,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete a commit comment reaction", @@ -50004,7 +49920,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -50224,13 +50139,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/branches-where-head
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha',\n mediaType: {\n previews: [\n 'groot'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha',\n  mediaType: {\n    previews: [\n      'groot'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha'\n})\n
" } ], "summary": "List branches for HEAD commit", @@ -50250,7 +50165,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```", "html": "

Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.groot-preview+json
" @@ -50363,7 +50277,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -50631,13 +50544,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.groot-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.groot-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/commits/COMMIT_SHA/pulls
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha',\n mediaType: {\n previews: [\n 'groot'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha',\n  mediaType: {\n    previews: [\n      'groot'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n owner: 'octocat',\n repo: 'hello-world',\n commit_sha: 'commit_sha'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  commit_sha: 'commit_sha'\n})\n
" } ], "summary": "List pull requests associated with a commit", @@ -50657,7 +50570,6 @@ "subcategory": "commits", "previews": [ { - "required": true, "name": "groot", "note": "Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-04-11-pulls-branches-for-commit/) for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.groot-preview+json\n```", "html": "

Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.groot-preview+json
" @@ -51424,13 +51336,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n owner: 'octocat',\n repo: 'hello-world',\n content_reference_id: 42,\n title: 'title',\n body: 'body',\n mediaType: {\n previews: [\n 'corsair'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  content_reference_id: 42,\n  title: 'title',\n  body: 'body',\n  mediaType: {\n    previews: [\n      'corsair'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n owner: 'octocat',\n repo: 'hello-world',\n content_reference_id: 42,\n title: 'title',\n body: 'body'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  content_reference_id: 42,\n  title: 'title',\n  body: 'body'\n})\n
" } ], "summary": "Create a content attachment", @@ -51486,7 +51398,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "corsair", "note": "To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.corsair-preview+json\n```", "html": "

To access the Content Attachments API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.corsair-preview+json
" @@ -52843,7 +52754,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -53057,7 +52967,6 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -53261,13 +53170,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -53467,13 +53374,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -53667,13 +53572,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -53857,13 +53760,11 @@ "subcategory": "deployments", "previews": [ { - "required": false, "name": "flash", "note": "New features in the Deployments API on GitHub are currently available during a public beta. Please see the [blog post](https://developer.github.com/changes/2018-10-16-deployments-environments-states-and-auto-inactive-updates/) for full details.\n\nTo access the new `environment` parameter, the two new values for the `state` parameter (`in_progress` and `queued`), and use `auto_inactive` on production deployments during the public beta period, you must provide the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.flash-preview+json\n```", "html": "

New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.

\n

To access the new environment parameter, the two new values for the state parameter (in_progress and queued), and use auto_inactive on production deployments during the public beta period, you must provide the following custom media type in the Accept header:

\n
application/vnd.github.flash-preview+json
" }, { - "required": false, "name": "ant-man", "note": "The `inactive` state and the `log_url`, `environment_url`, and `auto_inactive` parameters are currently available for developers to preview. Please see the [blog post](https://developer.github.com/changes/2016-04-06-deployment-and-deployment-status-enhancements) for full details.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.ant-man-preview+json\n```", "html": "

The inactive state and the log_url, environment_url, and auto_inactive parameters are currently available for developers to preview. Please see the blog post for full details.

\n

To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.ant-man-preview+json
" @@ -59827,13 +59728,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -60302,7 +60201,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -60399,13 +60297,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -60711,13 +60607,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42\n})\n
" } ], "summary": "List reactions for an issue comment", @@ -60736,7 +60632,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -60800,13 +60695,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for an issue comment", @@ -60862,7 +60757,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -60962,13 +60856,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete an issue comment reaction", @@ -60987,7 +60881,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -61081,7 +60974,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -61172,7 +61064,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -61273,7 +61164,6 @@ "category": "issues", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -62015,7 +61905,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -62270,7 +62159,6 @@ "subcategory": "events", "previews": [ { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -63256,13 +63144,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42\n})\n
" } ], "summary": "List reactions for an issue", @@ -63281,7 +63169,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -63350,13 +63237,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for an issue", @@ -63412,7 +63299,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -63512,13 +63398,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete an issue reaction", @@ -63537,7 +63423,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -63615,13 +63500,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n mediaType: {\n previews: [\n 'mockingbird'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  mediaType: {\n    previews: [\n      'mockingbird'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42\n})\n
" } ], "summary": "List timeline events for an issue", @@ -63641,13 +63526,11 @@ "subcategory": "timeline", "previews": [ { - "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" }, { - "required": false, "name": "starfox", "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" @@ -66062,13 +65945,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n },\n mediaType: {\n previews: [\n 'switcheroo'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  source: {\n    branch: 'branch',\n    path: 'path'\n  },\n  mediaType: {\n    previews: [\n      'switcheroo'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n }\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  source: {\n    branch: 'branch',\n    path: 'path'\n  }\n})\n
" } ], "summary": "Create a GitHub Enterprise Server Pages site", @@ -66179,7 +66062,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```", "html": "

Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.switcheroo-preview+json
" @@ -66567,13 +66449,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pages
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'switcheroo'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'switcheroo'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "Delete a GitHub Enterprise Server Pages site", @@ -66593,7 +66475,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```", "html": "

Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.switcheroo-preview+json
" @@ -67008,13 +66889,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "List pre-receive hooks for a repository", @@ -67034,7 +66915,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -67095,13 +66975,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Get a pre-receive hook for a repository", @@ -67121,7 +67001,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -67182,13 +67061,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", - "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" + "source": "curl \\\n -X PATCH \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n -d '{\"enforcement\":\"enforcement\"}'", + "html": "
curl \\\n  -X PATCH \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42 \\\n  -d '{\"enforcement\":\"enforcement\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement',\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement',\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n enforcement: 'enforcement'\n})", + "html": "
await octokit.request('PATCH /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  enforcement: 'enforcement'\n})\n
" } ], "summary": "Update pre-receive hook enforcement for a repository", @@ -67236,7 +67115,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -67313,13 +67191,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.eye-scream-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pre-receive-hooks/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42,\n mediaType: {\n previews: [\n 'eye-scream'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42,\n  mediaType: {\n    previews: [\n      'eye-scream'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n pre_receive_hook_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pre-receive-hooks/{pre_receive_hook_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pre_receive_hook_id: 42\n})\n
" } ], "summary": "Remove pre-receive hook enforcement for a repository", @@ -67339,7 +67217,6 @@ "subcategory": "repo-pre-receive-hooks", "previews": [ { - "required": true, "name": "eye-scream", "note": "APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.\n\nTo access the API you must provide a custom [media type](/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.eye-scream-preview\n```", "html": "

APIs for managing pre-receive hooks are currently available for developers to preview. During the preview period, the APIs may change without advance notice.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.eye-scream-preview
" @@ -67426,13 +67303,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "List repository projects", @@ -67451,7 +67328,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -67525,13 +67401,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/projects \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world',\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/projects', {\n owner: 'octocat',\n repo: 'hello-world',\n name: 'name'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/projects', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  name: 'name'\n})\n
" } ], "summary": "Create a repository project", @@ -67587,7 +67463,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -68158,13 +68033,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -68251,13 +68124,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -68376,7 +68247,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -68571,13 +68441,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42\n})\n
" } ], "summary": "List reactions for a pull request review comment", @@ -68596,7 +68466,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -68660,13 +68529,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a pull request review comment", @@ -68722,7 +68591,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -68822,13 +68690,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/comments/42/reactions/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n owner: 'octocat',\n repo: 'hello-world',\n comment_id: 42,\n reaction_id: 42\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  comment_id: 42,\n  reaction_id: 42\n})\n
" } ], "summary": "Delete a pull request comment reaction", @@ -68847,7 +68715,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -69285,13 +69152,11 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" }, { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -69508,7 +69373,6 @@ "subcategory": "comments", "previews": [ { - "required": false, "name": "comfort-fade", "note": "Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the [blog post](https://developer.github.com/changes/2019-10-03-multi-line-comments) for more information.\n\nTo create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.comfort-fade-preview+json\n```\n\nTo show multi-line comment-supported fields in the response, use the `comfort-fade` preview header and the `line` parameter.\n\nIf you use the `comfort-fade` preview header, your response will show:\n\n* For multi-line comments, values for `start_line`, `original_start_line`, `start_side`, `line`, `original_line`, and `side`.\n* For single-line comments, values for `line`, `original_line`, and `side` and a `null` value for `start_line`, `original_start_line`, and `start_side`.\n\nIf you don't use the `comfort-fade` preview header, multi-line and single-line comments will appear the same way in the response with a single `position` attribute. Your response will show:\n\n* For multi-line comments, the last line of the comment range for the `position` attribute.\n* For single-line comments, the diff-positioned way of referencing comments for the `position` attribute.", "html": "

Multi-line comments in a pull request diff is currently available for developers to preview. During the preview period, these response fields may change without advance notice. See the blog post for more information.

\n

To create multi-line comments or see multi-line comments with the new supported fields during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.comfort-fade-preview+json
\n

To show multi-line comment-supported fields in the response, use the comfort-fade preview header and the line parameter.

\n

If you use the comfort-fade preview header, your response will show:

\n\n

If you don't use the comfort-fade preview header, multi-line and single-line comments will appear the same way in the response with a single position attribute. Your response will show:

\n" @@ -72047,13 +71911,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.lydian-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n -d '{\"expected_head_sha\":\"expected_head_sha\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/pulls/42/update-branch \\\n  -d '{\"expected_head_sha\":\"expected_head_sha\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n owner: 'octocat',\n repo: 'hello-world',\n pull_number: 42,\n expected_head_sha: 'expected_head_sha',\n mediaType: {\n previews: [\n 'lydian'\n ]\n }\n})", - "html": "
await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pull_number: 42,\n  expected_head_sha: 'expected_head_sha',\n  mediaType: {\n    previews: [\n      'lydian'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n owner: 'octocat',\n repo: 'hello-world',\n pull_number: 42,\n expected_head_sha: 'expected_head_sha'\n})", + "html": "
await octokit.request('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  pull_number: 42,\n  expected_head_sha: 'expected_head_sha'\n})\n
" } ], "summary": "Update a pull request branch", @@ -72097,7 +71961,6 @@ "category": "pulls", "previews": [ { - "required": true, "name": "lydian", "note": "Updating the pull request branch with latest upstream changes is currently available for developers to preview. To access this new endpoint during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.lydian-preview+json\n```", "html": "

Updating the pull request branch with latest upstream changes 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.lydian-preview+json
" @@ -73743,13 +73606,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/releases/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/releases/{release_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n release_id: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/releases/{release_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  release_id: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/releases/{release_id}/reactions', {\n owner: 'octocat',\n repo: 'hello-world',\n release_id: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/releases/{release_id}/reactions', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  release_id: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a release", @@ -73803,7 +73666,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -75580,13 +75442,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'mercy'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "Get all repository topics", @@ -75605,7 +75467,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -75664,13 +75525,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n -d '{\"names\":[\"names\"]}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/topics \\\n  -d '{\"names\":[\"names\"]}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n names: [\n 'names'\n ],\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})", - "html": "
await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  names: [\n    'names'\n  ],\n  mediaType: {\n    previews: [\n      'mercy'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n owner: 'octocat',\n repo: 'hello-world',\n names: [\n 'names'\n ]\n})", + "html": "
await octokit.request('PUT /repos/{owner}/{repo}/topics', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  names: [\n    'names'\n  ]\n})\n
" } ], "summary": "Replace all repository topics", @@ -75724,7 +75585,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -76012,13 +75872,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n template_owner: 'template_owner',\n template_repo: 'template_repo',\n name: 'name',\n mediaType: {\n previews: [\n 'baptiste'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n  template_owner: 'template_owner',\n  template_repo: 'template_repo',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'baptiste'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n template_owner: 'template_owner',\n template_repo: 'template_repo',\n name: 'name'\n})", + "html": "
await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n  template_owner: 'template_owner',\n  template_repo: 'template_repo',\n  name: 'name'\n})\n
" } ], "summary": "Create a repository using a template", @@ -76106,7 +75966,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "baptiste", "note": "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](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

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
" @@ -76920,13 +76779,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n http(s)://{hostname}/api/v3/search/commits", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.cloak-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/commits", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/commits
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /search/commits', {\n q: 'q',\n mediaType: {\n previews: [\n 'cloak'\n ]\n }\n})", - "html": "
await octokit.request('GET /search/commits', {\n  q: 'q',\n  mediaType: {\n    previews: [\n      'cloak'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /search/commits', {\n q: 'q'\n})", + "html": "
await octokit.request('GET /search/commits', {\n  q: 'q'\n})\n
" } ], "summary": "Search commits", @@ -76945,7 +76804,6 @@ "category": "search", "previews": [ { - "required": true, "name": "cloak", "note": "The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2017-01-05-commit-search-api/) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.cloak-preview\n```", "html": "

The Commit Search API is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.cloak-preview
" @@ -77342,7 +77200,6 @@ "category": "search", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -77418,13 +77275,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n http(s)://{hostname}/api/v3/search/topics", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mercy-preview+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/search/topics", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/search/topics
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /search/topics', {\n q: 'q',\n mediaType: {\n previews: [\n 'mercy'\n ]\n }\n})", - "html": "
await octokit.request('GET /search/topics', {\n  q: 'q',\n  mediaType: {\n    previews: [\n      'mercy'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /search/topics', {\n q: 'q'\n})", + "html": "
await octokit.request('GET /search/topics', {\n  q: 'q'\n})\n
" } ], "summary": "Search topics", @@ -77443,7 +77300,6 @@ "category": "search", "previews": [ { - "required": true, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -78832,7 +78688,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -78952,7 +78807,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -79062,7 +78916,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -79175,7 +79028,6 @@ "subcategory": "discussions", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -79381,7 +79233,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -79489,7 +79340,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -79589,7 +79439,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -79705,7 +79554,6 @@ "subcategory": "discussion-comments", "previews": [ { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -79897,13 +79745,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion comment (Legacy)", @@ -79924,7 +79772,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -79983,13 +79830,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/comments/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n comment_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  comment_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion comment (Legacy)", @@ -80047,7 +79894,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -80158,13 +80004,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42\n})\n
" } ], "summary": "List reactions for a team discussion (Legacy)", @@ -80185,7 +80031,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -80235,13 +80080,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.squirrel-girl-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n -d '{\"content\":\"content\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/discussions/42/reactions \\\n  -d '{\"content\":\"content\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n content: 'content',\n mediaType: {\n previews: [\n 'squirrel-girl'\n ]\n }\n})", - "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  content: 'content',\n  mediaType: {\n    previews: [\n      'squirrel-girl'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n team_id: 42,\n discussion_number: 42,\n content: 'content'\n})", + "html": "
await octokit.request('POST /teams/{team_id}/discussions/{discussion_number}/reactions', {\n  team_id: 42,\n  discussion_number: 42,\n  content: 'content'\n})\n
" } ], "summary": "Create reaction for a team discussion (Legacy)", @@ -80299,7 +80144,6 @@ "category": "reactions", "previews": [ { - "required": true, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -81005,13 +80849,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/projects', {\n team_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/projects', {\n  team_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/projects', {\n team_id: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/projects', {\n  team_id: 42\n})\n
" } ], "summary": "List team projects (Legacy)", @@ -81032,7 +80876,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -81087,13 +80930,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42,\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42,\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42\n})", + "html": "
await octokit.request('GET /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42\n})\n
" } ], "summary": "Check team permissions for a project (Legacy)", @@ -81114,7 +80957,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -81169,13 +81011,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", - "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n -d '{\"permission\":\"permission\"}'", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/teams/42/projects/42 \\\n  -d '{\"permission\":\"permission\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42,\n permission: 'permission',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42,\n  permission: 'permission',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n team_id: 42,\n project_id: 42,\n permission: 'permission'\n})", + "html": "
await octokit.request('PUT /teams/{team_id}/projects/{project_id}', {\n  team_id: 42,\n  project_id: 42,\n  permission: 'permission'\n})\n
" } ], "summary": "Add or update team project permissions (Legacy)", @@ -81222,7 +81064,6 @@ "category": "teams", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -83459,7 +83300,6 @@ "subcategory": "installations", "previews": [ { - "required": false, "name": "mercy", "note": "The `topics` property for repositories on GitHub is currently available for developers to preview. To view the `topics` property in calls that return repository results, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mercy-preview+json\n```", "html": "

The topics property for repositories on GitHub is currently available for developers to preview. To view the topics property in calls that return repository results, you must provide a custom media type in the Accept header:

\n
application/vnd.github.mercy-preview+json
" @@ -83807,13 +83647,11 @@ "category": "issues", "previews": [ { - "required": false, "name": "machine-man", "note": "If an issue event is created via a GitHub App, the response will include the `performed_via_github_app` object with\tinformation about the GitHub App. For more information, see the [related blog\tpost](https://developer.github.com/changes/2016-09-14-Integrations-Early-Access).\nTo receive the `performed_via_github_app` object in the response, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.machine-man-preview\n```", "html": "

If an issue event is created via a GitHub App, the response will include the performed_via_github_app object with\tinformation about the GitHub App. For more information, see the related blog\tpost.\nTo receive the performed_via_github_app object in the response, you must provide a custom media type in the Accept header:

\n
application/vnd.github.machine-man-preview
" }, { - "required": false, "name": "squirrel-girl", "note": "An additional `reactions` object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-12-reactions-api-preview) for full details.\n\nTo access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.squirrel-girl-preview\n```\nThe `reactions` key will have the following payload where `url` can be used to construct the API location for [listing and creating](https://docs.github.com/enterprise-server@3.2/rest/reference/reactions) reactions.", "html": "

An additional reactions object in the issue comment payload is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details.

\n

To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.squirrel-girl-preview
\n

The reactions key will have the following payload where url can be used to construct the API location for listing and creating reactions.

" @@ -84615,13 +84453,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/user/projects \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/user/projects \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /user/projects', {\n name: 'name',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('POST /user/projects', {\n  name: 'name',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /user/projects', {\n name: 'name'\n})", + "html": "
await octokit.request('POST /user/projects', {\n  name: 'name'\n})\n
" } ], "summary": "Create a user project", @@ -84676,7 +84514,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -87454,13 +87291,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.inertia-preview+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/users/USERNAME/projects", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/users/USERNAME/projects
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /users/{username}/projects', {\n username: 'username',\n mediaType: {\n previews: [\n 'inertia'\n ]\n }\n})", - "html": "
await octokit.request('GET /users/{username}/projects', {\n  username: 'username',\n  mediaType: {\n    previews: [\n      'inertia'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /users/{username}/projects', {\n username: 'username'\n})", + "html": "
await octokit.request('GET /users/{username}/projects', {\n  username: 'username'\n})\n
" } ], "summary": "List user projects", @@ -87479,7 +87316,6 @@ "category": "projects", "previews": [ { - "required": true, "name": "inertia", "note": "The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-10-27-changes-to-projects-api) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.inertia-preview+json\n```", "html": "

The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.inertia-preview+json
" @@ -87774,7 +87610,6 @@ "category": "repos", "previews": [ { - "required": false, "name": "nebula", "note": "You can set the visibility of a repository using the new `visibility` parameter in the [Repositories API](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/), and get a repository's visibility with a new response key. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes/).\n\nTo access repository visibility during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.nebula-preview+json\n```", "html": "

You can set the visibility of a repository using the new visibility parameter in the Repositories API, and get a repository's visibility with a new response key. For more information, see the blog post.

\n

To access repository visibility during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.nebula-preview+json
" diff --git a/lib/rest/static/decorated/ghes-3.3.json b/lib/rest/static/decorated/ghes-3.3.json index 5e246c34fb..15a8f36394 100644 --- a/lib/rest/static/decorated/ghes-3.3.json +++ b/lib/rest/static/decorated/ghes-3.3.json @@ -47127,13 +47127,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/rerequest", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.antiope-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/rerequest
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/rerequest", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/check-runs/42/rerequest
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest', {\n owner: 'octocat',\n repo: 'hello-world',\n check_run_id: 42,\n mediaType: {\n previews: [\n 'antiope'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  check_run_id: 42,\n  mediaType: {\n    previews: [\n      'antiope'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest', {\n owner: 'octocat',\n repo: 'hello-world',\n check_run_id: 42\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  check_run_id: 42\n})\n
" } ], "summary": "Rerequest a check run", @@ -47153,7 +47153,6 @@ "subcategory": "runs", "previews": [ { - "required": true, "name": "antiope", "note": "The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/) for full details. To access the API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.antiope-preview+json\n```", "html": "

The Checks API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.antiope-preview+json
" @@ -51652,13 +51651,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.corsair-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n -d '{\"title\":\"title\",\"body\":\"body\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/octocat/hello-world/content_references/42/attachments \\\n  -d '{\"title\":\"title\",\"body\":\"body\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n owner: 'octocat',\n repo: 'hello-world',\n content_reference_id: 42,\n title: 'title',\n body: 'body',\n mediaType: {\n previews: [\n 'corsair'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  content_reference_id: 42,\n  title: 'title',\n  body: 'body',\n  mediaType: {\n    previews: [\n      'corsair'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n owner: 'octocat',\n repo: 'hello-world',\n content_reference_id: 42,\n title: 'title',\n body: 'body'\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/content_references/{content_reference_id}/attachments', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  content_reference_id: 42,\n  title: 'title',\n  body: 'body'\n})\n
" } ], "summary": "Create a content attachment", @@ -51714,7 +51713,6 @@ "enabledForGitHubApps": true, "previews": [ { - "required": true, "name": "corsair", "note": "To access the Content Attachments API during the preview period, you must provide a custom [media type](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.corsair-preview+json\n```", "html": "

To access the Content Attachments API during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.corsair-preview+json
" @@ -76416,13 +76414,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.baptiste-preview+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n -d '{\"name\":\"name\"}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  http(s)://{hostname}/api/v3/repos/TEMPLATE_OWNER/TEMPLATE_REPO/generate \\\n  -d '{\"name\":\"name\"}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n template_owner: 'template_owner',\n template_repo: 'template_repo',\n name: 'name',\n mediaType: {\n previews: [\n 'baptiste'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n  template_owner: 'template_owner',\n  template_repo: 'template_repo',\n  name: 'name',\n  mediaType: {\n    previews: [\n      'baptiste'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n template_owner: 'template_owner',\n template_repo: 'template_repo',\n name: 'name'\n})", + "html": "
await octokit.request('POST /repos/{template_owner}/{template_repo}/generate', {\n  template_owner: 'template_owner',\n  template_repo: 'template_repo',\n  name: 'name'\n})\n
" } ], "summary": "Create a repository using a template", @@ -76510,7 +76508,6 @@ "category": "repos", "previews": [ { - "required": true, "name": "baptiste", "note": "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](https://docs.github.com/enterprise-server@3.3/rest/overview/media-types) in the `Accept` header:\n\n```shell\napplication/vnd.github.baptiste-preview+json\n```", "html": "

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
" diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json index c3b2393a76..e961c7b48c 100644 --- a/lib/rest/static/decorated/github.ae.json +++ b/lib/rest/static/decorated/github.ae.json @@ -57223,13 +57223,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", - "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.switcheroo-preview+json\" \\\n  https://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
" + "source": "curl \\\n -X POST \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'", + "html": "
curl \\\n  -X POST \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://{hostname}/api/v3/repos/octocat/hello-world/pages \\\n  -d '{\"source\":{\"branch\":\"branch\",\"path\":\"path\"}}'
" }, { "lang": "JavaScript", - "source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n },\n mediaType: {\n previews: [\n 'switcheroo'\n ]\n }\n})", - "html": "
await octokit.request('POST /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  source: {\n    branch: 'branch',\n    path: 'path'\n  },\n  mediaType: {\n    previews: [\n      'switcheroo'\n    ]\n  }\n})\n
" + "source": "await octokit.request('POST /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n source: {\n branch: 'branch',\n path: 'path'\n }\n})", + "html": "
await octokit.request('POST /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  source: {\n    branch: 'branch',\n    path: 'path'\n  }\n})\n
" } ], "summary": "Create a GitHub AE Pages site", @@ -57340,7 +57340,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "switcheroo", "note": "Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the [blog post](https://developer.github.com/changes/2019-03-14-enabling-disabling-pages/) preview for more details. To access the new endpoints during the preview period, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.switcheroo-preview+json\n```", "html": "

Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept header:

\n
application/vnd.github.switcheroo-preview+json
" @@ -57728,13 +57727,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages", - "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.machine-man-preview+json\" \\\n  https://{hostname}/api/v3/repos/octocat/hello-world/pages
" + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/pages", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://{hostname}/api/v3/repos/octocat/hello-world/pages
" }, { "lang": "JavaScript", - "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world',\n mediaType: {\n previews: [\n 'machine-man'\n ]\n }\n})", - "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  mediaType: {\n    previews: [\n      'machine-man'\n    ]\n  }\n})\n
" + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/pages', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" } ], "summary": "Delete a GitHub AE Pages site", @@ -57754,7 +57753,6 @@ "subcategory": "pages", "previews": [ { - "required": true, "name": "machine-man", "note": "To access the API with your GitHub App, you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` Header for your requests. ```shell application/vnd.github.machine-man-preview+json ```", "html": "

To access the API with your GitHub App, you must provide a custom media type in the Accept Header for your requests. shell application/vnd.github.machine-man-preview+json

" From 8a262df9b69e2836ac3e15fb3ca4508d9a7215d6 Mon Sep 17 00:00:00 2001 From: Mischa Date: Tue, 7 Dec 2021 09:14:18 -0800 Subject: [PATCH 3/3] Clarify active committer calculation for GHAS (#23114) --- .../about-billing-for-github-advanced-security.md | 6 ++++++ .../reusables/advanced-security/license-overview.md | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/content/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md b/content/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md index 58d20b070d..6a8a95fbad 100644 --- a/content/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md +++ b/content/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md @@ -73,6 +73,12 @@ The following example timeline demonstrates how active committer count for {% da | August 15 | A member of your enterprise enables {% data variables.product.prodname_GH_advanced_security %} for a second repository, repository **Y**. In the last 90 days, a total of 20 developers contributed to that repository. Of those 20 developers, 10 also recently worked on repo **X** and do not require additional licenses. | _49 + 10_
**59** | | August 16 | A member of your enterprise disables {% data variables.product.prodname_GH_advanced_security %} for repository **X**. Of the 49 developers who were working on repository **X**, 10 still also work on repository **Y**, which has a total of 20 developers contributing in the last 90 days. | _49 - 29_
**20** | +{% note %} + +**Note:** A user will be flagged as active when their commits are pushed to any branch of a repository, even if the commits were authored more than 90 days ago. + +{% endnote %} + ## Getting the most out of {% data variables.product.prodname_GH_advanced_security %} {% data reusables.advanced-security.getting-the-most-from-your-license %} diff --git a/data/reusables/advanced-security/license-overview.md b/data/reusables/advanced-security/license-overview.md index 0cf5f16b96..59cabc8bac 100644 --- a/data/reusables/advanced-security/license-overview.md +++ b/data/reusables/advanced-security/license-overview.md @@ -1 +1,12 @@ -Each license for {% data variables.product.prodname_GH_advanced_security %} specifies a maximum number of accounts, or seats, that can use these features. Each active committer to at least one repository with the feature enabled uses one seat. An active committer is someone who authored at least one commit that was pushed to the repository in the last 90 days. +Each license for {% data variables.product.prodname_GH_advanced_security %} specifies a maximum number of accounts, or seats, that can use these features. Each active committer to at least one repository with the feature enabled uses one seat. A committer is considered active if one of their commits has been pushed to the repository within the last 90 days, regardless of when it was originally authored. + +{% note %} + +**Note:** Active committers are calculated using both the commit author information and the timestamp for when the code was pushed to {% data variables.product.product_name %}. + +- When a user pushes code to {% data variables.product.prodname_dotcom %}, every user who authored code in that push counts towards {% data variables.product.prodname_GH_advanced_security %} seats, even if the code is not new to {% data variables.product.prodname_dotcom %}. + +- Users should always create branches from a recent base, or rebase them before pushing. This will ensure that users who have not committed in the last 90 days do not take up {% data variables.product.prodname_GH_advanced_security %} seats. + +{% endnote %} +