API endpoint that allows events to be viewed or edited.

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

{
    "id": 4915,
    "name": "Wednesday, Aug 3-4 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4915/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-03T20:32:49",
    "end": "2022-08-04T05:03:16",
    "day": "2022-08-03",
    "date_label": "Aug 3-4 2022",
    "duration": "30627.0",
    "duration_label": "8 hours 30 min",
    "captures_count": 10840,
    "detections_count": 906,
    "occurrences_count": 204,
    "stats": {
        "detections_max_count": 29,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4915&ordering=timestamp",
    "first_capture": {
        "id": 16581724,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16581724/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_08_03/20220803203249-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-03T20:32:49",
        "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": [
                    18,
                    14,
                    24,
                    16,
                    14,
                    22,
                    39,
                    116,
                    4
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    9,
                    10,
                    11,
                    11,
                    12,
                    12,
                    13,
                    14,
                    16,
                    34
                ],
                "y": [
                    "Cydia latiferreana",
                    "Catocala cerogama",
                    "Pandemis lamprosana",
                    "Peridea angulosa",
                    "Idia aemula",
                    "Eudonia strigalis",
                    "Lymantria dispar",
                    "Microcrambus elegans",
                    "Choristoneura rosaceana",
                    "Platynota exasperatana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:05.068045",
    "updated_at": "2024-10-10T19:41:50.948546",
    "user_permissions": []
}