API endpoint that allows events to be viewed or edited.

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

{
    "id": 2374,
    "name": "Saturday, Aug 5-6 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2374/?format=api",
    "deployment": {
        "id": 50,
        "name": "Denmark - OH4",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/50/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-05T23:10:00",
    "end": "2023-08-06T03:00:00",
    "day": "2023-08-05",
    "date_label": "Aug 5-6 2023",
    "duration": "13800.0",
    "duration_label": "3 hours 50 min",
    "captures_count": 24,
    "detections_count": 10,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 10,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2374&ordering=timestamp",
    "first_capture": {
        "id": 4262940,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4262940/?format=api",
        "url": "https://anon.erda.au.dk/share_redirect/DSWDMAO70L/avjf/denmark/OH4/20230806/20230805231000-04-snapshot.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2023-08-05T23:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    2
                ],
                "y": [
                    "Xanthorhoe quadrifasiata",
                    "Plutella xylostella",
                    "Diachrysia chrysitis",
                    "Clostera curtula",
                    "Bedellia somnulentella",
                    "Eudonia mercurella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T04:12:09.121368",
    "updated_at": "2024-06-12T05:40:02.276525",
    "user_permissions": []
}