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/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/results/damage/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 5,
    "next": null,
    "previous": null,
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/results/453527/?format=api",
            "id": 453527,
            "name": "Damage summary (csv)",
            "code": "damage-summary",
            "description": null,
            "family": "Damage",
            "raster": null,
            "attachment_url": "https://demo.lizard.net/api/v4/scenario-results/453527/damage-summary.csv?format=api",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/results/453536/?format=api",
            "id": 453536,
            "name": "Damage (direct)",
            "code": "direct-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/4c56f3dd-3ce3-4012-8635-ff038056230f/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/direct-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T134929Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1e94591610cad4370f156181ee41758b18128d923250146a6472c99651a93745"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/results/453537/?format=api",
            "id": 453537,
            "name": "Waterdepth (damage)",
            "code": "dmge-depth",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/974013c7-f542-4724-8f40-71adea96970c/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/dmge-depth-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T134929Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=6a3aa01eedf15aa8d786ec63a8d7f87ef2d26592b633cff50862424933488ffe"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/results/453538/?format=api",
            "id": 453538,
            "name": "Damage (indirect)",
            "code": "indirect-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/ed3046f1-10e4-4323-90f7-7ad01f8b9b9b/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/indirect-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T134929Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ced09d5f264a60bc0289e8e749ddcd1a45437d6f0315e80fda228781ed6d9941"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/results/453539/?format=api",
            "id": 453539,
            "name": "Total damage",
            "code": "total-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/749c6b1f-f54d-4d22-a666-ceab19e96d2b/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/6e5a64d7-9a6a-4f6d-a595-38a4b2f1cebb/total-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T134929Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=3dc983c76e3a652ed116ebfcaa406362fe9355cc7e9b27e6fb8e0a9888ded2f9"
        }
    ]
}