Ironward

API

Everything the site shows comes from a few plain JSON addresses. Build something with them.

Open to everyone

MethodAddressWhat it gives you
GET/stats.jsonTotals, history per day, players online per weekday and hour (UTC), top maps.
GET/news.jsonThe dev log, newest first, in English and German.
GET/downloads/latest.jsonThe current version, its files, sizes, SHA-256 and signatures.
POST/api/countCounts a download, update or map. Rate limited, each thing counts once.
curl https://ironward.madewithcoffee.de/stats.json

Your account

These take JSON and work on the logged-in session cookie, which other sites can't send.

MethodAddressWhat it gives you
POST/api/registerMakes an account: name and password. Logged in afterwards.
POST/api/loginLogs in: name and password.
POST/api/logoutLogs out.
GET/api/meYour profile, statistics, maps and friends.
POST/api/settingsSets your email and language.
POST/api/passwordChanges your password: current and password.
GET, POST, DELETE/api/avatarYour picture: PNG, JPEG or WebP up to 512 kB.
POST/api/deleteDeletes your account: password.

The game server

The game itself talks over its own TLS protocol on ironward.madewithcoffee.de:7778. It isn't meant for anything but the game.