1
0
mirror of synced 2025-12-22 11:26:57 -05:00

Modify content in API comparison article (#31682)

This commit is contained in:
Sarah Edwards
2022-10-17 15:05:58 -07:00
committed by GitHub
parent b7e216facd
commit e32b6b8a01

View File

@@ -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)."