API endpoint that allows events to be viewed or edited.

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

{
    "id": 6108,
    "name": "Saturday, Jun 29 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/6108/?format=api",
    "deployment": {
        "id": 260,
        "name": "W02",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/260/?format=api",
        "user_permissions": []
    },
    "start": "2024-06-29T01:27:19",
    "end": "2024-06-29T03:59:59",
    "day": "2024-06-29",
    "date_label": "Jun 29 2024",
    "duration": "9160.0",
    "duration_label": "2 hours 32 min",
    "captures_count": 917,
    "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=6108&ordering=timestamp",
    "first_capture": {
        "id": 23216700,
        "details": "https://api.beluga.insectai.org/api/v2/captures/23216700/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000051/snapshot_images/01-20240629012719-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T231738Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=eeb10e5304b7dc3174065ca1cc8935a20a3fb65b4b5ed8e4442a8569b279e832",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-06-29T01:27:19",
        "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-22T00:31:43.114428",
    "updated_at": "2025-01-22T02:19:17.577787",
    "user_permissions": []
}