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/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/results/raw/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 4,
    "next": null,
    "previous": null,
    "results": [
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/results/500102/?format=api",
            "id": 500102,
            "name": "Grid administration",
            "code": "grid-admin",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/gridadmin.h5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250428%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250428T192103Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=71d43f31cc3109770e382e78f25458bdf2c3dd0107029953e25002561331e0f6",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/results/500103/?format=api",
            "id": 500103,
            "name": "Raw 3Di output",
            "code": "results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/results_3di.nc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250428%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250428T192103Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=8b6b92a6697870028a8d45d1e652c94bc7a38e8e78ff51799310316b54dee7bd",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/results/500104/?format=api",
            "id": 500104,
            "name": "Calculation core logging",
            "code": "logfiles",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/log_files.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250428%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250428T192103Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ca3de1a9e94b76026d342536fef50398c6ba7015215dab801ebcca86c6c187a3",
            "upload_url": null
        },
        {
            "url": "https://demo.lizard.net/api/v4/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/results/500105/?format=api",
            "id": 500105,
            "name": "Aggregated 3Di output",
            "code": "aggregate-results-3di",
            "description": null,
            "family": "Raw",
            "raster": null,
            "attachment_url": "https://lizard-prod.s3.amazonaws.com/scenarios/5ce1ebf1-59f5-4adf-8673-8c9cdd0dcc88/aggregate_results_3di.nc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA2FOYZ3A3OWTIUOHB%2F20250428%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20250428T192103Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=a4288298805cff1481b82df7a8a0bf19206671301acba15d0a02a0d242116633",
            "upload_url": null
        }
    ]
}