API Reference

Complete reference documentation for the Age of Empires IV Content Editor API.

Text API Endpoints

Endpoints Summary

Method Endpoint Description
GET /text/entries List all text entries
GET /text/entries/:id Get a specific text entry
POST /text/entries Create a new text entry
PUT /text/entries/:id Update a text entry
DELETE /text/entries/:id Delete a text entry
POST /text/batch Bulk create text entries
POST /text/entries/:id/translations Add a translation
POST /text/export Export text entries

Common Parameters

Text Entry Object

{
    "id": "string",
    "key": "string",
    "value": "string",
    "locale": "string",
    "category": "string",
    "metadata": {
        "max_length": "integer",
        "context": "string"
    },
    "created_at": "datetime",
    "updated_at": "datetime"
}

Supported Locales

  • en-US - English (United States)
  • en-GB - English (United Kingdom)

Text Categories

  • ui - User interface text
  • gameplay - Gameplay messages
  • tutorial - Tutorial text
  • story - Story/campaign text
  • mod - Mod-specific text
  • error - Error messages

Image API Endpoints

Endpoints Summary

Authentication

API Keys

All API requests require authentication using an API key. Include the API key in the Authorization header: