API endpoint that allows events to be viewed or edited.

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

{
    "id": 46,
    "name": "Wednesday, Jul 13-14 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/46/?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-07-13T22:01:02",
    "end": "2022-07-14T04:59:43",
    "day": "2022-07-13",
    "date_label": "Jul 13-14 2022",
    "duration": "25121.0",
    "duration_label": "6 hours 58 min",
    "captures_count": 6325,
    "detections_count": 272,
    "occurrences_count": 207,
    "stats": {
        "detections_max_count": 16,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=46&ordering=timestamp",
    "first_capture": {
        "id": 206345,
        "details": "https://api.beluga.insectai.org/api/v2/captures/206345/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Jul 13 images/20220713220102-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-13T22:01:02",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    3,
                    37,
                    46,
                    60,
                    61
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    5,
                    5,
                    5,
                    5,
                    5,
                    6,
                    11,
                    19,
                    21
                ],
                "y": [
                    "Clepsis clemensiana",
                    "Pseudosciaphila duplex",
                    "Apotomis funerea",
                    "Platynota flavedana",
                    "Rhyacionia buoliana",
                    "Acronicta innotata",
                    "Cenopis pettitana",
                    "Archips argyrospila",
                    "Gluphisia septentrionis",
                    "Pasiphila rectangulata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T05:49:09.219965",
    "updated_at": "2024-11-13T15:49:18.549258",
    "user_permissions": []
}