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/83dbe61b-c32b-4e32-b543-02fcdc913d97/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/83dbe61b-c32b-4e32-b543-02fcdc913d97/results/?format=api",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/83dbe61b-c32b-4e32-b543-02fcdc913d97/results/477548/?format=api",
            "id": 477548,
            "name": "Max water level",
            "code": "s1-max-dtri",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/7a9ed96e-3a44-4501-ad41-a440f59df104/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/83dbe61b-c32b-4e32-b543-02fcdc913d97/s1-max-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063022Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=c3cecf3ae9d2d57a4276c68ebdeeb828d80dad8982281b81d3843f491f43b029"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/83dbe61b-c32b-4e32-b543-02fcdc913d97/results/477549/?format=api",
            "id": 477549,
            "name": "Max flow velocity",
            "code": "ucr-max-quad",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/3e025469-55ee-4c11-aa38-fd47b8fa6a08/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/83dbe61b-c32b-4e32-b543-02fcdc913d97/ucr-max-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063022Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=5905a1933e56a2cea8f4a98ba69f3554a37679669b93c47204522ca1d7458b4e"
        }
    ]
}