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/7c734008-4109-43b3-865d-67e7882499b4/results/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 12,
    "next": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/?format=api&page=2",
    "previous": null,
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263107/?format=api",
            "id": 263107,
            "name": "grid administration",
            "code": "grid-admin",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://demo.lizard.net/api/v4/scenario-results/263107/gridadmin.h5?format=api",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263108/?format=api",
            "id": 263108,
            "name": "raw 3Di output",
            "code": "results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://demo.lizard.net/api/v4/scenario-results/263108/results_3di.nc?format=api",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263109/?format=api",
            "id": 263109,
            "name": "calculation core logging",
            "code": "logfiles",
            "description": "",
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://demo.lizard.net/api/v4/scenario-results/263109/log_files.zip?format=api",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263110/?format=api",
            "id": 263110,
            "name": "aggregated 3Di output",
            "code": "aggregate-results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://demo.lizard.net/api/v4/scenario-results/263110/aggregate_results_3di.nc?format=api",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263111/?format=api",
            "id": 263111,
            "name": "Water depth (timeseries)",
            "code": "depth-dtri",
            "description": "Water depth",
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/acb7c072-42ef-4cd3-8176-5c7451e2d8e2/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/7c734008-4109-43b3-865d-67e7882499b4/depth-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T110516Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f5e02decee159b85afd78ea837ea77853c729501f0ce13ef7ce994652aedac6a"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263112/?format=api",
            "id": 263112,
            "name": "Max water depth",
            "code": "depth-max-dtri",
            "description": "Max water depth",
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/eb6cf49c-5621-4601-b8cc-34aa565c7bf7/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/7c734008-4109-43b3-865d-67e7882499b4/depth-max-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T110516Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=20b188ccffd924a94b8a82eb4f589348e57ed37236b33f897f1f8e1ee32c60d5"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263113/?format=api",
            "id": 263113,
            "name": "Flood hazard rating",
            "code": "flood-hazard-rating",
            "description": "Flood hazard rating",
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/2291f71e-aac7-4916-ab36-9b88666fa0f1/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/7c734008-4109-43b3-865d-67e7882499b4/flood-hazard-rating-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T110516Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=0ea5ed0f6ed11831408b4737bd08fee8894fbf2af0dc6f798ed2c39c7bc21370"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263114/?format=api",
            "id": 263114,
            "name": "Rate of rise",
            "code": "rise-velocity-quad",
            "description": "Rate of rise of the water level",
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/89a57d2f-5759-40b2-aceb-001c037092e0/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/7c734008-4109-43b3-865d-67e7882499b4/rise-velocity-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T110516Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9ebf569dc0713c1ae563b659813a3c572917e740eaa61f40640c791890dfaf4a"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263115/?format=api",
            "id": 263115,
            "name": "Water level (timeseries)",
            "code": "s1-dtri",
            "description": "Water level",
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/d0aa1322-c0b1-43a6-a966-8aab2fff5e1f/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/7c734008-4109-43b3-865d-67e7882499b4/s1-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T110516Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9bce13e97645866724c1ef27296e71eb1562a898e0e67f6693351fbd1f9bca8b"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/7c734008-4109-43b3-865d-67e7882499b4/results/263116/?format=api",
            "id": 263116,
            "name": "Max water level",
            "code": "s1-max-dtri",
            "description": "Max water level",
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/a6103c45-a548-4aa6-9b11-4ca891b185f1/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/7c734008-4109-43b3-865d-67e7882499b4/s1-max-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T110516Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=c1345ce698607b004faab863208b44b99ed3b1b14196e88c5ba0c93fe3bf56a8"
        }
    ]
}