API endpoint that allows events to be viewed or edited.

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

{
    "id": 5973,
    "name": "Wednesday, Mar 20-21 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5973/?format=api",
    "deployment": {
        "id": 249,
        "name": "Costa Rica - Pre-montane forest",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/249/?format=api",
        "user_permissions": []
    },
    "start": "2024-03-20T18:32:09",
    "end": "2024-03-21T04:00:59",
    "day": "2024-03-20",
    "date_label": "Mar 20-21 2024",
    "duration": "34130.0",
    "duration_label": "9 hours 28 min",
    "captures_count": 2514,
    "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=5973&ordering=timestamp",
    "first_capture": {
        "id": 20982992,
        "details": "https://api.beluga.insectai.org/api/v2/captures/20982992/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000038/snapshot_images/20240320183209-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260404%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260404T082103Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=eb7ded6be6fd94fd00b46db5586c6fc514945680b8695437cd236b2a3b8783fb",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-03-20T18:32: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:50:17.038739",
    "updated_at": "2025-01-22T02:10:46.096985",
    "user_permissions": []
}