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/e36134fc-e96c-4a0b-86c8-d7e028e06db8/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/e36134fc-e96c-4a0b-86c8-d7e028e06db8/results/452211/?format=api",
            "id": 452211,
            "name": "Damage summary (csv)",
            "code": "damage-summary",
            "description": null,
            "family": "Damage",
            "raster": null,
            "attachment_url": "https://demo.lizard.net/api/v4/scenario-results/452211/damage-summary.csv?format=api",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/e36134fc-e96c-4a0b-86c8-d7e028e06db8/results/452220/?format=api",
            "id": 452220,
            "name": "Damage (direct)",
            "code": "direct-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/3df983b2-4929-4bd7-b801-c8f291c8d8f2/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/e36134fc-e96c-4a0b-86c8-d7e028e06db8/direct-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T070455Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2b0ec9b184edfd502562345043123aa0c2d1d4eab08415adb838b47b6b18aa35"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/e36134fc-e96c-4a0b-86c8-d7e028e06db8/results/452221/?format=api",
            "id": 452221,
            "name": "Waterdepth (damage)",
            "code": "dmge-depth",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/082cf2fe-80ec-476f-98d9-02081c9f90e0/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/e36134fc-e96c-4a0b-86c8-d7e028e06db8/dmge-depth-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T070455Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1cacbd1daa88ea11a529576834cbbba1f24b6191758454c5e0d60006c2e86137"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/e36134fc-e96c-4a0b-86c8-d7e028e06db8/results/452222/?format=api",
            "id": 452222,
            "name": "Damage (indirect)",
            "code": "indirect-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/70f36ad7-0038-4e42-ae54-fc7d50ef5123/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/e36134fc-e96c-4a0b-86c8-d7e028e06db8/indirect-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T070455Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=447a0cf19ea7fedf099b27927a319e5528ce68210608e656c692eac3b13e1435"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/e36134fc-e96c-4a0b-86c8-d7e028e06db8/results/452223/?format=api",
            "id": 452223,
            "name": "Total damage",
            "code": "total-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/4b6f30cd-007d-453d-bf77-16da7ba8444f/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/e36134fc-e96c-4a0b-86c8-d7e028e06db8/total-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T070455Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ebe4a72384370fdc0cca89e234977a4558f58863341cdc4f0da2b8a119e59d39"
        }
    ]
}