API endpoint that allows events to be viewed or edited.

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

{
    "id": 4417,
    "name": "Thursday, Aug 29-30 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4417/?format=api",
    "deployment": {
        "id": 224,
        "name": "LEPS-039_Box1",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/224/?format=api",
        "user_permissions": []
    },
    "start": "2024-08-29T15:24:29",
    "end": "2024-08-30T03:30:00",
    "day": "2024-08-29",
    "date_label": "Aug 29-30 2024",
    "duration": "43531.0",
    "duration_label": "12 hours 5 min",
    "captures_count": 2540,
    "detections_count": 712,
    "occurrences_count": 73,
    "stats": {
        "detections_max_count": 25,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4417&ordering=timestamp",
    "first_capture": {
        "id": 14056603,
        "details": "https://api.beluga.insectai.org/api/v2/captures/14056603/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-039_Box1/Box1_20240829152429-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T010922Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=645ccfe180991909f4131561a4f8d11818885cded7f360db516ffc8a6d1c076f",
        "width": 1920,
        "height": 1080,
        "timestamp": "2024-08-29T15:24:29",
        "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,
                    12,
                    10,
                    15,
                    10,
                    20,
                    17
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    3,
                    5,
                    6,
                    7,
                    8,
                    9,
                    28
                ],
                "y": [
                    "Hypagyrtis unipunctata",
                    "Clemensia albata",
                    "Pangrapta decoralis",
                    "Buzara latizona",
                    "Dyseriocrania griseocapitella",
                    "Scopula limboundata",
                    "Pandemis limitata",
                    "Platynota exasperatana",
                    "Campaea perlata",
                    "Cyclophora pendulinaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-14T18:49:35.032661",
    "updated_at": "2024-09-14T18:49:40.931691",
    "user_permissions": []
}