API endpoint that allows events to be viewed or edited.

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

{
    "id": 6671,
    "name": "Friday, Jul 26-27 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/6671/?format=api",
    "deployment": {
        "id": 277,
        "name": "Puang Thong 2 (lake)",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/277/?format=api",
        "user_permissions": []
    },
    "start": "2024-07-26T18:31:01",
    "end": "2024-07-27T04:00:59",
    "day": "2024-07-26",
    "date_label": "Jul 26-27 2024",
    "duration": "34198.0",
    "duration_label": "9 hours 29 min",
    "captures_count": 3421,
    "detections_count": 270,
    "occurrences_count": 270,
    "stats": {
        "detections_max_count": 58,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=6671&ordering=timestamp",
    "first_capture": {
        "id": 24687715,
        "details": "https://api.beluga.insectai.org/api/v2/captures/24687715/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/tha/dep000076/snapshot_images/20240726183101-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T142559Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=aaf6ea1ee0bd1ddc8d58540ad59f21d6ce4c29e1dff05aec061357eb433c6719",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-07-26T18:31:01",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "7:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    9,
                    55,
                    52,
                    58,
                    22,
                    35,
                    39
                ],
                "ticktext": [
                    "7:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    6,
                    264
                ],
                "y": [
                    "Not Lepidoptera",
                    "Moth"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2025-01-27T11:25:14.952413",
    "updated_at": "2025-01-27T12:13:38.779677",
    "user_permissions": []
}