@@ -318,7 +318,7 @@ const yoga = createYoga({
318318 experimental__persistedDocuments: {
319319 cdn: {
320320 // replace <target_id> and <cdn_access_token> with your values
321- endpoint: ' https://cdn.graphql-hive.com/<target_id>' ,
321+ endpoint: ' https://cdn.graphql-hive.com/artifacts/v1/ <target_id>' ,
322322 accessToken: ' <cdn_access_token>'
323323 }
324324 }
@@ -354,7 +354,7 @@ const server = new ApolloServer({
354354 experimental__persistedDocuments: {
355355 cdn: {
356356 // replace <target_id> and <cdn_access_token> with your values
357- endpoint: ' https://cdn.graphql-hive.com/<target_id>' ,
357+ endpoint: ' https://cdn.graphql-hive.com/artifacts/v1/ <target_id>' ,
358358 accessToken: ' <cdn_access_token>'
359359 }
360360 }
@@ -405,7 +405,7 @@ Any published app deployment is available via the Hive CDN. You can fetch a the
405405by doing a HTTP GET request.
406406
407407` ` ` text filename="Fetch Persisted Document via HTTP"
408- GET https://cdn.graphql-hive.com/<target_id>/apps/<app_name>/<app_version>/<document_hash>
408+ GET https://cdn.graphql-hive.com/artifacts/v1/ <target_id>/apps/<app_name>/<app_version>/<document_hash>
409409` ` `
410410
411411| Parameter | Description |
@@ -421,7 +421,7 @@ GET https://cdn.graphql-hive.com/<target_id>/apps/<app_name>/<app_version>/<docu
421421curl \
422422 -L \
423423 -H 'X-Hive-CDN-Key: CDN_ACCESS_TOKEN' \
424- https://cdn.graphql-hive.com/<target_id>/apps/<app_name>/<app_version>/<document_hash>
424+ https://cdn.graphql-hive.com/artifacts/v1/ <target_id>/apps/<app_name>/<app_version>/<document_hash>
425425` ` `
426426
427427**Expected responses:**
0 commit comments