API endpoint that allows events to be viewed or edited.

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

{
    "id": 5249,
    "name": "Wednesday, Aug 21-22 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5249/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2024-08-21T20:58:41",
    "end": "2024-08-22T03:57:59",
    "day": "2024-08-21",
    "date_label": "Aug 21-22 2024",
    "duration": "25158.0",
    "duration_label": "6 hours 59 min",
    "captures_count": 2517,
    "detections_count": 14,
    "occurrences_count": 14,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5249&ordering=timestamp",
    "first_capture": {
        "id": 19192772,
        "details": "https://api.beluga.insectai.org/api/v2/captures/19192772/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/01-20240821205841-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-08-21T20:58:41",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    5,
                    3,
                    2
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    2,
                    4
                ],
                "y": [
                    "Arta statalis",
                    "Calyptra canadensis",
                    "Cosmia calami",
                    "Hemaris thysbe",
                    "Schreckensteinia festaliella",
                    "Eudonia strigalis",
                    "Elasmopalpus lignosella",
                    "Scoparia biplagialis",
                    "Not a Moth",
                    "Campaea perlata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2025-01-14T21:49:01.626525",
    "updated_at": "2025-01-15T19:04:44.602854",
    "user_permissions": []
}