API endpoint that allows events to be viewed or edited.

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

{
    "id": 4906,
    "name": "Sunday, Jul 31-1 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4906/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-31T21:01:18",
    "end": "2022-08-01T02:50:41",
    "day": "2022-07-31",
    "date_label": "Jul 31-1 2022",
    "duration": "20963.0",
    "duration_label": "5 hours 49 min",
    "captures_count": 5450,
    "detections_count": 598,
    "occurrences_count": 139,
    "stats": {
        "detections_max_count": 36,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4906&ordering=timestamp",
    "first_capture": {
        "id": 16428979,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16428979/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_31/20220731210118-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-31T21:01:18",
        "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"
                ],
                "y": [
                    7,
                    35,
                    25,
                    26,
                    30,
                    63
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    5,
                    6,
                    7,
                    8,
                    10,
                    11,
                    12,
                    16,
                    18,
                    22
                ],
                "y": [
                    "Catocala cerogama",
                    "Acrobasis angusella",
                    "Hypoprepia fucosa",
                    "Eudonia strigalis",
                    "Idia aemula",
                    "Microcrambus elegans",
                    "Drepana arcuata",
                    "Platynota exasperatana",
                    "Pandemis lamprosana",
                    "Lymantria dispar"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:03.533973",
    "updated_at": "2024-10-10T19:41:47.528255",
    "user_permissions": []
}