API endpoint that allows events to be viewed or edited.

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

{
    "id": 2447,
    "name": "Monday, May 29-30 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2447/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-05-29T21:02:18",
    "end": "2023-05-30T03:59:59",
    "day": "2023-05-29",
    "date_label": "May 29-30 2023",
    "duration": "25061.0",
    "duration_label": "6 hours 57 min",
    "captures_count": 3543,
    "detections_count": 199,
    "occurrences_count": 198,
    "stats": {
        "detections_max_count": 10,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2447&ordering=timestamp",
    "first_capture": {
        "id": 4300704,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4300704/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/2023_05_29/20230529210218-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-05-29T21:02:18",
        "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": [
                    6,
                    7,
                    14,
                    7,
                    10,
                    5,
                    7
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    2,
                    4,
                    4,
                    6,
                    6,
                    11,
                    19
                ],
                "y": [
                    "Balsa tristrigella",
                    "Eupithecia miserulata",
                    "Coleophora deauratella",
                    "Symmerista albifrons",
                    "Palpita magniferalis",
                    "Adela caeruleella",
                    "Xanthorhoe labradorensis",
                    "Syndemis afflictana",
                    "Argyrotaenia mariana",
                    "Semioscopis packardella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T21:59:51.878300",
    "updated_at": "2025-01-15T19:04:20.269077",
    "user_permissions": []
}