API endpoint that allows events to be viewed or edited.

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

{
    "id": 60,
    "name": "Sunday, Aug 7-8 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/60/?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-07T00:09:59",
    "end": "2022-08-08T04:59:51",
    "day": "2022-08-07",
    "date_label": "Aug 7-8 2022",
    "duration": "103792.0",
    "duration_label": "1 days 4 hours",
    "captures_count": 11354,
    "detections_count": 826,
    "occurrences_count": 618,
    "stats": {
        "detections_max_count": 37,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=60&ordering=timestamp",
    "first_capture": {
        "id": 141287,
        "details": "https://api.beluga.insectai.org/api/v2/captures/141287/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Aug 7/01-20220807000959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-07T00:09:59",
        "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": [
                    5,
                    54,
                    106,
                    106,
                    83,
                    143,
                    121
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    7,
                    7,
                    9,
                    10,
                    10,
                    12,
                    12,
                    15,
                    30,
                    291
                ],
                "y": [
                    "Moth",
                    "Choristoneura fumiferana",
                    "Archips rosana",
                    "Choristoneura rosaceana",
                    "Cenopis pettitana",
                    "Olethreutes schulziana",
                    "Archips xylosteana",
                    "Platynota flavedana",
                    "Argyrotaenia velutinana",
                    "Archips argyrospila"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T05:49:25.219011",
    "updated_at": "2024-11-13T15:49:28.767459",
    "user_permissions": []
}