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/47e8e9df-5349-4b7c-97df-7fc10d22e271/results/?format=api&page=2
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 17,
    "next": null,
    "previous": "https://demo.lizard.net/api/v4/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/results/?format=api",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/results/455386/?format=api",
            "id": 455386,
            "name": "Max flow velocity",
            "code": "ucr-max-quad",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/291d9f23-ee63-4e58-b445-e6efa6d0fbf4/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/ucr-max-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063011Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ac79eda01d84fd707cbee8fd3587519754ba13d2863beeff38e91d82f59fb4e8"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/results/455387/?format=api",
            "id": 455387,
            "name": "Arrival time",
            "code": "depth-first-dtri",
            "description": null,
            "family": "Arrival",
            "raster": "https://demo.lizard.net/api/v4/rasters/f847c8bc-acd7-469d-8689-ed4be9550a36/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/depth-first-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063011Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=664035d9384096da8f0f84d23fa037f8895fd1ad92ce60c1b7a1d5407107a364"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/results/455392/?format=api",
            "id": 455392,
            "name": "Damage summary (csv)",
            "code": "damage-summary",
            "description": null,
            "family": "Damage",
            "raster": null,
            "attachment_url": "https://demo.lizard.net/api/v4/scenario-results/455392/damage-summary.csv?format=api",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/results/455409/?format=api",
            "id": 455409,
            "name": "Damage (direct)",
            "code": "direct-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/c9622127-2694-48d4-9f2f-18029446e0d8/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/direct-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063011Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ba4bde1b0010a7768d55ecbf03e72bdb99269def78be781a402895c471967811"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/results/455410/?format=api",
            "id": 455410,
            "name": "Waterdepth (damage)",
            "code": "dmge-depth",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/bf81c4b5-e87a-4f80-928e-b1533a2eb6e1/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/dmge-depth-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063011Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9f8a615733a62c74c6f4cc53efb6b99bbc6e699d23706714a4267799921616a1"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/results/455411/?format=api",
            "id": 455411,
            "name": "Damage (indirect)",
            "code": "indirect-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/43381250-4390-4c76-a7ac-03e13290626a/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/indirect-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063011Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=16f68799f086d67bafae73bf4d1fe7dec50cb02b5a290befeb3f2bab5b3f4328"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/results/455412/?format=api",
            "id": 455412,
            "name": "Total damage",
            "code": "total-damage",
            "description": null,
            "family": "Damage",
            "raster": "https://demo.lizard.net/api/v4/rasters/6b64bcc9-ddf0-4bf1-89df-482c45cd436a/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/47e8e9df-5349-4b7c-97df-7fc10d22e271/total-damage-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250315%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250315T063011Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ea2232c30b35c1f39e5ec4c808d516f49a50fc02ce763e73dc3cb3894e10daeb"
        }
    ]
}