API endpoint that allows events to be viewed or edited.

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

{
    "id": 4665,
    "name": "Wednesday, Jul 27-28 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4665/?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-27T22:03:45",
    "end": "2022-07-28T03:59:20",
    "day": "2022-07-27",
    "date_label": "Jul 27-28 2022",
    "duration": "21335.0",
    "duration_label": "5 hours 55 min",
    "captures_count": 10217,
    "detections_count": 1355,
    "occurrences_count": 251,
    "stats": {
        "detections_max_count": 33,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4665&ordering=timestamp",
    "first_capture": {
        "id": 17191048,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17191048/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Jul 27/20220727220345-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-27T22:03:45",
        "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"
                ],
                "y": [
                    21,
                    85,
                    83,
                    72,
                    50,
                    86
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    7,
                    7,
                    7,
                    8,
                    15,
                    17,
                    32,
                    34,
                    96,
                    97
                ],
                "y": [
                    "Not Lepidoptera",
                    "Ortholepis pasadamia",
                    "Archips grisea",
                    "Scoparia biplagialis",
                    "Acleris forsskaleana",
                    "Pasiphila rectangulata",
                    "Choristoneura fumiferana",
                    "Choristoneura rosaceana",
                    "Archips argyrospila",
                    "Cenopis pettitana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:27.459120",
    "updated_at": "2024-10-10T19:40:36.345328",
    "user_permissions": []
}