Simulation Details page layout Update
This commit is contained in:
10
README.md
10
README.md
@@ -86,4 +86,12 @@ Permanently deletes a complete simulation from the platform.
|
||||
### `DELETE /api/simulations/:id/resources/:filename`
|
||||
Deletes a specific user-uploaded media asset or log file dynamically out of a simulation without dropping the core simulation entity itself.
|
||||
- **Behavior:** Detaches the file association string from SQLite and forces an OS-level file drop directly onto the specific asset file stored within the simulation's results directory.
|
||||
- **Response:** JSON object `{"status": "success"}`
|
||||
- **Response:** JSON object `{"status": "success"}`
|
||||
|
||||
### `DELETE /api/simulations/clear-fails`
|
||||
Purges all failed tracking simulations globally from the database and physically drops their filesystem result nodes off the host system. A simulation is identified natively as "failed" when its `total_time` tracking variable maps to a `0.0` or numeric `null` value during extraction.
|
||||
- **Response:** JSON object `{"status": "success", "cleared": <int>}`
|
||||
|
||||
### `GET /api/stats`
|
||||
Retrieves globally aggregated system statistics across the entire database resolving UI constraints.
|
||||
- **Response:** JSON object `{"total_simulations": <int>, "fastest_sim_id": <int>, "total_storage_bytes": <int>}`
|
||||
Reference in New Issue
Block a user