API endpoint that allows events to be viewed or edited.

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

{
    "id": 5120,
    "name": "Wednesday, Sep 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5120/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-21T20:33:54",
    "end": "2022-09-22T00:48:43",
    "day": "2022-09-21",
    "date_label": "Sep 21-22 2022",
    "duration": "15289.0",
    "duration_label": "4 hours 14 min",
    "captures_count": 3293,
    "detections_count": 34,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5120&ordering=timestamp",
    "first_capture": {
        "id": 17824500,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17824500/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_09_21/20220921203354-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-21T20:33:54",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM"
                ],
                "y": [
                    4
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Amydria effrentella",
                    "Varneria postremella",
                    "Thyridopteryx ephemeraeformis",
                    "Phobetron pithecium",
                    "Haplotinea insectella",
                    "Grammia virgo",
                    "Eriocrania semipurpurella",
                    "Arctia caja",
                    "Epinotia lindana",
                    "Emmelina monodactyla"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-27T22:49:55.601803",
    "updated_at": "2026-01-27T17:22:16.022937",
    "user_permissions": []
}