API endpoint that allows events to be viewed or edited.

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

{
    "id": 88,
    "name": "Monday, Jul 18-19 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/88/?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-18T22:01:38",
    "end": "2022-07-19T04:00:52",
    "day": "2022-07-18",
    "date_label": "Jul 18-19 2022",
    "duration": "21554.0",
    "duration_label": "5 hours 59 min",
    "captures_count": 8522,
    "detections_count": 1566,
    "occurrences_count": 1300,
    "stats": {
        "detections_max_count": 62,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=88&ordering=timestamp",
    "first_capture": {
        "id": 523684,
        "details": "https://api.beluga.insectai.org/api/v2/captures/523684/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-1/2022_07_18/20220718220138-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-18T22:01:38",
        "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",
                    "4:00 AM"
                ],
                "y": [
                    59,
                    190,
                    260,
                    299,
                    262,
                    200,
                    30
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    22,
                    27,
                    28,
                    33,
                    35,
                    41,
                    44,
                    46,
                    94,
                    246
                ],
                "y": [
                    "Cenopis pettitana",
                    "Endothenia hebesana",
                    "Hofmannophila pseudospretella",
                    "Olethreutes schulziana",
                    "Cnephasia stephensiana",
                    "Choristoneura pinus",
                    "Archips argyrospila",
                    "Ortholepis pasadamia",
                    "Choristoneura rosaceana",
                    "Choristoneura fumiferana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T06:23:11.769341",
    "updated_at": "2024-11-13T15:46:47.049434",
    "user_permissions": []
}