API endpoint that allows events to be viewed or edited.

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

{
    "id": 6219,
    "name": "Monday, Mar 18-19 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/6219/?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-03-18T18:29:30",
    "end": "2024-03-19T03:58:59",
    "day": "2024-03-18",
    "date_label": "Mar 18-19 2024",
    "duration": "34169.0",
    "duration_label": "9 hours 29 min",
    "captures_count": 3418,
    "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=6219&ordering=timestamp",
    "first_capture": {
        "id": 24020508,
        "details": "https://api.beluga.insectai.org/api/v2/captures/24020508/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240318182930-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T224907Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f36b0d37c859191b616f992d100f752db57b9b2c6b700e52e5b046b50d204cde",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-03-18T18:29:30",
        "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:32:09.437037",
    "updated_at": "2025-01-22T02:10:46.354023",
    "user_permissions": []
}