ParadoxSaveParser/ParadoxSaveParser.WebAPI
2025-05-23 01:22:11 +05:00
..
BackgroundTasks added database to store metadata 2025-04-10 19:56:35 +05:00
Database invalid data deletion fix 2025-05-23 01:22:11 +05:00
HttpHelpers disabled null values serialization 2025-04-06 15:55:58 +05:00
Protobuf implemented boolean values parsing 2025-04-10 16:22:21 +05:00
Routes updated dependencies 2025-05-22 21:44:21 +05:00
SaveDataFilters Parser now creates lists only when it is necessary 2025-04-10 16:13:03 +05:00
Config.cs code reformat and cleanup 2025-04-05 05:59:22 +05:00
Game.cs added database to store metadata 2025-04-10 19:56:35 +05:00
ParadoxSaveParser.WebAPI.csproj updated dependencies 2025-05-22 21:44:21 +05:00
PathHelper.cs added database to store metadata 2025-04-10 19:56:35 +05:00
Program.cs updated dependencies 2025-05-22 21:44:21 +05:00
README.md added database to store metadata 2025-04-10 19:56:35 +05:00

WebAPI

Simple web application created using DTLib.Web.

Important

Restart web application once per day to delete outdated data and clean RAM.

Routes

POST /uploadSave

  • Query Params:
  • Request Body: application/octet-stream - .eu4 file
  • Response:
    { "saveId": "string" }
    
    or { "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:
    {
        "key0": [ "objects" ],
        "key1": [ "objects" ],
        //...
    }
    
    or { "errorMessage": "string" }