API endpoint that allows events to be viewed or edited.

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

{
    "id": 6126,
    "name": "Wednesday, Feb 14-15 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/6126/?format=api",
    "deployment": {
        "id": 247,
        "name": "Costa Rica - Garden",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/247/?format=api",
        "user_permissions": []
    },
    "start": "2024-02-14T18:30:20",
    "end": "2024-02-15T04:00:00",
    "day": "2024-02-14",
    "date_label": "Feb 14-15 2024",
    "duration": "34180.0",
    "duration_label": "9 hours 29 min",
    "captures_count": 3419,
    "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=6126&ordering=timestamp",
    "first_capture": {
        "id": 19014265,
        "details": "https://api.beluga.insectai.org/api/v2/captures/19014265/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240214183020-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T155307Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1cfb59d3cc14eced5e7147a4a92d91c096feb15ace01e87be846808ab27b9c00",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-02-14T18:30:20",
        "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:48.713416",
    "updated_at": "2025-01-22T02:10:39.846440",
    "user_permissions": []
}