API endpoint that allows events to be viewed or edited.

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

{
    "id": 2565,
    "name": "Saturday, May 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/2565/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-21T20:33:14",
    "end": "2022-05-22T05:00:31",
    "day": "2022-05-21",
    "date_label": "May 21-22 2022",
    "duration": "30437.0",
    "duration_label": "8 hours 27 min",
    "captures_count": 12561,
    "detections_count": 1581,
    "occurrences_count": 1532,
    "stats": {
        "detections_max_count": 41,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2565&ordering=timestamp",
    "first_capture": {
        "id": 4618383,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4618383/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/movement/2022_05_21/20220521203314-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-21T20:33:14",
        "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",
                    "5:00 AM"
                ],
                "y": [
                    5,
                    22,
                    41,
                    44,
                    38,
                    39,
                    46,
                    28,
                    6
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    6,
                    7,
                    8,
                    11,
                    13,
                    13,
                    24,
                    28,
                    29,
                    41
                ],
                "y": [
                    "Eriocrania semipurpurella",
                    "Probole amicaria",
                    "Eufidonia notataria",
                    "Nyctobia limitaria",
                    "Argyrotaenia mariana",
                    "Eucopina tocullionana",
                    "Drepana arcuata",
                    "Palpita magniferalis",
                    "Adela caeruleella",
                    "Syndemis afflictana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-13T07:12:28.127321",
    "updated_at": "2025-01-15T19:03:47.489844",
    "user_permissions": []
}