API endpoint that allows events to be viewed or edited.

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

{
    "id": 4692,
    "name": "Saturday, Jul 30 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4692/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-30T20:40:00",
    "end": "2022-07-30T23:54:08",
    "day": "2022-07-30",
    "date_label": "Jul 30 2022",
    "duration": "11648.0",
    "duration_label": "3 hours 14 min",
    "captures_count": 1945,
    "detections_count": 55,
    "occurrences_count": 6,
    "stats": {
        "detections_max_count": 8,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4692&ordering=timestamp",
    "first_capture": {
        "id": 17833055,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17833055/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220730204000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-30T20:40:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    1,
                    3,
                    2
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Chionodes discoocellella",
                    "Acrolepia assectella",
                    "Alsophila pometaria",
                    "Argyrotaenia quadrifasciana",
                    "Eriocrania semipurpurella",
                    "Proteoteras moffatiana",
                    "Sparganothis tristriata",
                    "Microcrambus elegans",
                    "Choristoneura rosaceana",
                    "Thyridopteryx ephemeraeformis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:30.744667",
    "updated_at": "2026-01-27T17:21:37.657090",
    "user_permissions": []
}