API endpoint that allows events to be viewed or edited.

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

{
    "id": 4624,
    "name": "Thursday, Jul 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4624/?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-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": 999,
    "occurrences_count": 259,
    "stats": {
        "detections_max_count": 37,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4624&ordering=timestamp",
    "first_capture": {
        "id": 16558832,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16558832/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/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": [
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    25,
                    53,
                    89,
                    58,
                    129
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    5,
                    9,
                    13,
                    19,
                    26,
                    31,
                    37,
                    71,
                    80
                ],
                "y": [
                    "Acleris emargana",
                    "Disclisioprocta stellata",
                    "Not Lepidoptera",
                    "Archips argyrospila",
                    "Ctenucha virginica",
                    "Acleris forsskaleana",
                    "Pasiphila rectangulata",
                    "Choristoneura rosaceana",
                    "Leucoma salicis",
                    "Cenopis pettitana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:23.003399",
    "updated_at": "2024-10-10T19:40:30.715783",
    "user_permissions": []
}