API endpoint that allows events to be viewed or edited.

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

{
    "id": 1162,
    "name": "Monday, Jul 17-18 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/1162/?format=api",
    "deployment": {
        "id": 41,
        "name": "Denmark - LV1",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/41/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-17T23:10:00",
    "end": "2023-07-18T03:00:00",
    "day": "2023-07-17",
    "date_label": "Jul 17-18 2023",
    "duration": "13800.0",
    "duration_label": "3 hours 50 min",
    "captures_count": 24,
    "detections_count": 26,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 26,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=1162&ordering=timestamp",
    "first_capture": {
        "id": 4233829,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4233829/?format=api",
        "url": "https://anon.erda.au.dk/share_redirect/DSWDMAO70L/avjf/denmark/LV1/20230718/20230717231000-05-snapshot.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2023-07-17T23:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    4
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Epirrita christyi",
                    "Tineola bisselliella",
                    "Thysanoplusia orichalcea",
                    "Thyridopteryx ephemeraeformis",
                    "Opostega salaciella",
                    "Acentria ephemerella",
                    "Tortrix viridana",
                    "Chiasmia clathrata",
                    "Lomaspilis marginata",
                    "Cydia splendana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T03:15:51.424289",
    "updated_at": "2024-06-12T05:42:15.941792",
    "user_permissions": []
}