| .. | ||
| BackgroundTasks | ||
| HttpHelpers | ||
| Protobuf | ||
| Routes | ||
| SaveDataFilters | ||
| Config.cs | ||
| ParadoxSaveParser.WebAPI.csproj | ||
| PathHelper.cs | ||
| Program.cs | ||
| README.md | ||
| SaveFileMetadata.cs | ||
WebAPI
Simple web application created using DTLib.Web.
Routes
POST /uploadSave/eu4
- Request:
application/octet-stream- .eu4 file - Response:
or{ "saveId": "string" }{ "errorMessage": "string" }
GET /getSaveStatus
- Query Params:
id- id of uploaded save file
- Response: SaveFileMetadata
{ "id": "string", "game": "string", "status": "string", "errorMessage": "string?" }
GET /getSaveData
- Query Params:
id- id of uploaded save file
- Response:
or{ "key0": [ "objects" ], "key1": [ "objects" ], //... }{ "errorMessage": "string" }