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/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/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/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/results/?format=api",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/results/500112/?format=api",
            "id": 500112,
            "name": "Max water level",
            "code": "s1-max-dtri",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/d248eeac-81aa-461e-9a86-5406c7f2a636/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/s1-max-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250428%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250428T192258Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=277fe043b8cad564e371099cfa1ce286eebb60460208b8752b71cd198169f6b3"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/results/500113/?format=api",
            "id": 500113,
            "name": "Max flow velocity",
            "code": "ucr-max-quad",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/71446d90-0d2c-45fb-9dae-dae277d2b0a9/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/ucr-max-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250428%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250428T192258Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9d964ba4a4694212d8a9501faf8acc4d3e711dbdbcb801a3961187b88822887f"
        }
    ]
}