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/?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/f03f4057-8dd5-4b89-b144-bb80b0489532/results/?format=api",
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/results/449588/?format=api",
            "id": 449588,
            "name": "Max flow velocity",
            "code": "ucr-max-quad",
            "description": null,
            "family": "Basic",
            "raster": "https://demo.lizard.net/api/v4/rasters/8d14ee5b-392a-4120-8c14-dc1d695eb9dd/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/ucr-max-quad-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T164536Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e5638afaa5e620a61cbea9332c3fb04eec88f1a52620883cf770dce145fe182e"
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/results/449589/?format=api",
            "id": 449589,
            "name": "Arrival time",
            "code": "depth-first-dtri",
            "description": null,
            "family": "Arrival",
            "raster": "https://demo.lizard.net/api/v4/rasters/e73aa5b0-6496-4c88-ac43-265f043e160d/?format=api",
            "attachment_url": null,
            "upload_url": "https://lizard-prod.s3.amazonaws.com/scenarios/f03f4057-8dd5-4b89-b144-bb80b0489532/depth-first-dtri-upload?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250512%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250512T164536Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=b671d8596709a28a7e7d02322d2dea0faa758ba118611ce7e707c496742bc73b"
        },
        {
            "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=20250512T164536Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=44a64037f3d5adff1a507767f45dbbba6e788b5c29a53ed2cb76de4269391eb0"
        },
        {
            "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=20250512T164536Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=32d5633572d06505a7f22c2b2838d8bc6e6c3d9def06a983f42d3dbe57945b13"
        },
        {
            "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=20250512T164536Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=03a104c773d744bb8a2fa6beca17cac1d73a778afd15f20201c7cffc90645656"
        },
        {
            "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=20250512T164536Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=7d03edf519defe300b704e5ba562562596f1af22d706f53584d90860c48d9781"
        }
    ]
}