API endpoint that allows events to be viewed or edited.

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

{
    "id": 1248,
    "name": "Tuesday, Jul 11-12 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/1248/?format=api",
    "deployment": {
        "id": 40,
        "name": "Denmark - OH1",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/40/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-11T23:09:59",
    "end": "2023-07-12T02:59:59",
    "day": "2023-07-11",
    "date_label": "Jul 11-12 2023",
    "duration": "13800.0",
    "duration_label": "3 hours 50 min",
    "captures_count": 24,
    "detections_count": 21,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 21,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=1248&ordering=timestamp",
    "first_capture": {
        "id": 4235953,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4235953/?format=api",
        "url": "https://anon.erda.au.dk/share_redirect/DSWDMAO70L/avjf/denmark/OH1/20230712/20230711230959-01-snapshot.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2023-07-11T23:09:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "2:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "2:00 AM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Euchromius ocellea",
                    "Elachista biatomella",
                    "Eilema depressa",
                    "Crocidosema plebejana",
                    "Coleophora mayrella",
                    "Carpatolechia alburnella",
                    "Atolmis rubricollis",
                    "Aspilapteryx tringipennella",
                    "Agriphila straminella",
                    "Agriphila inquinatella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T03:16:42.482731",
    "updated_at": "2024-06-12T05:40:49.397539",
    "user_permissions": []
}