API endpoint that allows events to be viewed or edited.

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

{
    "id": 2445,
    "name": "Friday, May 26-27 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2445/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-05-26T21:10:00",
    "end": "2023-05-27T04:00:00",
    "day": "2023-05-26",
    "date_label": "May 26-27 2023",
    "duration": "24600.0",
    "duration_label": "6 hours 50 min",
    "captures_count": 61,
    "detections_count": 1,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2445&ordering=timestamp",
    "first_capture": {
        "id": 4269677,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4269677/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230526211000-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-05-26T21:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "9:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1
                ],
                "y": [
                    "Argyrotaenia mariana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T21:59:51.778853",
    "updated_at": "2025-01-15T19:04:19.749828",
    "user_permissions": []
}