API endpoint that allows events to be viewed or edited.

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

{
    "id": 4437,
    "name": "Wednesday, May 29-30 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4437/?format=api",
    "deployment": {
        "id": 193,
        "name": "LEPS-043_Box2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/193/?format=api",
        "user_permissions": []
    },
    "start": "2024-05-29T12:57:49",
    "end": "2024-05-30T03:30:00",
    "day": "2024-05-29",
    "date_label": "May 29-30 2024",
    "duration": "52331.0",
    "duration_label": "14 hours 32 min",
    "captures_count": 2547,
    "detections_count": 328,
    "occurrences_count": 123,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4437&ordering=timestamp",
    "first_capture": {
        "id": 14005940,
        "details": "https://api.beluga.insectai.org/api/v2/captures/14005940/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-043_Box2/Box2_20240529125749-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160912Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9301b8ba574e7bfd4caffcb3a5533180809984a93365f23e2e7ee06473711c9f",
        "width": 1920,
        "height": 1080,
        "timestamp": "2024-05-29T12:57: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": [
                    11,
                    16,
                    14,
                    9,
                    23,
                    41,
                    22
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    3,
                    3,
                    4,
                    5,
                    7,
                    8,
                    13,
                    15,
                    29,
                    33
                ],
                "y": [
                    "Aethalura intertexta",
                    "Hydrelia inornata",
                    "Eudonia heterosalis",
                    "Clemensia albata",
                    "Protoboarmia porcelaria",
                    "Chytonix palliatricula",
                    "Macaria aemulataria",
                    "Besma endropiaria",
                    "Campaea perlata",
                    "Scoparia biplagialis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-14T18:51:47.002855",
    "updated_at": "2024-09-14T18:54:58.507053",
    "user_permissions": []
}