API endpoint that allows events to be viewed or edited.

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

{
    "id": 4263,
    "name": "Tuesday, Aug 13-14 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4263/?format=api",
    "deployment": {
        "id": 179,
        "name": "LEPS-008_Box2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/179/?format=api",
        "user_permissions": []
    },
    "start": "2024-08-13T12:41:40",
    "end": "2024-08-14T03:30:00",
    "day": "2024-08-13",
    "date_label": "Aug 13-14 2024",
    "duration": "53300.0",
    "duration_label": "14 hours 48 min",
    "captures_count": 2562,
    "detections_count": 107,
    "occurrences_count": 18,
    "stats": {
        "detections_max_count": 9,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4263&ordering=timestamp",
    "first_capture": {
        "id": 13677603,
        "details": "https://api.beluga.insectai.org/api/v2/captures/13677603/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-008_Box2/Box2_20240813124140-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T005635Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e65fdab51ce17c9fc7ccc05e30d2df0db0a5854869634bd999faf44805d36171",
        "width": 1920,
        "height": 1080,
        "timestamp": "2024-08-13T12:41:40",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    2,
                    4,
                    9,
                    6
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    2,
                    2,
                    2,
                    3,
                    12
                ],
                "y": [
                    "Bleptina caradrinalis",
                    "Alucita montana",
                    "Agonopterix nervosa",
                    "Arta statalis",
                    "Bagisara rectifascia",
                    "Mesoleuca ruficillata",
                    "Hypoprepia fucosa",
                    "Macaria fissinotata",
                    "Not Lepidoptera",
                    "Cameraria hamadryadella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-14T09:47:02.412140",
    "updated_at": "2024-09-14T09:47:26.768963",
    "user_permissions": []
}