API endpoint that allows events to be viewed or edited.

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

{
    "id": 6640,
    "name": "Wednesday, Oct 23-24 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/6640/?format=api",
    "deployment": {
        "id": 251,
        "name": "Costa Rica - Swamp",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/251/?format=api",
        "user_permissions": []
    },
    "start": "2024-10-23T18:30:40",
    "end": "2024-10-24T00:47:00",
    "day": "2024-10-23",
    "date_label": "Oct 23-24 2024",
    "duration": "22580.0",
    "duration_label": "6 hours 16 min",
    "captures_count": 2259,
    "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=6640&ordering=timestamp",
    "first_capture": {
        "id": 20111807,
        "details": "https://api.beluga.insectai.org/api/v2/captures/20111807/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000033/snapshot_images/01-20241023183040-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T143043Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=a69aab9102d8bb17c0c318defdba71ebf1ca635bb7326c9c7138e5ce8300f775",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-10-23T18:30: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-22T02:11:54.520642",
    "updated_at": "2025-01-22T02:16:38.681911",
    "user_permissions": []
}