added database to store metadata
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
# WebAPI
|
||||
Simple web application created using DTLib.Web.
|
||||
|
||||
# Routes
|
||||
|
||||
### POST `/uploadSave/eu4`
|
||||
- **Request:** `application/octet-stream` - .eu4 file
|
||||
## Important
|
||||
Restart web application once per day to delete outdated data and clean RAM.
|
||||
|
||||
## Routes
|
||||
### POST `/uploadSave`
|
||||
- **Query Params:**
|
||||
- `game` - short name of the game (see [../README.md](../README.md))
|
||||
- **Request Body:** `application/octet-stream` - .eu4 file
|
||||
- **Response:**
|
||||
```json
|
||||
{ "saveId": "string" }
|
||||
|
||||
Reference in New Issue
Block a user