API endpoint that allows events to be viewed or edited.

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

{
    "id": 4672,
    "name": "Sunday, Jul 10-11 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4672/?format=api",
    "deployment": {
        "id": 238,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/238/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-10T20:10:59",
    "end": "2022-07-11T04:01:58",
    "day": "2022-07-10",
    "date_label": "Jul 10-11 2022",
    "duration": "28259.0",
    "duration_label": "7 hours 50 min",
    "captures_count": 5886,
    "detections_count": 617,
    "occurrences_count": 216,
    "stats": {
        "detections_max_count": 18,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4672&ordering=timestamp",
    "first_capture": {
        "id": 17389909,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17389909/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_10_snapshots/20220710201059-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-10T20:10:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    1,
                    26,
                    43,
                    28,
                    46,
                    80,
                    71
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    6,
                    6,
                    6,
                    8,
                    11,
                    13,
                    17,
                    20,
                    25,
                    97
                ],
                "y": [
                    "Urola nivalis",
                    "Hydrelia sylvata",
                    "Crambus saltuellus",
                    "Callopistria mollissima",
                    "Pandemis lamprosana",
                    "Chrysoteuchia topiarius",
                    "Chytonix palliatricula",
                    "Argyria nivalis",
                    "Raphia frater",
                    "Hydrelia inornata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:27.932441",
    "updated_at": "2024-10-10T19:40:05.034382",
    "user_permissions": []
}