API endpoint that allows events to be viewed or edited.

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

{
    "id": 6256,
    "name": "Wednesday, Aug 28-29 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/6256/?format=api",
    "deployment": {
        "id": 261,
        "name": "JLG",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/261/?format=api",
        "user_permissions": []
    },
    "start": "2024-08-28T18:59:29",
    "end": "2024-08-29T03:59:00",
    "day": "2024-08-28",
    "date_label": "Aug 28-29 2024",
    "duration": "32371.0",
    "duration_label": "8 hours 59 min",
    "captures_count": 3238,
    "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=6256&ordering=timestamp",
    "first_capture": {
        "id": 22275367,
        "details": "https://api.beluga.insectai.org/api/v2/captures/22275367/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000052/snapshot_images/01-20240828185929-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160730Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=bf385ea11bdaad2bbe51332bcabfa63a91c0ac0aa2f47e4b5474eb7bb9e9b926",
        "width": null,
        "height": null,
        "timestamp": "2024-08-28T18: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:17.483190",
    "updated_at": "2025-01-22T00:32:18.007048",
    "user_permissions": []
}