Endpoint for interacting with 3Di scenario results.

Add attachments to newly created results by uploading a file (using a PUT request) to the temporary upload_url of a result.

Subendpoints

The subendpoints below have been defined for convienience and may be used for viewing or deleting a specific class of results. They are also available via the "Extra Actions" button in the top-right corner when viewing a result list.

  • /api/v4/scenarios/{uuid}/results/arrival/
  • /api/v4/scenarios/{uuid}/results/basic/
  • /api/v4/scenarios/{uuid}/results/damage/
  • /api/v4/scenarios/{uuid}/results/raw/
  • /api/v4/scenarios/{uuid}/results/tiles/

For example, a DELETE request on /api/v4/scenarios/{uuid}/results/raw/ would schedule all raw results for deletion. This is more convenient than deleting results one by one via /api/v4/scenarios/{uuid}/results/{id}/.

GET /api/v4/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results/raw/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 4,
    "next": null,
    "previous": null,
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results/469714/?format=api",
            "id": 469714,
            "name": "Grid administration",
            "code": "grid-admin",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/gridadmin.h5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T133236Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=68b6c79ac3ab7c4f86b97481e38a524c61b81d734761844c6fb551df9bf7c016",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results/469715/?format=api",
            "id": 469715,
            "name": "Raw 3Di output",
            "code": "results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results_3di.nc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T133236Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=b76b2c2d8945667c4f28ec021e2b876f37330420c6a85783a295b308c4b3cde2",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results/469716/?format=api",
            "id": 469716,
            "name": "Calculation core logging",
            "code": "logfiles",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/log_files.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T133236Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=53d2e9ca565bc2c49358c1e2123daf2f83102a6e1986f4d7d8ab6ee9cf41cfd5",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results/469717/?format=api",
            "id": 469717,
            "name": "Aggregated 3Di output",
            "code": "aggregate-results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/aggregate_results_3di.nc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T133236Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e0183d5a641e83b1afdba708daf7d21352e605b79cad4235ff54475e15bb0bd7",
            "upload_url": null
        }
    ]
}