From e32b6b8a016130e2f255f8bbd6484d1cd17e51a7 Mon Sep 17 00:00:00 2001 From: Sarah Edwards Date: Mon, 17 Oct 2022 15:05:58 -0700 Subject: [PATCH] Modify content in API comparison article (#31682) --- content/developers/overview/about-githubs-apis.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/content/developers/overview/about-githubs-apis.md b/content/developers/overview/about-githubs-apis.md index 0911a23156..dbaa547ee2 100644 --- a/content/developers/overview/about-githubs-apis.md +++ b/content/developers/overview/about-githubs-apis.md @@ -18,9 +18,9 @@ topics: {% data variables.product.company_short %} provides two APIs: a REST API and a GraphQL API. You can interact with both APIs using {% data variables.product.prodname_cli %}, curl, the official Octokit libraries, and third party libraries. Occasionally, a feature may be supported on one API but not the other. -You should choose the API that best aligns with your needs and that you are most comfortable using. This article discusses the benefits of each API. +You should use the API that best aligns with your needs and that you are most comfortable using. You don't need to exclusively use one API over the other. Node IDs let you move between the REST API and GraphQL API. For more information, see "[Using global node IDs](/graphql/guides/using-global-node-ids)." -For more information about the GraphQL API, see [the GraphQL documentation](/graphql). For more information about the REST API, see [the REST documentation](/rest). +This article discusses the benefits of each API. For more information about the GraphQL API, see "[About the GraphQL API](/graphql/overview/about-the-graphql-api)." For more information about the REST API, see [the REST documentation](/rest). ## Choosing the GraphQL API @@ -79,7 +79,3 @@ mutation { } } ``` - -## Choosing both - -You don't need to exclusively use one API over the other. Node IDs let you move between the REST API and GraphQL API. For more information, see "[Using global node IDs](/graphql/guides/using-global-node-ids)."