27 lines
367 B
Markdown
27 lines
367 B
Markdown
|
|
# API Reference
|
||
|
|
|
||
|
|
## `GET /healthz`
|
||
|
|
|
||
|
|
Returns:
|
||
|
|
|
||
|
|
```json
|
||
|
|
{ "status": "ok" }
|
||
|
|
```
|
||
|
|
|
||
|
|
## `GET /api/player`
|
||
|
|
|
||
|
|
Returns the current seed profile.
|
||
|
|
|
||
|
|
## `POST /api/player`
|
||
|
|
|
||
|
|
Accepts a partial profile payload and returns the updated profile.
|
||
|
|
|
||
|
|
## `GET /api/missions`
|
||
|
|
|
||
|
|
Returns seeded missions.
|
||
|
|
|
||
|
|
## `POST /api/missions/:id/complete`
|
||
|
|
|
||
|
|
Marks a mission complete and returns the XP reward.
|
||
|
|
|