API endpoint that allows events to be viewed or edited.

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

{
    "id": 4883,
    "name": "Monday, Jul 25-26 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4883/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-25T20:42:28",
    "end": "2022-07-26T05:29:25",
    "day": "2022-07-25",
    "date_label": "Jul 25-26 2022",
    "duration": "31617.0",
    "duration_label": "8 hours 46 min",
    "captures_count": 9012,
    "detections_count": 1240,
    "occurrences_count": 388,
    "stats": {
        "detections_max_count": 29,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4883&ordering=timestamp",
    "first_capture": {
        "id": 16339958,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16339958/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_25/20220725204228-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-25T20:42:28",
        "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"
                ],
                "y": [
                    3,
                    19,
                    27,
                    25,
                    84,
                    76,
                    50,
                    66,
                    101,
                    62
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    13,
                    14,
                    18,
                    19,
                    22,
                    24,
                    25,
                    25,
                    53,
                    102
                ],
                "y": [
                    "Eudonia strigalis",
                    "Crambus",
                    "Malacosoma disstria",
                    "Microcrambus elegans",
                    "Idia aemula",
                    "Peridea angulosa",
                    "Drepana arcuata",
                    "Crambus agitatellus",
                    "Platynota exasperatana",
                    "Iridopsis ephyraria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:59.826491",
    "updated_at": "2024-10-10T19:41:41.176971",
    "user_permissions": []
}