API endpoint that allows events to be viewed or edited.

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

{
    "id": 4973,
    "name": "Tuesday, Aug 9-10 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4973/?format=api",
    "deployment": {
        "id": 237,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/237/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-09T20:13:04",
    "end": "2022-08-10T04:00:55",
    "day": "2022-08-09",
    "date_label": "Aug 9-10 2022",
    "duration": "28071.0",
    "duration_label": "7 hours 47 min",
    "captures_count": 10494,
    "detections_count": 2106,
    "occurrences_count": 320,
    "stats": {
        "detections_max_count": 36,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4973&ordering=timestamp",
    "first_capture": {
        "id": 17016654,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17016654/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/movement/2022_08_09/20220809201304-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-09T20:13:04",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    2,
                    19,
                    32,
                    43,
                    77,
                    65,
                    100,
                    79,
                    5
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    14,
                    15,
                    16,
                    17,
                    18,
                    21,
                    22,
                    23,
                    23,
                    54
                ],
                "y": [
                    "Not Lepidoptera",
                    "Virbia laeta",
                    "Pandemis lamprosana",
                    "Eudonia strigalis",
                    "Protoboarmia porcelaria",
                    "Choristoneura rosaceana",
                    "Drepana arcuata",
                    "Platynota exasperatana",
                    "Scoparia biplagialis",
                    "Microcrambus elegans"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:15.330543",
    "updated_at": "2024-10-10T19:41:32.535267",
    "user_permissions": []
}