1
0
mirror of synced 2025-12-21 10:57:10 -05:00

GHEC version (#20947)

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
This commit is contained in:
Laura Coursen
2021-10-15 15:41:33 -05:00
committed by GitHub
parent be8cb7cb8c
commit 8f964ea2cb
1592 changed files with 4984 additions and 3494 deletions

View File

@@ -10,6 +10,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
---
{% tip %}
@@ -25,6 +26,6 @@ Webhooks can be triggered whenever a variety of actions are performed on a repos
* A {% data variables.product.prodname_pages %} site is built
* A new member is added to a team
Using the {% data variables.product.product_name %} API, you can make these webhooks update an external issue tracker, trigger CI builds, update a backup mirror, or even deploy to your production server.
Using the {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} API, you can make these webhooks update an external issue tracker, trigger CI builds, update a backup mirror, or even deploy to your production server.
To set up a new webhook, you'll need access to an external server and familiarity with the technical procedures involved. For help on building a webhook, including a full list of actions you can associate with, see "[Webhooks](/webhooks)."

View File

@@ -6,14 +6,15 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Get started API
---
To automate common tasks, back up your data, or create integrations that extend {% data variables.product.product_name %}, you can use the {% data variables.product.product_name %} API.
To automate common tasks, back up your data, or create integrations that extend {% data variables.product.product_name %}, you can use the {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} API.
For more information about the API, see the [GitHub REST API](/rest) and [GitHub GraphQL API](/graphql). You can also stay current with API-related news by following the [{% data variables.product.prodname_dotcom %} Developer blog](https://developer.github.com/changes/).
For more information about the API, see the [GitHub REST API](/rest) and [GitHub GraphQL API]({% ifversion ghec %}/free-pro-team@latest/{% endif %}/graphql). You can also stay current with API-related news by following the [{% data variables.product.prodname_dotcom %} Developer blog](https://developer.github.com/changes/).
## Further reading
- "[Backing up a repository](/articles/backing-up-a-repository)"{% ifversion fpt %}
- "[Backing up a repository](/articles/backing-up-a-repository)"{% ifversion fpt or ghec %}
- "[About integrations](/articles/about-integrations)"{% endif %}

View File

@@ -9,6 +9,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Automate with OAuth tokens
---
@@ -18,7 +19,7 @@ Create a personal access token on your application settings page. For more infor
{% tip %}
{% ifversion fpt %}
{% ifversion fpt or ghec %}
**Tips:**
- You must verify your email address before you can create a personal access token. For more information, see "[Verifying your email address](/articles/verifying-your-email-address)."
- {% data reusables.user_settings.review_oauth_tokens_tip %}
@@ -28,7 +29,7 @@ Create a personal access token on your application settings page. For more infor
{% endtip %}
{% ifversion fpt %}{% data reusables.user_settings.removes-personal-access-tokens %}{% endif %}
{% ifversion fpt or ghec %}{% data reusables.user_settings.removes-personal-access-tokens %}{% endif %}
## Step 2: Clone a repository

View File

@@ -8,6 +8,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /getting-started-with-the-api
- /git-automation-with-oauth-tokens