API endpoint that allows events to be viewed or edited.

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

{
    "id": 2493,
    "name": "Monday, Aug 14 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2493/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-14T21:10:00",
    "end": "2023-08-14T23:49:59",
    "day": "2023-08-14",
    "date_label": "Aug 14 2023",
    "duration": "9599.0",
    "duration_label": "2 hours 39 min",
    "captures_count": 17,
    "detections_count": 80,
    "occurrences_count": 80,
    "stats": {
        "detections_max_count": 14,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2493&ordering=timestamp",
    "first_capture": {
        "id": 4272644,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4272644/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230814211000-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-14T21:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    1,
                    6,
                    8
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    3,
                    4
                ],
                "y": [
                    "Archips packardiana",
                    "Archips purpurana",
                    "Endothenia hebesana",
                    "Acleris flavivittana",
                    "Tarachidia erastrioides",
                    "Adoxophyes negundana",
                    "Cenopis reticulatana",
                    "Chrysoteuchia topiarius",
                    "Eudonia strigalis",
                    "Hypoprepia fucosa"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T22:00:16.503680",
    "updated_at": "2025-01-15T19:04:34.998225",
    "user_permissions": []
}