API endpoint that allows events to be viewed or edited.

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

{
    "id": 2471,
    "name": "Friday, Jul 7-8 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2471/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-07T21:02:51",
    "end": "2023-07-08T04:01:50",
    "day": "2023-07-07",
    "date_label": "Jul 7-8 2023",
    "duration": "25139.0",
    "duration_label": "6 hours 58 min",
    "captures_count": 9273,
    "detections_count": 1122,
    "occurrences_count": 1089,
    "stats": {
        "detections_max_count": 44,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2471&ordering=timestamp",
    "first_capture": {
        "id": 4493402,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4493402/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/2023_07_07/20230707210251-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-07-07T21:02:51",
        "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",
                    "4:00 AM"
                ],
                "y": [
                    2,
                    8,
                    16,
                    21,
                    22,
                    23,
                    24,
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    5,
                    6,
                    6,
                    6,
                    6,
                    7,
                    8,
                    10,
                    10
                ],
                "y": [
                    "Microcrambus elegans",
                    "Adela caeruleella",
                    "Haploolophus mollissima",
                    "Holomelina laeta",
                    "Nematocampa resistaria",
                    "Gymnandrosoma punctidiscanum",
                    "Olethreutes fasciatana",
                    "Hydrelia inornata",
                    "Thyridopteryx ephemeraeformis",
                    "Lobophora nivigerata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T22:00:03.085908",
    "updated_at": "2025-01-15T19:04:28.326436",
    "user_permissions": []
}