API endpoint that allows events to be viewed or edited.

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

{
    "id": 4609,
    "name": "Tuesday, Jul 19-20 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4609/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-19T20:33:04",
    "end": "2022-07-20T05:45:01",
    "day": "2022-07-19",
    "date_label": "Jul 19-20 2022",
    "duration": "33117.0",
    "duration_label": "9 hours 11 min",
    "captures_count": 13639,
    "detections_count": 2090,
    "occurrences_count": 339,
    "stats": {
        "detections_max_count": 37,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4609&ordering=timestamp",
    "first_capture": {
        "id": 15332221,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15332221/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_07_19/20220719203304-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-19T20:33:04",
        "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",
                    "5:00 AM"
                ],
                "y": [
                    1,
                    25,
                    41,
                    41,
                    63,
                    66,
                    68,
                    16,
                    18
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    8,
                    9,
                    10,
                    12,
                    14,
                    16,
                    22,
                    24,
                    35,
                    67
                ],
                "y": [
                    "Eudonia strigalis",
                    "Virbia laeta",
                    "Microcrambus elegans",
                    "Macaria pustularia",
                    "Adela caeruleella",
                    "Eriocrania semipurpurella",
                    "Chrysoteuchia topiarius",
                    "Not Lepidoptera",
                    "Hypoprepia fucosa",
                    "Choristoneura fumiferana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:21.053022",
    "updated_at": "2026-01-27T17:21:27.159371",
    "user_permissions": []
}