API endpoint that allows events to be viewed or edited.

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

{
    "id": 4644,
    "name": "Sunday, Jul 24-25 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4644/?format=api",
    "deployment": {
        "id": 239,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-24T22:02:07",
    "end": "2022-07-25T04:59:46",
    "day": "2022-07-24",
    "date_label": "Jul 24-25 2022",
    "duration": "25059.0",
    "duration_label": "6 hours 57 min",
    "captures_count": 11771,
    "detections_count": 4207,
    "occurrences_count": 1049,
    "stats": {
        "detections_max_count": 76,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4644&ordering=timestamp",
    "first_capture": {
        "id": 16870404,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16870404/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Jul 24/20220724220207-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-24T22:02:07",
        "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": [
                    8,
                    59,
                    144,
                    260,
                    276,
                    353,
                    314
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    13,
                    13,
                    15,
                    22,
                    22,
                    47,
                    56,
                    159,
                    236,
                    615
                ],
                "y": [
                    "Ortholepis pasadamia",
                    "Archips xylosteana",
                    "Cnephasia stephensiana",
                    "Pasiphila rectangulata",
                    "Acronicta innotata",
                    "Cenopis pettitana",
                    "Choristoneura rosaceana",
                    "Archips argyrospila",
                    "Choristoneura fumiferana",
                    "Acleris forsskaleana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:25.582231",
    "updated_at": "2024-10-10T19:40:33.620320",
    "user_permissions": []
}