Module playground

Module playground 

Source
Expand description

Playground API handlers for Admin UI

Provides endpoints for the interactive GraphQL + REST playground that allows users to test and visualize mock endpoints.

Structs§

CodeSnippetRequest
Code snippet generation request
CodeSnippetResponse
Code snippet response
ExecuteGraphQLRequest
Request to execute a GraphQL query
ExecuteResponse
Response from executing a request
ExecuteRestRequest
Request to execute a REST endpoint
GraphQLIntrospectionResult
GraphQL introspection result
PlaygroundEndpoint
Endpoint information for playground
PlaygroundHistoryEntry
Request history entry

Functions§

execute_graphql_query
Execute a GraphQL query
execute_rest_request
Execute a REST request
generate_code_snippet
Generate code snippets
get_request_history
Get request history
graphql_introspect
Perform GraphQL introspection
list_playground_endpoints
List available endpoints for playground
replay_request
Replay a request from history