API endpoint that allows events to be viewed or edited.

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

{
    "id": 5106,
    "name": "Tuesday, Aug 30-31 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5106/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-30T20:34:14",
    "end": "2022-08-31T06:30:00",
    "day": "2022-08-30",
    "date_label": "Aug 30-31 2022",
    "duration": "35746.0",
    "duration_label": "9 hours 55 min",
    "captures_count": 8684,
    "detections_count": 865,
    "occurrences_count": 73,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5106&ordering=timestamp",
    "first_capture": {
        "id": 17763423,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17763423/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_30/20220830203414-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-30T20:34:14",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM",
                    "6:00 AM"
                ],
                "y": [
                    1,
                    8,
                    11,
                    9,
                    8,
                    7,
                    14,
                    11,
                    4
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    3,
                    3,
                    4,
                    4,
                    5,
                    11,
                    16
                ],
                "y": [
                    "Idia aemula",
                    "Eupithecia tripunctaria",
                    "Crambus praefectellus",
                    "Virbia laeta",
                    "Pandemis limitata",
                    "Pediasia trisecta",
                    "Thyridopteryx ephemeraeformis",
                    "Argyria nivalis",
                    "Choristoneura rosaceana",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-27T22:49:45.402824",
    "updated_at": "2026-01-27T17:22:10.571670",
    "user_permissions": []
}