Skip to main content
The Legends of Dota Redux server is an ASP.NET Core application (LegendsOfDota namespace) that exposes a small REST API used by the in-game Lua code for persistent storage: skill builds, user settings, voting, and favorites.

Base URL

The base URL is configured at deployment time. All routes are relative to the root path /.

Authentication

Most endpoints require a shared-secret header:
LodAuthKey is set in appsettings.json on the server. The default value in the repository is:
Change LodAuthKey to a unique secret before deploying to a production server. The default value is public.
If the header is missing or does not match, the server returns HTTP 401 Unauthorized (or {"success":false,"error":"unauthorized"} for skill build endpoints).

Content Type

All POST requests send data as application/x-www-form-urlencoded with a data field that contains a JSON string.

Endpoints

Sub-pages

Skill Builds API

Full reference for creating, retrieving, voting on, and favoriting skill builds.

User Settings API

Save and load per-player settings blobs keyed by Steam ID.