API endpoint that allows events to be viewed or edited.

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

{
    "id": 4775,
    "name": "Thursday, Jun 30-1 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4775/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-30T20:53:48",
    "end": "2022-07-01T05:31:58",
    "day": "2022-06-30",
    "date_label": "Jun 30-1 2022",
    "duration": "31090.0",
    "duration_label": "8 hours 38 min",
    "captures_count": 9727,
    "detections_count": 903,
    "occurrences_count": 221,
    "stats": {
        "detections_max_count": 24,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4775&ordering=timestamp",
    "first_capture": {
        "id": 16034952,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16034952/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_30/20220630205348-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-30T20:53:48",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM"
                ],
                "y": [
                    8,
                    64,
                    27,
                    49,
                    19,
                    89,
                    55
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    10,
                    10,
                    12,
                    12,
                    15,
                    20,
                    26,
                    32,
                    32,
                    37
                ],
                "y": [
                    "Renia adspergillus",
                    "Blepharomastix ranalis",
                    "Pasiphila rectangulata",
                    "Choristoneura fumiferana",
                    "Proteoteras moffatiana",
                    "Parapoynx allionealis",
                    "Platynota idaeusalis",
                    "Cenopis pettitana",
                    "Macaria pustularia",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:40.904546",
    "updated_at": "2024-10-10T19:41:20.841267",
    "user_permissions": []
}