API endpoint that allows events to be viewed or edited.

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

{
    "id": 4849,
    "name": "Thursday, Aug 25-26 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4849/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-25T20:37:44",
    "end": "2022-08-26T06:30:00",
    "day": "2022-08-25",
    "date_label": "Aug 25-26 2022",
    "duration": "35536.0",
    "duration_label": "9 hours 52 min",
    "captures_count": 14261,
    "detections_count": 1574,
    "occurrences_count": 204,
    "stats": {
        "detections_max_count": 24,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4849&ordering=timestamp",
    "first_capture": {
        "id": 15843529,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15843529/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_25/20220825203744-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-25T20:37:44",
        "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,
                    12,
                    21,
                    28,
                    17,
                    30,
                    34,
                    19,
                    10,
                    28,
                    4
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    5,
                    5,
                    6,
                    6,
                    9,
                    11,
                    22,
                    22,
                    45
                ],
                "y": [
                    "Hypena baltimoralis",
                    "Acoloithus falsarius",
                    "Virbia laeta",
                    "Gymnandrosoma punctidiscanum",
                    "Adela caeruleella",
                    "Cyclophora pendulinaria",
                    "Sparganothis sulfureana",
                    "Not Lepidoptera",
                    "Eriocrania semipurpurella",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:55.374304",
    "updated_at": "2026-01-27T17:22:04.460749",
    "user_permissions": []
}