API endpoint that allows events to be viewed or edited.

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

{
    "id": 4797,
    "name": "Tuesday, Jul 5-6 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4797/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-05T20:53:40",
    "end": "2022-07-06T03:13:17",
    "day": "2022-07-05",
    "date_label": "Jul 5-6 2022",
    "duration": "22777.0",
    "duration_label": "6 hours 19 min",
    "captures_count": 8238,
    "detections_count": 1562,
    "occurrences_count": 333,
    "stats": {
        "detections_max_count": 60,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4797&ordering=timestamp",
    "first_capture": {
        "id": 16091154,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16091154/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_05/20220705205340-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-05T20:53:40",
        "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"
                ],
                "y": [
                    7,
                    54,
                    178,
                    55,
                    121,
                    84,
                    50
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    7,
                    7,
                    7,
                    8,
                    8,
                    10,
                    10,
                    14,
                    15,
                    348
                ],
                "y": [
                    "Pandemis lamprosana",
                    "Choristoneura",
                    "Malacosoma disstria",
                    "Pandemis limitata",
                    "Pasiphila rectangulata",
                    "Platynota idaeusalis",
                    "Crambus agitatellus",
                    "Choristoneura rosaceana",
                    "Cenopis pettitana",
                    "Choristoneura fumiferana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:45.560705",
    "updated_at": "2024-10-10T19:41:23.132208",
    "user_permissions": []
}