API endpoint that allows events to be viewed or edited.

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

{
    "id": 4598,
    "name": "Sunday, Jul 17-18 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4598/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-17T20:33:02",
    "end": "2022-07-18T04:33:23",
    "day": "2022-07-17",
    "date_label": "Jul 17-18 2022",
    "duration": "28821.0",
    "duration_label": "8 hours 0 min",
    "captures_count": 12709,
    "detections_count": 4659,
    "occurrences_count": 898,
    "stats": {
        "detections_max_count": 71,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4598&ordering=timestamp",
    "first_capture": {
        "id": 15319560,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15319560/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_07_17/20220717203302-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-17T20:33:02",
        "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": [
                    3,
                    80,
                    82,
                    146,
                    186,
                    157,
                    141,
                    103
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    12,
                    12,
                    13,
                    14,
                    17,
                    18,
                    21,
                    27,
                    61,
                    441
                ],
                "y": [
                    "Eudonia strigalis",
                    "Choristoneura",
                    "Epicallima argenticinctella",
                    "Eriocrania semipurpurella",
                    "Platynota exasperatana",
                    "Argyrotaenia quercifoliana",
                    "Not Lepidoptera",
                    "Chrysoteuchia topiarius",
                    "Hypoprepia fucosa",
                    "Choristoneura fumiferana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:19.904915",
    "updated_at": "2026-01-27T17:21:25.624204",
    "user_permissions": []
}