added database to store metadata

This commit is contained in:
2025-04-10 19:56:35 +05:00
parent c4af1f31e8
commit d7dcd7afc9
15 changed files with 278 additions and 153 deletions
+8 -3
View File
@@ -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" }