In XM Cloud, there are two GraphQL playgrounds to run queries and test the content.
- Delivery API Playground
- Preview API Playground
Delivery | Preview | |
---|---|---|
IDE URL | https://edge.sitecorecloud.io/api/graphql/ide | https://CM-INSTANCE/sitecore/api/graph/edge/ide/ |
Content | Published and approved content | Content from CM Instance |
API Key Name | sc_apikey | sc_apikey |
API Key/Token | Edge Token generated from Cloud Portal, Deploy API or CLI. Refer here. | Item ID of /sitecore/system/Settings/Services/API Keys/xmcloudpreview |
Sample API Key | STdlODcySTJ5UEpNMkdaUVZsRW5rckwkSjNBQzJpeVljMmQ5NUYyUmtyST53ZXBhbWVtZWFkcmEkYzk5LW5laGVtLWRldik5ZGNh | {A477ABFB-E279-4CDF-9D3D-F96124F846D6} |
How to pass | HTTP Headers (Recommended) | HTTP Headers (Recommended) |
Delivery API Playground
- Uses the Delivery API of XM APIs to test the published content.
- Delivery API is
- accessing approved and published content from Edge.
- optimized for performance and high availability
Preview API Playground
- Uses Content management instance for test the published and unpublished content.
No comments:
Post a Comment