Test GraphQL APIs with GraphQL Explorer
Test query your GraphQL APIs using an integrated GraphQL testing tool.
始める前に
Create a schema for your GraphQL API. For more information, see Create a GraphQL schema.
Enabling introspective queries allows GraphQL Explorer to show the schemas on the instance in the Documentation Explorer and as auto-complete suggestions, which makes finding queries and mutations easier. For more information, see Enable introspective queries for GraphQL schemas.
Role required: graphql_schema_admin or admin
このタスクについて
The GraphQL Explorer integrates the GraphiQL IDE into the ServiceNow AI Platform. For additional information about the interface, see the GraphiQL readme in the GraphiQL GitHub repository.
手順
次のタスク
If you need to view a list of previous queries, in left sidebar, select the Show History icon ().
To access record data in a component, you can create a custom component and query your scripted GraphQL schema from the component. For more information, see Query a GraphQL schema from a component.