API endpoint that allows events to be viewed or edited.

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

{
    "id": 4714,
    "name": "Tuesday, Aug 2-3 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4714/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-02T20:40:00",
    "end": "2022-08-03T01:53:42",
    "day": "2022-08-02",
    "date_label": "Aug 2-3 2022",
    "duration": "18822.0",
    "duration_label": "5 hours 13 min",
    "captures_count": 2938,
    "detections_count": 94,
    "occurrences_count": 22,
    "stats": {
        "detections_max_count": 9,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4714&ordering=timestamp",
    "first_capture": {
        "id": 17833061,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17833061/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220802204000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-02T20:40:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    8,
                    5,
                    5,
                    4
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    4,
                    4
                ],
                "y": [
                    "Coleophora mayrella",
                    "Acleris forsskaleana",
                    "Acrobasis",
                    "Falcaria bilineata",
                    "Macaria signaria",
                    "Microcrambus",
                    "Horisme intestinata",
                    "Hypoprepia fucosa",
                    "Microcrambus elegans",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:33.266033",
    "updated_at": "2026-01-27T17:21:39.956794",
    "user_permissions": []
}