API endpoint that allows events to be viewed or edited.

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

{
    "id": 4363,
    "name": "Monday, Jul 15-16 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4363/?format=api",
    "deployment": {
        "id": 178,
        "name": "LEPS-007_Box2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/178/?format=api",
        "user_permissions": []
    },
    "start": "2024-07-15T10:06:49",
    "end": "2024-07-16T03:30:00",
    "day": "2024-07-15",
    "date_label": "Jul 15-16 2024",
    "duration": "62591.0",
    "duration_label": "17 hours 23 min",
    "captures_count": 2583,
    "detections_count": 756,
    "occurrences_count": 276,
    "stats": {
        "detections_max_count": 47,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4363&ordering=timestamp",
    "first_capture": {
        "id": 13850001,
        "details": "https://api.beluga.insectai.org/api/v2/captures/13850001/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-007_Box2/Box2_20240715100649-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T233320Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=bc4811703cd1ef8ac315dcd6897d1a4d125257484cb3c74b9fa3eae554910b60",
        "width": 1920,
        "height": 1080,
        "timestamp": "2024-07-15T10:06:49",
        "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": [
                    2,
                    9,
                    21,
                    42,
                    77,
                    88,
                    70
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    4,
                    5,
                    5,
                    6,
                    7,
                    7,
                    8,
                    45,
                    178
                ],
                "y": [
                    "Zale minerea",
                    "Antepione thisoaria",
                    "Scoparia basalis",
                    "Macrurocampa marthesia",
                    "Peridea angulosa",
                    "Hydrelia inornata",
                    "Olethreutes fasciatana",
                    "Olethreutes permundana",
                    "Condylolomia participialis",
                    "Cyclophora pendulinaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-14T18:21:29.089485",
    "updated_at": "2024-09-14T18:21:33.625793",
    "user_permissions": []
}