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/f03f4057-8dd5-4b89-b144-bb80b0489532/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/f03f4057-8dd5-4b89-b144-bb80b0489532/results/449590/?format=api",
            "id": 449590,
            "name": "Damage summary (csv)",
            "code": "damage-summary",
            "description": null,
            "family": "Damage",
            "raster": null,
            "attachment_url": "https://demo.lizard.net/api/v4/scenario-results/449590/damage-summary.csv?format=api",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/results/449591/?format=api",
            "id": 449591,
            "name": "Damage (direct)",
            "code": "direct-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/d953db62-3947-4e9b-a3da-276773f29f84/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/direct-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T170101Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=83ac73f8719fbcace1868a3354a1892c64f3db6a8eb606667c1755750f7fc06a"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/results/449592/?format=api",
            "id": 449592,
            "name": "Waterdepth (damage)",
            "code": "dmge-depth",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/f02d51b7-1e6a-4fd8-802d-e46a2b8097c4/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/dmge-depth-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T170101Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=43b8d216f5c6ce1c77730f99804494a96bc3de13f03ef8ccec5430fdbec7624b"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/results/449593/?format=api",
            "id": 449593,
            "name": "Damage (indirect)",
            "code": "indirect-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/249eafb7-6a67-4871-b359-f0d36ed4a4ef/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/indirect-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T170101Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f3e614e7eca63cb10ff51df9fedbe6921dd5092541c7bb3ad1de1b6fe973e0ea"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/results/449594/?format=api",
            "id": 449594,
            "name": "Total damage",
            "code": "total-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/f315f45f-4927-4f23-b404-2e2c03687025/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/total-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T170101Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f6a104770dfc2daacb17b011269c8bd2c813fa544c1a4e07444488c796bde817"
        }
    ]
}