API endpoint that allows events to be viewed or edited.

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

{
    "id": 5294,
    "name": "Wednesday, Jun 15-16 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5294/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-15T20:45:27",
    "end": "2022-06-16T05:00:38",
    "day": "2022-06-15",
    "date_label": "Jun 15-16 2022",
    "duration": "29711.0",
    "duration_label": "8 hours 15 min",
    "captures_count": 11918,
    "detections_count": 0,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 0,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5294&ordering=timestamp",
    "first_capture": {
        "id": 19689336,
        "details": "https://api.beluga.insectai.org/api/v2/captures/19689336/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/movement/2022_06_15/20220615204527-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-15T20:45:27",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [],
                "y": []
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2025-01-15T19:03:54.319281",
    "updated_at": "2025-01-15T19:03:55.330658",
    "user_permissions": []
}