Ingestion & Capture API
While the GameMaker SDK handles network batching, retries, and offline caching automatically, you can also interact directly with LogLudo’s ingestion gateway via standard HTTP POST requests.
Base URLs
Section titled “Base URLs”- Production v0 Endpoint:
https://api.logludo.com/v0 - Room Capture Endpoint:
https://api.logludo.com/v0/capture
1. Batch Event Ingestion
Section titled “1. Batch Event Ingestion”POST https://api.logludo.com/v0
Section titled “POST https://api.logludo.com/v0”Pushes one or more telemetry events into the Cloudflare Event Queue for ingestion into LogLudo’s high-speed columnar data warehouse.
Headers
Section titled “Headers”Content-Type: application/jsonRequest Body
Section titled “Request Body”An array of event objects (or a single event object):
[ { "game_id": "9d3135a3-09a8-4bef-a855-41e5e677a8e4", "game_version": "1.0.0.0", "session_id": "sess_1727549129_120349", "event_name": "progression", "payload": { "action": "level_complete", "level_id": "rm_dungeon_03", "score": 4200, "scenelytics": { "type": "point", "pointType": "dot", "x": 450.5, "y": 820.0, "color": "#10b981" } } }]Allowed Event Categories (event_name)
Section titled “Allowed Event Categories (event_name)”The ingestion gateway validates that each event’s event_name belongs to the approved schema:
session_startsession_enderrorprogressionmonetizationgameplaydesignperformance
Response
Section titled “Response”{ "status": "batch_queued", "version": "v0", "count": 1}2. Room Capture & Manifest Uploads
Section titled “2. Room Capture & Manifest Uploads”POST https://api.logludo.com/v0/capture
Section titled “POST https://api.logludo.com/v0/capture”Uploads room layout manifests and high-resolution tiled orthographic surface images to LogLudo’s Cloudflare R2 storage bucket.
Uploading a Room Tile
Section titled “Uploading a Room Tile”{ "game_id": "9d3135a3-09a8-4bef-a855-41e5e677a8e4", "game_version": "1.0.0.0", "room_name": "rm_dungeon_03", "tile_x": 0, "tile_y": 0, "image_base64": "iVBORw0KGgoAAAANSUhEUgAA..."}Uploading a Room Manifest
Section titled “Uploading a Room Manifest”{ "game_id": "9d3135a3-09a8-4bef-a855-41e5e677a8e4", "game_version": "1.0.0.0", "room_name": "rm_dungeon_03", "manifest": { "width": 6000, "height": 3000, "tileSize": 3000, "columns": 2, "rows": 1 }}Response
Section titled “Response”{ "status": "ok"}