API endpoint that allows events to be viewed or edited.

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

{
    "id": 350,
    "name": "Saturday, Aug 20-21 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/350/?format=api",
    "deployment": {
        "id": 14,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/14/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-20T20:36:43",
    "end": "2022-08-21T06:32:58",
    "day": "2022-08-20",
    "date_label": "Aug 20-21 2022",
    "duration": "35775.0",
    "duration_label": "9 hours 56 min",
    "captures_count": 17582,
    "detections_count": 495,
    "occurrences_count": 105,
    "stats": {
        "detections_max_count": 126,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=350&ordering=timestamp",
    "first_capture": {
        "id": 1235470,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1235470/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_20/20220820203643-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-20T20:36:43",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "6:00 AM"
                ],
                "y": [
                    6,
                    42,
                    5,
                    5,
                    46,
                    1
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    2,
                    2,
                    5,
                    5,
                    6,
                    8,
                    53
                ],
                "y": [
                    "Aethes biscana",
                    "Cenopis reticulatana",
                    "Crambus agitatellus",
                    "Pandemis limitata",
                    "Virbia laeta",
                    "Hypoprepia fucosa",
                    "Choristoneura rosaceana",
                    "Choristoneura fumiferana",
                    "Chrysoteuchia topiarius",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:22:41.869412",
    "updated_at": "2024-08-09T20:10:39.056149",
    "user_permissions": []
}