API endpoint that allows events to be viewed or edited.

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

{
    "id": 5609,
    "name": "Friday, Oct 11-12 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5609/?format=api",
    "deployment": {
        "id": 265,
        "name": "Puang Thong (hill)",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/265/?format=api",
        "user_permissions": []
    },
    "start": "2024-10-11T18:28:40",
    "end": "2024-10-12T03:58:00",
    "day": "2024-10-11",
    "date_label": "Oct 11-12 2024",
    "duration": "34160.0",
    "duration_label": "9 hours 29 min",
    "captures_count": 3417,
    "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=5609&ordering=timestamp",
    "first_capture": {
        "id": 23627434,
        "details": "https://api.beluga.insectai.org/api/v2/captures/23627434/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/tha/dep000075/snapshot_images/20241011182840-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T161718Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=5a5bfef74aab74aeaa5e34f59a4cf7114ac38267ef8e40257a4043cf93d5617f",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-10-11T18:28:40",
        "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:46.748039",
    "updated_at": "2025-01-22T00:10:28.101608",
    "user_permissions": []
}