API
Everything the site shows comes from a few plain JSON addresses. Build something with them.
Open to everyone
| Method | Address | What it gives you |
|---|---|---|
GET | /stats.json | Totals, history per day, players online per weekday and hour (UTC), top maps. |
GET | /news.json | The dev log, newest first, in English and German. |
GET | /downloads/latest.json | The current version, its files, sizes, SHA-256 and signatures. |
POST | /api/count | Counts 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.
| Method | Address | What it gives you |
|---|---|---|
POST | /api/register | Makes an account: name and password. Logged in afterwards. |
POST | /api/login | Logs in: name and password. |
POST | /api/logout | Logs out. |
GET | /api/me | Your profile, statistics, maps and friends. |
POST | /api/settings | Sets your email and language. |
POST | /api/password | Changes your password: current and password. |
GET, POST, DELETE | /api/avatar | Your picture: PNG, JPEG or WebP up to 512 kB. |
POST | /api/delete | Deletes 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.