API endpoint that allows events to be viewed or edited.

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

{
    "id": 73,
    "name": "Monday, Aug 22-23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/73/?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-22T22:06:06",
    "end": "2022-08-23T04:59:59",
    "day": "2022-08-22",
    "date_label": "Aug 22-23 2022",
    "duration": "24833.0",
    "duration_label": "6 hours 53 min",
    "captures_count": 10197,
    "detections_count": 414,
    "occurrences_count": 256,
    "stats": {
        "detections_max_count": 22,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=73&ordering=timestamp",
    "first_capture": {
        "id": 103514,
        "details": "https://api.beluga.insectai.org/api/v2/captures/103514/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Aug 22/20220822220606-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-22T22:06:06",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    9,
                    21,
                    56,
                    35,
                    53,
                    82
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    3,
                    4,
                    5,
                    6,
                    6,
                    7,
                    7,
                    12,
                    32,
                    33
                ],
                "y": [
                    "Acoloithus falsarius",
                    "Epinotia nisella",
                    "Eucopina tocullionana",
                    "Chrysoesthia sexguttella",
                    "Argyrotaenia quadrifasciana",
                    "Choristoneura rosaceana",
                    "Choristoneura fumiferana",
                    "Gymnandrosoma punctidiscanum",
                    "Archips argyrospila",
                    "Episimus argutana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T05:49:34.567411",
    "updated_at": "2024-11-13T15:49:33.680408",
    "user_permissions": []
}