API endpoint that allows events to be viewed or edited.

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

{
    "id": 6689,
    "name": "Friday, Sep 6-7 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/6689/?format=api",
    "deployment": {
        "id": 277,
        "name": "Puang Thong 2 (lake)",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/277/?format=api",
        "user_permissions": []
    },
    "start": "2024-09-06T18:30:49",
    "end": "2024-09-07T04:00:59",
    "day": "2024-09-06",
    "date_label": "Sep 6-7 2024",
    "duration": "34210.0",
    "duration_label": "9 hours 30 min",
    "captures_count": 3422,
    "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=6689&ordering=timestamp",
    "first_capture": {
        "id": 24749299,
        "details": "https://api.beluga.insectai.org/api/v2/captures/24749299/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/tha/dep000076/snapshot_images/20240906183049-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T142454Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=82929ba4d8da2972d980e75a500ca8cd5775b31fce85d410ebb1b53b200a1fb4",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-09-06T18:30:49",
        "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-27T11:25:32.960556",
    "updated_at": "2025-01-27T12:14:39.514505",
    "user_permissions": []
}