Skip to content

Commit

Permalink
Graduate migrations, projects, security fix API previews (github#21704)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascosti authored Sep 27, 2021
1 parent e5a3fb5 commit 625a556
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions content/rest/overview/api-previews.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ During the preview period, we may change some features based on developer feedba

To access an API preview, you'll need to provide a custom [media type](/rest/overview/media-types) in the `Accept` header for your requests. Feature documentation for each preview specifies which custom media type to provide.

{% ifversion fpt %}
## Migrations

Allows you to download repositories from your GitHub user or organization account to review, backup, and [migrate](/rest/reference/migrations) data to {% data variables.product.prodname_ghe_server %}.

**Custom media type:** `wyandotte-preview`
**Announced:** [2018-05-24](https://developer.github.com/changes/2018-05-24-user-migration-api/)
{% endif %}

## Enhanced deployments

Exercise greater control over [deployments](/rest/reference/repos#deployments) with more information and finer granularity.
Expand Down Expand Up @@ -58,13 +49,15 @@ Create, list, update, and delete environments for pre-receive hooks.
**Announced:** [2015-07-29](/rest/reference/enterprise-admin#pre-receive-environments)
{% endif %}

{% ifversion ghes < 3.3 %}
## Projects

Manage [projects](/rest/reference/projects).

**Custom media type:** `inertia-preview`
**Announced:** [2016-09-14](https://developer.github.com/changes/2016-09-14-projects-api/)
**Update:** [2016-10-27](https://developer.github.com/changes/2016-10-27-changes-to-projects-api/)
{% endif %}

## Commit search

Expand Down Expand Up @@ -204,15 +197,6 @@ You can use a new endpoint to [update a pull request branch](/rest/reference/pul
**Custom media types:** `lydian-preview`
**Announced:** [2019-05-29](https://developer.github.com/changes/2019-05-29-update-branch-api/)

{% ifversion fpt %}
## Enable or disable automated security fixes

You can use a new set of endpoints to [enable and disable automated security fixes](/rest/reference/repos#enable-automated-security-fixes).

**Custom media types:** `london-preview`
**Announced:** [2019-06-04](https://developer.github.com/changes/2019-06-04-automated-security-fixes/)
{% endif %}

## Create and use repository templates

You can use a new endpoint to [Create a repository using a template](/rest/reference/repos#create-a-repository-using-a-template) and [Create a repository for the authenticated user](/rest/reference/repos#create-a-repository-for-the-authenticated-user) that is a template repository by setting the `is_template` parameter to `true`. [Get a repository](/rest/reference/repos#get-a-repository) to check whether it's set as a template repository using the `is_template` key.
Expand Down

0 comments on commit 625a556

Please sign in to comment.