Tournaments
Tournaments
Important: This feature is currently in draft and not ready for implementation. It will be released soon. Please do not attempt to integrate these APIs until official release notification.
The Tournaments feature provides operators with comprehensive tournament management capabilities, including tournament listing, leaderboard access, and player ranking systems.
Tournaments are configured and managed through the Sinatra back office. All tournament settings, rules, and parameters must be set up there before they can be accessed via these APIs.
All tournament API requests must be authorized using the Authorization header with a Bearer token generated from your Sinatra credentials. Unauthorized requests will be rejected.
Token Format:
Authorization: Bearer <base64_encoded_credentials>Token Generation:
base64_encoded_credentials = base64encode(sinatrauser:sinatrapassword)Replace sinatrauser and sinatrapassword with your actual Sinatra back office credentials.
Available APIs
- Get Tournaments - Retrieve list of tournaments with filtering options
- Get Leaderboard - Access tournament leaderboard with player rankings
- Tournament Prize - Process tournament prize distribution to winners
Key Features
- Tournament Management: Filter and retrieve tournaments by operator, brand, provider, and status
- Advanced Filtering: Search by game IDs, game names, and tournament names
- Leaderboard System: Player rankings sorted by points in descending order
- Prize Distribution: Automated prize distribution to tournament winners
- Pagination Support: Efficient data retrieval with configurable page sizes
- Multi-format Support: Player + Brand + Tournament format combinations