API endpoint that allows events to be viewed or edited.

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

{
    "id": 4649,
    "name": "Saturday, Jul 23-24 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4649/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-23T20:40:00",
    "end": "2022-07-24T05:08:56",
    "day": "2022-07-23",
    "date_label": "Jul 23-24 2022",
    "duration": "30536.0",
    "duration_label": "8 hours 28 min",
    "captures_count": 14015,
    "detections_count": 1504,
    "occurrences_count": 227,
    "stats": {
        "detections_max_count": 23,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4649&ordering=timestamp",
    "first_capture": {
        "id": 17833041,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17833041/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220723204000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-23T20:40:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM"
                ],
                "y": [
                    2,
                    11,
                    22,
                    19,
                    41,
                    27,
                    26,
                    33,
                    41,
                    5
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    4,
                    5,
                    8,
                    12,
                    14,
                    15,
                    27,
                    29,
                    35
                ],
                "y": [
                    "Eudonia strigalis",
                    "Petrophila bifascialis",
                    "Archips packardiana",
                    "Dyseriocrania griseocapitella",
                    "Chrysoteuchia topiarius",
                    "Microcrambus elegans",
                    "Hypoprepia fucosa",
                    "Virbia laeta",
                    "Not Lepidoptera",
                    "Eriocrania semipurpurella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:25.843193",
    "updated_at": "2026-01-27T17:21:33.982509",
    "user_permissions": []
}