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/4452e49a-f37d-4d7f-8f18-fce463172051/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/4452e49a-f37d-4d7f-8f18-fce463172051/results/494578/?format=api",
            "id": 494578,
            "name": "Grid administration",
            "code": "grid-admin",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/4452e49a-f37d-4d7f-8f18-fce463172051/gridadmin.h5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T142842Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=468a625e4cf502f9430b443705feb855ef01dc9f042c1ac51ec34b099eaa6887",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/4452e49a-f37d-4d7f-8f18-fce463172051/results/494579/?format=api",
            "id": 494579,
            "name": "Raw 3Di output",
            "code": "results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/4452e49a-f37d-4d7f-8f18-fce463172051/results_3di.nc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T142842Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=5bbfba153fa567c77610cc8304ca150500f5838ce202a65fa0bb5fd0c76680fe",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/4452e49a-f37d-4d7f-8f18-fce463172051/results/494580/?format=api",
            "id": 494580,
            "name": "Calculation core logging",
            "code": "logfiles",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/4452e49a-f37d-4d7f-8f18-fce463172051/log_files.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T142842Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=35f417bd8aa1e2a600ee687ee324d23e0c28023f30228808feee53bc706c87ab",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/4452e49a-f37d-4d7f-8f18-fce463172051/results/494581/?format=api",
            "id": 494581,
            "name": "Aggregated 3Di output",
            "code": "aggregate-results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/4452e49a-f37d-4d7f-8f18-fce463172051/aggregate_results_3di.nc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T142842Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=b2680e63c8c34854a3ec6179df883fb6b5370d5359f4e3363c3dd9d2b685ec30",
            "upload_url": null
        }
    ]
}