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/?format=api&page=2
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 13,
    "next": null,
    "previous": "https://demo.lizard.net/api/v4/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results/?format=api",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results/469728/?format=api",
            "id": 469728,
            "name": "Max water level",
            "code": "s1-max-dtri",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/6edf1044-9662-471d-91b6-7169921ca656/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/s1-max-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063009Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=dd21548764543ef30a2f731b2b5a9412b75adcbb3af8aea923e8c6e79b4a77c5"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results/469729/?format=api",
            "id": 469729,
            "name": "Max flow velocity",
            "code": "ucr-max-quad",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/a67da28d-b5e9-403e-b49d-8717192919c7/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/ucr-max-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063009Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2476844a7e9582f4ddf7ed61c196991c6ddf3ae83f0b02d2667bef2a0c22dada"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/results/469738/?format=api",
            "id": 469738,
            "name": "Arrival time",
            "code": "depth-first-dtri",
            "description": null,
            "family": "Arrival",
            "raster": "https://demo.lizard.net/api/v4/rasters/e6d3a352-713f-4452-99e8-16882c1668f6/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/db7cd681-24fd-4a8c-a98e-0bf6eb5bed7b/depth-first-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063009Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=0ad6ea8df22c12b01de4ade779d33fe5fcc21bcbe14f2f398eaf5fe4869db201"
        }
    ]
}