API endpoint that allows events to be viewed or edited.

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

{
    "id": 5107,
    "name": "Wednesday, Aug 31-1 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5107/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-31T20:34:26",
    "end": "2022-09-01T06:30:00",
    "day": "2022-08-31",
    "date_label": "Aug 31-1 2022",
    "duration": "35734.0",
    "duration_label": "9 hours 55 min",
    "captures_count": 7282,
    "detections_count": 662,
    "occurrences_count": 76,
    "stats": {
        "detections_max_count": 15,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5107&ordering=timestamp",
    "first_capture": {
        "id": 17772047,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17772047/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_31/20220831203426-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-31T20:34:26",
        "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",
                    "5:00 AM"
                ],
                "y": [
                    5,
                    16,
                    10,
                    12,
                    11,
                    4,
                    9,
                    7,
                    2
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    3,
                    4,
                    4,
                    5,
                    5,
                    5,
                    7,
                    10,
                    12
                ],
                "y": [
                    "Not a Moth (duplicate)",
                    "Coleophora mayrella",
                    "Campaea perlata",
                    "Agriphila vulgivagellus",
                    "Adela caeruleella",
                    "Choristoneura rosaceana",
                    "Virbia laeta",
                    "Petrophila bifascialis",
                    "Not Lepidoptera",
                    "Eriocrania semipurpurella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-27T22:49:46.434236",
    "updated_at": "2026-01-27T17:22:11.158245",
    "user_permissions": []
}