API endpoint that allows events to be viewed or edited.

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

{
    "id": 66,
    "name": "Friday, Aug 12-13 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/66/?format=api",
    "deployment": {
        "id": 12,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-12T22:04:10",
    "end": "2022-08-13T03:20:52",
    "day": "2022-08-12",
    "date_label": "Aug 12-13 2022",
    "duration": "19002.0",
    "duration_label": "5 hours 16 min",
    "captures_count": 4821,
    "detections_count": 439,
    "occurrences_count": 346,
    "stats": {
        "detections_max_count": 31,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=66&ordering=timestamp",
    "first_capture": {
        "id": 82906,
        "details": "https://api.beluga.insectai.org/api/v2/captures/82906/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Aug 12/20220812220410-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-12T22:04:10",
        "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",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    13,
                    17,
                    56,
                    43,
                    133,
                    84
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    4,
                    9,
                    10,
                    13,
                    14,
                    18,
                    19,
                    27,
                    108
                ],
                "y": [
                    "Argyrotaenia alisellana",
                    "Archips packardiana",
                    "Hypena baltimoralis",
                    "Platynota flavedana",
                    "Archips xylosteana",
                    "Archips rosana",
                    "Cenopis pettitana",
                    "Choristoneura rosaceana",
                    "Argyrotaenia velutinana",
                    "Archips argyrospila"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T05:49:31.113174",
    "updated_at": "2024-11-13T15:49:30.837223",
    "user_permissions": []
}