API endpoint that allows events to be viewed or edited.

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

{
    "id": 4441,
    "name": "Thursday, Jun 20-21 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4441/?format=api",
    "deployment": {
        "id": 194,
        "name": "LEPS-044_Box2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/194/?format=api",
        "user_permissions": []
    },
    "start": "2024-06-20T12:37:29",
    "end": "2024-06-21T03:30:00",
    "day": "2024-06-20",
    "date_label": "Jun 20-21 2024",
    "duration": "53551.0",
    "duration_label": "14 hours 52 min",
    "captures_count": 2554,
    "detections_count": 493,
    "occurrences_count": 127,
    "stats": {
        "detections_max_count": 39,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4441&ordering=timestamp",
    "first_capture": {
        "id": 13990748,
        "details": "https://api.beluga.insectai.org/api/v2/captures/13990748/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-044_Box2/Box2_20240620123729-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T010113Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=437a4ada5bd52f14773d025aa3e605256dc470ac80bbe05f4ca1c1e7c01a980a",
        "width": 1920,
        "height": 1080,
        "timestamp": "2024-06-20T12:37:29",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "2:00 PM",
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    11,
                    1,
                    5,
                    21,
                    16,
                    22,
                    16,
                    21,
                    14
                ],
                "ticktext": [
                    "2:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    3,
                    3,
                    4,
                    5,
                    5,
                    7,
                    8,
                    8,
                    14,
                    17
                ],
                "y": [
                    "Archips dissitana",
                    "Hydrelia inornata",
                    "Acleris semipurpurana",
                    "Olethreutes osmundana",
                    "Herpetogramma theseusalis",
                    "Olethreutes hamameliana",
                    "Condylolomia participialis",
                    "Olethreutes fasciatana",
                    "Not Lepidoptera",
                    "Malacosoma americana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-14T18:52:09.330237",
    "updated_at": "2024-09-14T18:55:01.602255",
    "user_permissions": []
}