API endpoint that allows events to be viewed or edited.

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

{
    "id": 2475,
    "name": "Friday, Jul 14-15 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2475/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-14T21:03:27",
    "end": "2023-07-15T02:28:55",
    "day": "2023-07-14",
    "date_label": "Jul 14-15 2023",
    "duration": "19528.0",
    "duration_label": "5 hours 25 min",
    "captures_count": 6950,
    "detections_count": 644,
    "occurrences_count": 641,
    "stats": {
        "detections_max_count": 31,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2475&ordering=timestamp",
    "first_capture": {
        "id": 4556307,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4556307/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/2023_07_14/20230714210327-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-07-14T21:03:27",
        "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"
                ],
                "y": [
                    3,
                    8,
                    25,
                    15,
                    25,
                    7
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    2,
                    3,
                    3,
                    4,
                    6,
                    7,
                    12
                ],
                "y": [
                    "Agriphila vulgivagellus",
                    "Datana ministra",
                    "Acoloithus falsarius",
                    "Ecdytolopha insiticiana",
                    "Coleophora mayrella",
                    "Varneria postremella",
                    "Hydrelia inornata",
                    "Chrysoteuchia topiarius",
                    "Hypena abalienalis",
                    "Platynota exasperatana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T22:00:03.613172",
    "updated_at": "2025-01-15T19:04:30.580676",
    "user_permissions": []
}