Overview
The Game API provides endpoints for retrieving game information, joining games, submitting flags, and managing game participation.Public Endpoints
Get Recent Games
Retrieve games from the last three weeks.GET /api/game/recent
Maximum number of games to return (0-50, 0 = all)
This endpoint supports ETag caching. Include
If-None-Match header for efficient polling.Get Games List
Retrieve paginated list of games.GET /api/game
Number of games to return (max 50)
Number of games to skip
Get Game Details
Retrieve detailed information about a specific game.GET /api/game/
Game ID
Participation
Join Game
Join a game with a team.POST /api/game/
Requires User authentication and team membership.
Game ID
ID of the team to join with
Division ID (required if game has joinable divisions)
Invitation code (if required by game or division)
Leave Game
Leave a game participation.DELETE /api/game/
Requires User authentication. Can only leave if participation is pending or rejected.
Game ID
Get Game Details (Authenticated)
Retrieve challenges and team information for joined games.GET /api/game//details
Requires User authentication and active participation.
Challenge Operations
Get Challenge
Retrieve detailed information about a challenge.GET /api/game//challenges/
Requires User authentication and game participation.
Game ID
Challenge ID
Submit Flag
Submit a flag for a challenge.POST /api/game//challenges/
Rate limited. Requires User authentication and game participation.
Game ID
Challenge ID
Flag answer (may require encryption, max 127 characters)
The response is the submission ID. Use the status endpoint to check if the flag is correct.
Check Submission Status
Query the status of a flag submission.GET /api/game//challenges//status/
Game ID
Challenge ID
Submission ID from flag submission
Submission result:
FlagSubmitted, Accepted, WrongAnswer, etc.Scoreboard
Get Scoreboard
Retrieve the game scoreboard.GET /api/game//scoreboard
Game ID
Scoreboard data is cached and supports ETag headers for efficient updates.
Game Notices
Get Notices
Retrieve game announcements and notices.GET /api/game//notices
Game ID
Number of notices to return (max 100)
Number of notices to skip
Writeups
Get Writeup Info
Retrieve writeup submission information.GET /api/game//writeup
Requires User authentication and game participation.
Submit Writeup
Submit a post-game writeup (PDF only).POST /api/game//writeup
Requires User authentication. Only PDF files up to 20MB accepted.
PDF writeup file
Monitor Endpoints
Get Game Events
GET /api/game//events
Hide container-related events
Number of events (max 100)
Get Submissions
GET /api/game//submissions
Filter by answer result (e.g.,
Accepted, WrongAnswer)Number of submissions (max 100)
Download Scoreboard
GET /api/game//scoreboardsheet
Downloads an Excel file with complete scoreboard data.Download Submissions
GET /api/game//submissionsheet
Downloads an Excel file with all game submissions.Next Steps
Challenge API
Challenge management endpoints
Team API
Team operations