API endpoint that allows events to be viewed or edited.

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

{
    "id": 4450,
    "name": "Monday, May 20-21 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4450/?format=api",
    "deployment": {
        "id": 173,
        "name": "LEPS-002_Box2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/173/?format=api",
        "user_permissions": []
    },
    "start": "2024-05-20T13:37:59",
    "end": "2024-05-21T03:30:00",
    "day": "2024-05-20",
    "date_label": "May 20-21 2024",
    "duration": "49921.0",
    "duration_label": "13 hours 52 min",
    "captures_count": 2570,
    "detections_count": 584,
    "occurrences_count": 183,
    "stats": {
        "detections_max_count": 26,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4450&ordering=timestamp",
    "first_capture": {
        "id": 13811743,
        "details": "https://api.beluga.insectai.org/api/v2/captures/13811743/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-002_Box2/Box2_20240520133759-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260404%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260404T090911Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=024d0d95e6313d74e7954e141f323e64cca5efd09b34b4e8164388b33fd5d3cb",
        "width": 1920,
        "height": 1080,
        "timestamp": "2024-05-20T13:37:59",
        "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": [
                    5,
                    9,
                    26,
                    48,
                    51,
                    54,
                    29
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    7,
                    7,
                    8,
                    9,
                    9,
                    11,
                    14,
                    14,
                    18,
                    29
                ],
                "y": [
                    "Selenia alciphearia",
                    "Cyclophora pendulinaria",
                    "Argyrotaenia mariana",
                    "Hethemia pistasciaria",
                    "Hypena madefactalis",
                    "Macaria aemulataria",
                    "Lambdina pellucidaria",
                    "Hypena baltimoralis",
                    "Lambdina fervidaria",
                    "Metarranthis obfirmaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-14T18:56:29.528046",
    "updated_at": "2024-09-16T19:44:16.715699",
    "user_permissions": []
}