API endpoint that allows events to be viewed or edited.

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

{
    "id": 2467,
    "name": "Friday, Jun 30-1 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2467/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-06-30T21:09:59",
    "end": "2023-07-01T02:53:53",
    "day": "2023-06-30",
    "date_label": "Jun 30-1 2023",
    "duration": "20634.0",
    "duration_label": "5 hours 43 min",
    "captures_count": 7564,
    "detections_count": 384,
    "occurrences_count": 373,
    "stats": {
        "detections_max_count": 23,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2467&ordering=timestamp",
    "first_capture": {
        "id": 4270822,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4270822/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230630210959-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-06-30T21:09:59",
        "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": [
                    5,
                    5,
                    6,
                    1,
                    8,
                    9
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    2,
                    2,
                    2,
                    3,
                    3,
                    4,
                    5
                ],
                "y": [
                    "Eriocrania semipurpurella",
                    "Acoloithus falsarius",
                    "Dryocampa rubicunda",
                    "Gymnandrosoma punctidiscanum",
                    "Alcis porcelaria",
                    "Pandemis limitata",
                    "Holomelina laeta",
                    "Adela caeruleella",
                    "Olethreutes fasciatana",
                    "Hydrelia inornata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T21:59:56.969362",
    "updated_at": "2025-01-15T19:04:26.632198",
    "user_permissions": []
}