API endpoint that allows events to be viewed or edited.

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

{
    "id": 6241,
    "name": "Friday, Aug 23-24 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/6241/?format=api",
    "deployment": {
        "id": 261,
        "name": "JLG",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/261/?format=api",
        "user_permissions": []
    },
    "start": "2024-08-23T18:59:29",
    "end": "2024-08-24T04:00:00",
    "day": "2024-08-23",
    "date_label": "Aug 23-24 2024",
    "duration": "32431.0",
    "duration_label": "9 hours 0 min",
    "captures_count": 3244,
    "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=6241&ordering=timestamp",
    "first_capture": {
        "id": 22244879,
        "details": "https://api.beluga.insectai.org/api/v2/captures/22244879/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000052/snapshot_images/01-20240823185929-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160959Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=3fa60d5bc63bc3bf8c761be0f627875745bdd9a16bffbc2f7a31a76fc0870cd2",
        "width": null,
        "height": null,
        "timestamp": "2024-08-23T18:59:29",
        "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:14.210626",
    "updated_at": "2025-01-22T00:32:16.199390",
    "user_permissions": []
}