API endpoint that allows events to be viewed or edited.

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

{
    "id": 4824,
    "name": "Monday, Aug 22-23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4824/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-22T20:35:42",
    "end": "2022-08-23T06:32:20",
    "day": "2022-08-22",
    "date_label": "Aug 22-23 2022",
    "duration": "35798.0",
    "duration_label": "9 hours 56 min",
    "captures_count": 15785,
    "detections_count": 1799,
    "occurrences_count": 170,
    "stats": {
        "detections_max_count": 34,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4824&ordering=timestamp",
    "first_capture": {
        "id": 15768391,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15768391/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_22/20220822203542-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-22T20:35:42",
        "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",
                    "6:00 AM"
                ],
                "y": [
                    1,
                    7,
                    11,
                    16,
                    13,
                    16,
                    19,
                    25,
                    23,
                    33,
                    6
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    5,
                    7,
                    7,
                    7,
                    9,
                    10,
                    11,
                    15,
                    16,
                    25
                ],
                "y": [
                    "Elasmopalpus lignosella",
                    "Apotomis albeolana",
                    "Adela caeruleella",
                    "Gymnandrosoma punctidiscanum",
                    "Anavitrinella pampinaria",
                    "Chrysoteuchia topiarius",
                    "Virbia laeta",
                    "Eriocrania semipurpurella",
                    "Not Lepidoptera",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:50.216020",
    "updated_at": "2026-01-27T17:22:00.663691",
    "user_permissions": []
}