API endpoint that allows events to be viewed or edited.

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

{
    "id": 2451,
    "name": "Friday, Jun 2-3 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2451/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-06-02T21:02:53",
    "end": "2023-06-03T01:46:19",
    "day": "2023-06-02",
    "date_label": "Jun 2-3 2023",
    "duration": "17006.0",
    "duration_label": "4 hours 43 min",
    "captures_count": 6573,
    "detections_count": 703,
    "occurrences_count": 638,
    "stats": {
        "detections_max_count": 40,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2451&ordering=timestamp",
    "first_capture": {
        "id": 4321558,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4321558/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/2023_06_02/20230602210253-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-06-02T21:02:53",
        "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"
                ],
                "y": [
                    10,
                    11,
                    14,
                    10,
                    18
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    3,
                    3,
                    3,
                    3,
                    4,
                    6,
                    13
                ],
                "y": [
                    "Lobophora nivigerata",
                    "Eriocrania semipurpurella",
                    "Clepsis melaleucanus",
                    "Argyrotaenia mariana",
                    "Syndemis afflictana",
                    "Hydrelia inornata",
                    "Acoloithus falsarius",
                    "Not a Moth",
                    "Holomelina laeta",
                    "Adela caeruleella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T21:59:56.527987",
    "updated_at": "2025-01-15T19:04:21.196609",
    "user_permissions": []
}