Oms API DELETE download files - openmpp/openmpp.github.io GitHub Wiki

DELETE download files from the server.

This method only avaliable if server configured to allow downloads by user.

Download can be initiated through UI or by direct API call:

For each above method oms service will create:

  • download archive, for example: RiskPaths.run.102.zip
  • model run .csv files for parameters and output tables in RiskPaths.run.102 folder
  • model run .json metadata files

Methods:

DELETE /api/download/delete/:folder
DELETE /api/download/start/delete/:folder

First method deletes download files from the server. Second method will initiate deleting of download files from the server. Actual delete performed in background and results can be checked through log file.

Arguments:

:folder - (required) download folder file name, for example: `RiskPaths.run.102`

Call examples:

curl -v -X DELETE http://localhost:4040/api/download/delete/RiskPaths.run.102
curl -v -X DELETE http://localhost:4040/api/download/start/delete/RiskPaths.run.102
⚠️ **GitHub.com Fallback** ⚠️