API endpoint that allows events to be viewed or edited.

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

{
    "id": 595,
    "name": "Thursday, Jul 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/595/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-21T20:11:40",
    "end": "2022-07-22T04:00:50",
    "day": "2022-07-21",
    "date_label": "Jul 21-22 2022",
    "duration": "28150.0",
    "duration_label": "7 hours 49 min",
    "captures_count": 7888,
    "detections_count": 43,
    "occurrences_count": 8,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=595&ordering=timestamp",
    "first_capture": {
        "id": 2413658,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2413658/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_07_21/20220721201140-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-21T20:11:40",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    2,
                    6,
                    2
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    3
                ],
                "y": [
                    "Cydia pomonella",
                    "Microcrambus elegans",
                    "Pandemis lamprosana",
                    "Halysidota tessellaris",
                    "Platynota exasperatana",
                    "Archips purpurana",
                    "Olethreutes fasciatana",
                    "Platynota idaeusalis",
                    "Hypoprepia fucosa",
                    "Datana ministra"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-04T03:58:06.480168",
    "updated_at": "2023-12-07T01:09:10.925232",
    "user_permissions": []
}