API endpoint that allows events to be viewed or edited.

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

{
    "id": 4772,
    "name": "Thursday, Aug 11-12 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4772/?format=api",
    "deployment": {
        "id": 235,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-11T20:39:59",
    "end": "2022-08-12T01:19:59",
    "day": "2022-08-11",
    "date_label": "Aug 11-12 2022",
    "duration": "16800.0",
    "duration_label": "4 hours 40 min",
    "captures_count": 1848,
    "detections_count": 82,
    "occurrences_count": 13,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4772&ordering=timestamp",
    "first_capture": {
        "id": 17833069,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17833069/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220811203959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-11T20:39:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    2,
                    3,
                    4,
                    3,
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    4
                ],
                "y": [
                    "Amydria effrentella",
                    "Argyrotaenia quadrifasciana",
                    "Argyrotaenia juglandana",
                    "Lepidoptera",
                    "Palthis angulalis",
                    "Digrammia ocellinata",
                    "Eriocrania semipurpurella",
                    "Not Lepidoptera",
                    "Virbia laeta",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:40.688875",
    "updated_at": "2026-01-27T17:21:50.221227",
    "user_permissions": []
}