Key Features
- Flexible Queries: Request only the data you need
- Real-time Subscriptions: Get live updates on server status and player activity
- Type Safety: Strongly typed schema with comprehensive documentation
- Single Endpoint: All operations through one GraphQL endpoint
- Powerful Introspection: Explore the schema and test queries interactively
Getting Started
Endpoint
Authentication
All GraphQL requests require authentication using a Bearer token in the Authorization header:Basic Query Example
Real-time Subscriptions
Schema Overview
The GraphQL schema includes:- Servers: Query and manage server instances
- Players: Access player information and history
- Configuration: Manage server settings
- Events: Real-time notifications and updates
- Analytics: Server performance and usage data
Interactive Playground
Explore the GraphQL API interactively using our built-in playground:The GraphQL Playground provides an interactive environment where you can:
- Write and test GraphQL queries, mutations, and subscriptions
- Explore the complete schema with auto-completion
- View real-time documentation
- Test authentication and see live results
Benefits Over REST
Reduced Network Requests
Reduced Network Requests
Fetch multiple related resources in a single request instead of multiple REST calls.
Client-Specified Data
Client-Specified Data
Request only the fields you need, reducing payload size and improving performance.
Real-time Updates
Real-time Updates
Built-in subscription support for live data without polling.
Type Safety
Type Safety
Strongly typed schema prevents runtime errors and improves developer experience.
Next Steps
- Explore the GraphQL Playground to test queries
- Check out our GraphQL Examples for common use cases
- Review the Schema Reference for detailed type information