Webapp API Endpoints

Version: 1.1.0
Purpose: Webapp endpoints split from endpoints.md for context window efficiency
Last Updated: January 1, 2026


Overview

This directory contains webapp API endpoints organized by entity type. This allows AI agents to load only the webapp endpoints they need, reducing context window usage.

Implementation: The webapp API is implemented in a PHP Symfony application (structs-webapp). This is the main user-facing API for the game. API authentication is implemented in the PHP Symfony application.

Use Case: Load specific entity webapp endpoints when working with that entity, instead of loading the entire endpoints.md (1153 lines).


Available Files

Entity-Specific Webapp Endpoints

Total: 34 webapp endpoints across 8 entity files


Context Window Savings

Before (Loading endpoints.md)

To get Player webapp endpoints:

After (Loading entity webapp file)

To get Player webapp endpoints:


Usage

Loading Entity Webapp Endpoints

{
  "load": "api/webapp/player.md"
}

Loading Multiple Entities

{
  "load": [
    "api/webapp/player.md",
    "api/webapp/planet.md"
  ]
}


Last Updated: January 1, 2026