API endpoint that allows events to be viewed or edited.

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

{
    "id": 4453,
    "name": "Tuesday, May 14-15 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4453/?format=api",
    "deployment": {
        "id": 175,
        "name": "LEPS-060_Box2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/175/?format=api",
        "user_permissions": []
    },
    "start": "2024-05-14T10:58:40",
    "end": "2024-05-15T03:29:59",
    "day": "2024-05-14",
    "date_label": "May 14-15 2024",
    "duration": "59479.0",
    "duration_label": "16 hours 31 min",
    "captures_count": 2578,
    "detections_count": 422,
    "occurrences_count": 84,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4453&ordering=timestamp",
    "first_capture": {
        "id": 13888043,
        "details": "https://api.beluga.insectai.org/api/v2/captures/13888043/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-060_Box2/Box2_20240514105840-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260404%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260404T083539Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=40e5154f93ab89d446719bf373ecf39edc62d159c6db5414464444a65fa6ab8f",
        "width": 1920,
        "height": 1080,
        "timestamp": "2024-05-14T10:58:40",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    1,
                    6,
                    12,
                    15,
                    24,
                    18,
                    16,
                    13
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    3,
                    13,
                    25,
                    57
                ],
                "y": [
                    "Digrammia muscariata",
                    "Cryptothelea nigrita",
                    "Dichomeris ligulella",
                    "Drepana arcuata",
                    "Eupithecia annulata",
                    "Argyrotaenia mariana",
                    "Lineodes integra",
                    "Cyclosia papilionaris",
                    "Syndemis afflictana",
                    "Cyclophora pendulinaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-14T18:58:06.461267",
    "updated_at": "2024-09-14T19:03:54.157035",
    "user_permissions": []
}