API endpoint that allows events to be viewed or edited.

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

{
    "id": 5145,
    "name": "Sunday, Oct 16-17 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5145/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-10-16T20:40:00",
    "end": "2022-10-17T02:50:00",
    "day": "2022-10-16",
    "date_label": "Oct 16-17 2022",
    "duration": "22200.0",
    "duration_label": "6 hours 10 min",
    "captures_count": 41,
    "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=5145&ordering=timestamp",
    "first_capture": {
        "id": 17833769,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17833769/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20221016204000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-10-16T20:40:00",
        "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": "2024-09-27T22:50:03.044814",
    "updated_at": "2026-01-27T17:22:18.015265",
    "user_permissions": []
}