API endpoint that allows events to be viewed or edited.

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

{
    "id": 2460,
    "name": "Saturday, Jun 17-18 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2460/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-06-17T21:05:07",
    "end": "2023-06-18T02:35:10",
    "day": "2023-06-17",
    "date_label": "Jun 17-18 2023",
    "duration": "19803.0",
    "duration_label": "5 hours 30 min",
    "captures_count": 4241,
    "detections_count": 222,
    "occurrences_count": 211,
    "stats": {
        "detections_max_count": 11,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2460&ordering=timestamp",
    "first_capture": {
        "id": 4397830,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4397830/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/2023_06_17/20230617210507-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-06-17T21:05:07",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    2,
                    2,
                    10,
                    8,
                    9
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    3,
                    6,
                    9
                ],
                "y": [
                    "Campaea perlata",
                    "Cydia pomonella",
                    "Coleophora mayrella",
                    "Hydriomena divisaria",
                    "Holomelina laeta",
                    "Emmelina monodactyla",
                    "Adela caeruleella",
                    "Hedya separatana",
                    "Clepsis melaleucanus",
                    "Macaria aemulataria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T21:59:56.844028",
    "updated_at": "2025-01-15T19:04:24.032909",
    "user_permissions": []
}