API endpoint that allows events to be viewed or edited.

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

{
    "id": 4664,
    "name": "Monday, Jul 25-26 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4664/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-25T20:39:59",
    "end": "2022-07-26T02:59:59",
    "day": "2022-07-25",
    "date_label": "Jul 25-26 2022",
    "duration": "22800.0",
    "duration_label": "6 hours 20 min",
    "captures_count": 4357,
    "detections_count": 63,
    "occurrences_count": 17,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4664&ordering=timestamp",
    "first_capture": {
        "id": 17833044,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17833044/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220725203959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-25T20:39:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    4,
                    1,
                    10,
                    2
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    7
                ],
                "y": [
                    "Yponomeuta multipunctella",
                    "Hypoprepia fucosa",
                    "Crambus saltuellus",
                    "Arta statalis",
                    "Renia adspergillus",
                    "Microcrambus elegans",
                    "Drepana arcuata",
                    "Synanthedon pictipes",
                    "Coleophora mayrella",
                    "Chrysoteuchia topiarius"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:27.450731",
    "updated_at": "2026-01-27T17:21:35.323729",
    "user_permissions": []
}