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/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/results/basic/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 8,
    "next": null,
    "previous": null,
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/results/498996/?format=api",
            "id": 498996,
            "name": "Water depth (timeseries)",
            "code": "depth-dtri",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/bf7fd55c-539d-49b6-9009-63b3cf318774/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/depth-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T140511Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2b5b466f020a454b2712b757f88e7fe6926dc3190aaceeebe2c341be15a8aaa1"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/results/498997/?format=api",
            "id": 498997,
            "name": "Max water depth",
            "code": "depth-max-dtri",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/b4fee35f-7204-416f-a452-9fd5cc4f4740/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/depth-max-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T140511Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=a504b2560b56050afb34e673fdaeb45361487a7606246086ef80f1412649dbb2"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/results/498998/?format=api",
            "id": 498998,
            "name": "Flood hazard rating",
            "code": "flood-hazard-rating",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/a7ce97b0-aa45-4cd5-b59e-aa0d436699a6/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/flood-hazard-rating-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T140511Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=050bf59a579fb40d0f74d4db68dbeafa821b0bd2b3eb3726696720aac549f587"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/results/498999/?format=api",
            "id": 498999,
            "name": "Rain",
            "code": "rain-quad",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/e3a67479-945a-41c1-ac73-8c2d4cf219e4/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/rain-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T140511Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=be82f94f10db36250e4ebaf0a848be2d682ccee88468594f5996d28c9aa68960"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/results/499000/?format=api",
            "id": 499000,
            "name": "Rate of rise",
            "code": "rise-velocity-quad",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/f25c2ab6-14ea-49b5-bb50-a673c642cdcf/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/rise-velocity-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T140511Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=38c78279363b24ab01e3b975eb5547a83f62827452b12e8096364f7a32213099"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/results/499001/?format=api",
            "id": 499001,
            "name": "Water level (timeseries)",
            "code": "s1-dtri",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/40e3f8ba-5f44-4037-a998-09e8395e7769/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/s1-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T140511Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=c03d977328f9fc5645c6d1f81d386e8bb61f184c64fe503ea161aad5f3b7d9f4"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/results/499002/?format=api",
            "id": 499002,
            "name": "Max water level",
            "code": "s1-max-dtri",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/5125f134-b03a-4453-9334-2104fe8db4ad/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/s1-max-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T140511Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=87740ccf6bcc7612bd0d7bbea1c16dd53340fdc7cf480fd2d70cb718f328e30c"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/results/499003/?format=api",
            "id": 499003,
            "name": "Max flow velocity",
            "code": "ucr-max-quad",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/25d965aa-87ea-462e-a398-4818df1072c9/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/c95b08f5-4c8b-4638-aafe-5b134aaf9e77/ucr-max-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250615%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250615T140511Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=b8cf3b692a845252b632877976163c26ed36f0dbe041fb36dbdb5e8a81179ee4"
        }
    ]
}