From dbdb8868a817bba7fa085bc897b913435c5cad07 Mon Sep 17 00:00:00 2001 From: pr0PM Date: Tue, 10 Nov 2020 19:15:54 +0530 Subject: [PATCH 1/2] Fixes #1190 --- content/developers/overview/about-githubs-apis.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/content/developers/overview/about-githubs-apis.md b/content/developers/overview/about-githubs-apis.md index 39e74b19f1e3..656d13605ec8 100644 --- a/content/developers/overview/about-githubs-apis.md +++ b/content/developers/overview/about-githubs-apis.md @@ -9,11 +9,9 @@ versions: github-ae: '*' --- -There are two stable versions of the GitHub API: the [REST API](/v3/) and the [GraphQL API](/v4/). - -When using the REST API, we encourage you to [request v3 via the `Accept` header](/v3/media/#request-specific-version). - -For information on using the GraphQL API, see the [v4 docs](/v4/). +You can use the stable GitHub API via: +- [GraphQL API](https://docs.github.com/en/free-pro-team@latest/v4) +- [REST API](https://docs.github.com/en/free-pro-team@latest/v3) where we encourage you to [request v3 via the `Accept` header.](https://docs.github.com/en/free-pro-team@latest/v3/media/#request-specific-version) ## Deprecated versions From 04223cf1b7f3735cda808d300804e72526787455 Mon Sep 17 00:00:00 2001 From: pr0PM Date: Thu, 3 Dec 2020 16:17:45 +0530 Subject: [PATCH 2/2] Update content/developers/overview/about-githubs-apis.md Applying suggested changes. Co-authored-by: Laura Coursen --- content/developers/overview/about-githubs-apis.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content/developers/overview/about-githubs-apis.md b/content/developers/overview/about-githubs-apis.md index 656d13605ec8..d69bd27b40f0 100644 --- a/content/developers/overview/about-githubs-apis.md +++ b/content/developers/overview/about-githubs-apis.md @@ -9,9 +9,7 @@ versions: github-ae: '*' --- -You can use the stable GitHub API via: -- [GraphQL API](https://docs.github.com/en/free-pro-team@latest/v4) -- [REST API](https://docs.github.com/en/free-pro-team@latest/v3) where we encourage you to [request v3 via the `Accept` header.](https://docs.github.com/en/free-pro-team@latest/v3/media/#request-specific-version) +There are two stable versions of the GitHub API: the [REST API](/v3/) and the [GraphQL API](/v4/). When using the REST API, we encourage you to [request v3 via the `Accept` header](/v3/media/#request-specific-version). For information on using the GraphQL API, see the [v4 docs](/v4/). ## Deprecated versions