API endpoint that allows events to be viewed or edited.

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

{
    "id": 97,
    "name": "Thursday, Jul 28-29 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/97/?format=api",
    "deployment": {
        "id": 11,
        "name": "Newfoundland - Unit 1-Pasadena",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/11/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-28T22:02:21",
    "end": "2022-07-29T03:59:09",
    "day": "2022-07-28",
    "date_label": "Jul 28-29 2022",
    "duration": "21408.0",
    "duration_label": "5 hours 56 min",
    "captures_count": 6700,
    "detections_count": 395,
    "occurrences_count": 314,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=97&ordering=timestamp",
    "first_capture": {
        "id": 586187,
        "details": "https://api.beluga.insectai.org/api/v2/captures/586187/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-1/2022_07_28/20220728220221-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-28T22:02:21",
        "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": [
                    17,
                    66,
                    58,
                    49,
                    56,
                    68
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    7,
                    7,
                    11,
                    14,
                    15,
                    15,
                    16,
                    17,
                    17,
                    20
                ],
                "y": [
                    "Ortholepis pasadamia",
                    "Argyrotaenia quadrifasciana",
                    "Moth",
                    "Cenopis pettitana",
                    "Archips argyrospila",
                    "Dysstroma hersiliata",
                    "Pyla fusca",
                    "Choristoneura rosaceana",
                    "Apotomis capreana",
                    "Olethreutes schulziana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T06:23:18.834250",
    "updated_at": "2024-11-13T15:46:53.348815",
    "user_permissions": []
}