ParadoxSaveParser/ParadoxSaveParser.WebAPI/README.md
2025-04-06 16:19:03 +05:00

821 B

WebAPI

Simple web application created using DTLib.Web.

Routes

POST /uploadSave/eu4

  • Request: 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" }