26
docs/api-reference.md
Normal file
26
docs/api-reference.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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.
|
||||
|
||||
Reference in New Issue
Block a user