API endpoint that allows events to be viewed or edited.

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

{
    "id": 5113,
    "name": "Tuesday, Sep 6-7 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5113/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-06T20:38:12",
    "end": "2022-09-07T05:19:59",
    "day": "2022-09-06",
    "date_label": "Sep 6-7 2022",
    "duration": "31307.0",
    "duration_label": "8 hours 41 min",
    "captures_count": 6569,
    "detections_count": 640,
    "occurrences_count": 108,
    "stats": {
        "detections_max_count": 13,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5113&ordering=timestamp",
    "first_capture": {
        "id": 17811585,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17811585/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_09_06/20220906203812-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-06T20:38:12",
        "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",
                    "5:00 AM"
                ],
                "y": [
                    1,
                    11,
                    10,
                    9,
                    10,
                    28,
                    22,
                    14,
                    3
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    2,
                    2,
                    4,
                    5,
                    6,
                    9,
                    21,
                    45
                ],
                "y": [
                    "Arctia caja",
                    "Cydia caryana",
                    "Coleophora mayrella",
                    "Elasmopalpus lignosella",
                    "Adela caeruleella",
                    "Epinotia lindana",
                    "Microcrambus elegans",
                    "Sparganothis sulfureana",
                    "Eriocrania semipurpurella",
                    "Idia aemula"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-27T22:49:52.814822",
    "updated_at": "2026-01-27T17:22:14.809885",
    "user_permissions": []
}