API endpoint that allows events to be viewed or edited.

GET /api/v2/events/5671/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 5671,
    "name": "Tuesday, Apr 16 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5671/?format=api",
    "deployment": {
        "id": 258,
        "name": "ECOLINK",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/258/?format=api",
        "user_permissions": []
    },
    "start": "2024-04-16T11:05:59",
    "end": "2024-04-16T11:05:59",
    "day": "2024-04-16",
    "date_label": "Apr 16 2024",
    "duration": "0.0",
    "duration_label": "",
    "captures_count": 1,
    "detections_count": 0,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 0,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5671&ordering=timestamp",
    "first_capture": {
        "id": 20881964,
        "details": "https://api.beluga.insectai.org/api/v2/captures/20881964/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000049/snapshot_images/01-20240416110559-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260413%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260413T021721Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=937a44a55f19134e00fd464afbd5e8e81a4777a52b5467c2add867eac40ca12a",
        "width": null,
        "height": null,
        "timestamp": "2024-04-16T11:05:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [],
                "y": []
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2025-01-21T23:49:13.459381",
    "updated_at": "2025-01-22T00:31:24.463005",
    "user_permissions": []
}