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/3eff5477-2e19-49a0-9a8d-402a2b5821e3/results/?format=api&page=2
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 12,
    "next": null,
    "previous": "https://demo.lizard.net/api/v4/scenarios/3eff5477-2e19-49a0-9a8d-402a2b5821e3/results/?format=api",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/3eff5477-2e19-49a0-9a8d-402a2b5821e3/results/263165/?format=api",
            "id": 263165,
            "name": "Max flow velocity",
            "code": "ucr-max-quad",
            "description": "Max flow velocity",
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/bec7aae1-8c1f-47bb-98a7-b122dc9ca81b/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/3eff5477-2e19-49a0-9a8d-402a2b5821e3/ucr-max-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T192145Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2fd63f1930b5db6f6ea5e76a18462cbd4d248d11eeb21f7fa33e8d0ec5757d33"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/3eff5477-2e19-49a0-9a8d-402a2b5821e3/results/263166/?format=api",
            "id": 263166,
            "name": "Rain",
            "code": "rain-quad",
            "description": "Rain",
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/81254415-dd96-4937-8827-bfc7af757f41/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/3eff5477-2e19-49a0-9a8d-402a2b5821e3/rain-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T192145Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=8d9bdb5c11e391c3c341d7f9c8ef5ac1b53e233d12dfc228f30269a9c103d8f4"
        }
    ]
}