API endpoint that allows events to be viewed or edited.

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

{
    "id": 2459,
    "name": "Friday, Jun 16-17 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2459/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-06-16T21:04:25",
    "end": "2023-06-17T04:01:40",
    "day": "2023-06-16",
    "date_label": "Jun 16-17 2023",
    "duration": "25035.0",
    "duration_label": "6 hours 57 min",
    "captures_count": 9653,
    "detections_count": 1138,
    "occurrences_count": 1114,
    "stats": {
        "detections_max_count": 40,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2459&ordering=timestamp",
    "first_capture": {
        "id": 4374719,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4374719/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/2023_06_16/20230616210425-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-06-16T21:04:25",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    9,
                    32,
                    29,
                    29,
                    35,
                    29,
                    66,
                    5
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    6,
                    7,
                    8,
                    8,
                    11,
                    14,
                    15,
                    17,
                    19,
                    29
                ],
                "y": [
                    "Ecdytolopha insiticiana",
                    "Eucopina tocullionana",
                    "Clepsis persicana",
                    "Balsa tristrigella",
                    "Heliomata cycladata",
                    "Palpita magniferalis",
                    "Clepsis melaleucanus",
                    "Biston betularia",
                    "Lophocampa caryae",
                    "Hydrelia inornata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T21:59:56.817738",
    "updated_at": "2025-01-15T19:04:23.636741",
    "user_permissions": []
}