API endpoint that allows events to be viewed or edited.

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

{
    "id": 5574,
    "name": "Monday, Sep 23-24 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5574/?format=api",
    "deployment": {
        "id": 267,
        "name": "Sakaerat (car graveyard)",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/267/?format=api",
        "user_permissions": []
    },
    "start": "2024-09-23T18:30:09",
    "end": "2024-09-24T03:58:39",
    "day": "2024-09-23",
    "date_label": "Sep 23-24 2024",
    "duration": "34110.0",
    "duration_label": "9 hours 28 min",
    "captures_count": 3412,
    "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=5574&ordering=timestamp",
    "first_capture": {
        "id": 23600571,
        "details": "https://api.beluga.insectai.org/api/v2/captures/23600571/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/tha/dep000077/snapshot_images/20240923183009-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260413%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260413T024142Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f6d53d22794b23d38b0df3e758e516d9936a7534616cc327af2d3a62d8e5c0aa",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-09-23T18:30:09",
        "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-21T23:48:41.556612",
    "updated_at": "2025-01-22T00:31:17.628204",
    "user_permissions": []
}