From c521c891f3d2011ccea5200a70e877a5fca748da Mon Sep 17 00:00:00 2001 From: Idalith Bustos Date: Thu, 16 Jan 2025 17:28:28 -0800 Subject: [PATCH 1/2] Adding updates --- .../en/subgraphs/querying/from-an-application.mdx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/website/pages/en/subgraphs/querying/from-an-application.mdx b/website/pages/en/subgraphs/querying/from-an-application.mdx index 6a3a13b8d141..cb5c69d6f209 100644 --- a/website/pages/en/subgraphs/querying/from-an-application.mdx +++ b/website/pages/en/subgraphs/querying/from-an-application.mdx @@ -6,21 +6,27 @@ Learn how to query The Graph from your application. ## Getting GraphQL Endpoints -Once a subgraph is deployed to [Subgraph Studio](https://thegraph.com/studio/) or [Graph Explorer](https://thegraph.com/explorer), you will receive two GraphQL API endpoints that look like this: +During the development process, you will receive a GraphQL API endpoint at two different stages: one for Subgraph Studio and another for The Graph Network. ### Subgraph Studio Endpoint +After deploying your subgraph to [Subgraph Studio](https://thegraph.com/docs/en/subgraphs/developing/deploying/using-subgraph-studio/), you will receive an endpoint that looks like this: + ``` https://api.studio.thegraph.com/query/// ``` -### Network Endpoint +> This endpoint is intended for testing purposes **only** and is rate-limited. + +### The Graph Network Endpoint + +After publishing your subgraph to the network, you will receive an endpoint that looks like this: : ``` https://gateway.thegraph.com/api//subgraphs/id/ ``` -With your GraphQL endpoint, you can use various GraphQL Client libraries to query the subgraph and populate your app with data indexed by the subgraph. +> This endpoint is intended for active use on the network. It allows you to use various GraphQL client libraries to query the subgraph and populate your application with indexed data. ## Using Popular GraphQL Clients From 6cf46ceffca536d015e6f9d203fbad0cb9896f07 Mon Sep 17 00:00:00 2001 From: Idalith <126833353+idalithb@users.noreply.github.com> Date: Fri, 17 Jan 2025 09:44:40 -0800 Subject: [PATCH 2/2] Update website/pages/en/subgraphs/querying/from-an-application.mdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: BenoƮt Rouleau --- website/pages/en/subgraphs/querying/from-an-application.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/en/subgraphs/querying/from-an-application.mdx b/website/pages/en/subgraphs/querying/from-an-application.mdx index cb5c69d6f209..681f6e6ba8d5 100644 --- a/website/pages/en/subgraphs/querying/from-an-application.mdx +++ b/website/pages/en/subgraphs/querying/from-an-application.mdx @@ -6,7 +6,7 @@ Learn how to query The Graph from your application. ## Getting GraphQL Endpoints -During the development process, you will receive a GraphQL API endpoint at two different stages: one for Subgraph Studio and another for The Graph Network. +During the development process, you will receive a GraphQL API endpoint at two different stages: one for testing in Subgraph Studio, and another for making queries to The Graph Network in production. ### Subgraph Studio Endpoint