API endpoint that allows events to be viewed or edited.

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

{
    "id": 2439,
    "name": "Monday, May 15-16 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2439/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-05-15T21:10:00",
    "end": "2023-05-16T04:00:46",
    "day": "2023-05-15",
    "date_label": "May 15-16 2023",
    "duration": "24646.0",
    "duration_label": "6 hours 50 min",
    "captures_count": 3895,
    "detections_count": 215,
    "occurrences_count": 203,
    "stats": {
        "detections_max_count": 11,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2439&ordering=timestamp",
    "first_capture": {
        "id": 4269425,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4269425/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230515211000-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-05-15T21:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    17,
                    17,
                    18,
                    10,
                    17,
                    2
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    2,
                    2,
                    3,
                    3,
                    4,
                    5,
                    13,
                    21,
                    21
                ],
                "y": [
                    "Eriocrania semipurpurella",
                    "Psychomorpha epimenis",
                    "Cladara atroliturata",
                    "Adela caeruleella",
                    "Argyrotaenia mariana",
                    "Thyridopteryx ephemeraeformis",
                    "Syndemis afflictana",
                    "Venusia comptaria",
                    "Nyctobia limitaria",
                    "Plagodis phlogosaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T21:59:51.023653",
    "updated_at": "2025-01-15T19:04:18.208674",
    "user_permissions": []
}