Gameye Session API Overview
The Gameye Session API provides a simple, agnostic way to host containerized game sessions. It handles all the complexity of geographic distribution, capacity management, and scaling so you can focus on delivering great gaming experiences.
Key Features
Section titled “Key Features”- Global Deployment - Host sessions in various regions worldwide to minimize latency
- Containerized Sessions - Each game session runs in its own isolated container
- Easy Scaling - No need to worry about server capacity or hardware management
- Session Management - Start, list, and stop game sessions with simple API calls
- Artifact Collection - Download files (like logs or save data) from game servers
- Location Monitoring - Check which regions are available for hosting your game
- Tag Verification - Verify if specific image versions are available in the fleet
- Log Streaming - Access server logs for debugging and monitoring
- Enhanced Error Handling - Detailed error responses with correlation IDs
V2 Improvements
Section titled “V2 Improvements”The latest version of our API includes significant improvements:
- Standardized Region Names - Using a mix of standardized region names including both cloud regions (like
eu-west-1) and data center locations for clearer geographic understanding - Advanced Session Filtering - New filtering options including the ability to exclude sessions based on specific criteria
- Detailed Container States - More granular status information for containers
- Improved Error Responses - Structured error format with correlation IDs for better debugging
- Dedicated Port Range - Updated port range (20000-30000) to prevent conflicts with Linux ephemeral ports
- Optional Session IDs - System can generate RFC4122-compliant UUIDs when session ID is not provided
- Enhanced Logging Options - Standard API access and advanced Elastic-based solution
How It Works
Section titled “How It Works”- Authentication - Every request requires a bearer token for authentication
- Session Creation - You request a session in a specific region with your game image
- Session Allocation - Gameye finds an available server in the requested region
- Container Deployment - Your game server is deployed as a container
- Session Management - You can list active sessions and stop them when needed
- Cleanup - After stopping a session, you can download artifacts if needed
Use Cases
Section titled “Use Cases”- Multiplayer Game Servers - Host game matches in containers
- Tournament Infrastructure - Scale up for esports events
- Global Gaming - Provide low-latency experiences worldwide
- Development & Testing - Use the sandbox environment for testing
Getting Started
Section titled “Getting Started”To start using the API:
- Obtain an API token from Gameye
- Choose which environment to use (production or sandbox)
- Make your first API call to create a session
Check the Authentication guide to learn how to properly authenticate your requests.
API Versioning
Section titled “API Versioning”This documentation covers version 1.2.1 of the Gameye Session API, which incorporates the enhanced features described in our migration guide.