API endpoint that allows events to be viewed or edited.

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

{
    "id": 4819,
    "name": "Monday, Jul 11-12 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4819/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-11T20:52:29",
    "end": "2022-07-12T04:34:17",
    "day": "2022-07-11",
    "date_label": "Jul 11-12 2022",
    "duration": "27708.0",
    "duration_label": "7 hours 41 min",
    "captures_count": 10144,
    "detections_count": 1439,
    "occurrences_count": 211,
    "stats": {
        "detections_max_count": 68,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4819&ordering=timestamp",
    "first_capture": {
        "id": 16151584,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16151584/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_11/20220711205229-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-11T20:52:29",
        "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": [
                    35,
                    78,
                    25,
                    26,
                    86,
                    46,
                    47,
                    21
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    8,
                    8,
                    9,
                    9,
                    10,
                    17,
                    18,
                    22,
                    40,
                    69
                ],
                "y": [
                    "Malacosoma disstria",
                    "Hypoprepia fucosa",
                    "Malacosoma americana",
                    "Macaria pustularia",
                    "Scopula limboundata",
                    "Microcrambus elegans",
                    "Crambus agitatellus",
                    "Arta statalis",
                    "Choristoneura fumiferana",
                    "Cenopis pettitana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:49.015184",
    "updated_at": "2024-10-10T19:41:27.356557",
    "user_permissions": []
}