API endpoint that allows events to be viewed or edited.

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

{
    "id": 53,
    "name": "Thursday, Jul 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/53/?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-21T22:02:23",
    "end": "2022-07-22T04:59:46",
    "day": "2022-07-21",
    "date_label": "Jul 21-22 2022",
    "duration": "25043.0",
    "duration_label": "6 hours 57 min",
    "captures_count": 11971,
    "detections_count": 974,
    "occurrences_count": 789,
    "stats": {
        "detections_max_count": 34,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=53&ordering=timestamp",
    "first_capture": {
        "id": 293148,
        "details": "https://api.beluga.insectai.org/api/v2/captures/293148/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Jul 21/20220721220223-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-21T22:02:23",
        "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": [
                    30,
                    105,
                    116,
                    171,
                    126,
                    109,
                    132
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    13,
                    17,
                    20,
                    32,
                    34,
                    42,
                    55,
                    57,
                    63,
                    69
                ],
                "y": [
                    "Argyrotaenia velutinana",
                    "Ctenucha virginica",
                    "Platynota flavedana",
                    "Rhyacionia buoliana",
                    "Choristoneura fumiferana",
                    "Pasiphila rectangulata",
                    "Cenopis pettitana",
                    "Leucoma salicis",
                    "Archips argyrospila",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T05:49:15.040479",
    "updated_at": "2024-11-13T15:49:22.477624",
    "user_permissions": []
}