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/a01d8369-5288-4e5e-aa14-1934671bfe9c/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/a01d8369-5288-4e5e-aa14-1934671bfe9c/results/498380/?format=api",
            "id": 498380,
            "name": "Grid administration",
            "code": "grid-admin",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/a01d8369-5288-4e5e-aa14-1934671bfe9c/gridadmin.h5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T142240Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e6afbacafc6dd64757af65613ae4bd93385367338d5e92f9a0447648df7cbfaf",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/a01d8369-5288-4e5e-aa14-1934671bfe9c/results/498381/?format=api",
            "id": 498381,
            "name": "Raw 3Di output",
            "code": "results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/a01d8369-5288-4e5e-aa14-1934671bfe9c/results_3di.nc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T142240Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f6a00135ed4ce2eabe3bb20ab4a2614475f6231248330f7d9ca355436780414c",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/a01d8369-5288-4e5e-aa14-1934671bfe9c/results/498382/?format=api",
            "id": 498382,
            "name": "Calculation core logging",
            "code": "logfiles",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/a01d8369-5288-4e5e-aa14-1934671bfe9c/log_files.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T142240Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=0e80dc5dd0f123ef7ad9262f6fc87b1839cc147a3a2b94a5117c18db2d28f16b",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/a01d8369-5288-4e5e-aa14-1934671bfe9c/results/498383/?format=api",
            "id": 498383,
            "name": "Aggregated 3Di output",
            "code": "aggregate-results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/a01d8369-5288-4e5e-aa14-1934671bfe9c/aggregate_results_3di.nc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T142240Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=07bfe6e6d99cc4aa956417be7f0389d582e4c718b877b04b349c77dcca4816bf",
            "upload_url": null
        }
    ]
}