API endpoint that allows events to be viewed or edited.

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

{
    "id": 244,
    "name": "Friday, Aug 26 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/244/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-26T20:32:31",
    "end": "2022-08-26T23:28:03",
    "day": "2022-08-26",
    "date_label": "Aug 26 2022",
    "duration": "10532.0",
    "duration_label": "2 hours 55 min",
    "captures_count": 2748,
    "detections_count": 43,
    "occurrences_count": 20,
    "stats": {
        "detections_max_count": 23,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=244&ordering=timestamp",
    "first_capture": {
        "id": 936266,
        "details": "https://api.beluga.insectai.org/api/v2/captures/936266/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_08_26/20220826203231-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-26T20:32:31",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    15,
                    5
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    2,
                    2,
                    6
                ],
                "y": [
                    "Iridopsis ephyraria",
                    "Hypena baltimoralis",
                    "Coleophora mayrella",
                    "Olethreutes tilianum",
                    "Lepidoptera",
                    "Chrysoteuchia topiarius",
                    "Campaea perlata",
                    "Scoparia biplagialis",
                    "Choristoneura rosaceana",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:13:12.908898",
    "updated_at": "2024-07-23T18:55:50.196621",
    "user_permissions": []
}