API endpoint that allows events to be viewed or edited.

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

{
    "id": 4628,
    "name": "Thursday, Jul 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4628/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-21T20:40:00",
    "end": "2022-07-22T04:21:39",
    "day": "2022-07-21",
    "date_label": "Jul 21-22 2022",
    "duration": "27699.0",
    "duration_label": "7 hours 41 min",
    "captures_count": 12604,
    "detections_count": 796,
    "occurrences_count": 129,
    "stats": {
        "detections_max_count": 24,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4628&ordering=timestamp",
    "first_capture": {
        "id": 17833038,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17833038/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220721204000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-21T20:40:00",
        "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,
                    32,
                    18,
                    27,
                    15,
                    14,
                    11,
                    9
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    3,
                    3,
                    3,
                    4,
                    5,
                    6,
                    7,
                    10,
                    17,
                    27
                ],
                "y": [
                    "Archips packardiana",
                    "Acleris forsskaleana",
                    "Epicallima argenticinctella",
                    "Drepana arcuata",
                    "Virbia laeta",
                    "Cenopis reticulatana",
                    "Microcrambus elegans",
                    "Not Lepidoptera",
                    "Eriocrania semipurpurella",
                    "Chrysoteuchia topiarius"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:23.451131",
    "updated_at": "2026-01-27T17:21:31.116660",
    "user_permissions": []
}