API endpoint that allows events to be viewed or edited.

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

{
    "id": 4360,
    "name": "Friday, May 17-18 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4360/?format=api",
    "deployment": {
        "id": 177,
        "name": "LEPS-006_Box2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/177/?format=api",
        "user_permissions": []
    },
    "start": "2024-05-17T14:50:39",
    "end": "2024-05-18T03:29:59",
    "day": "2024-05-17",
    "date_label": "May 17-18 2024",
    "duration": "45560.0",
    "duration_label": "12 hours 39 min",
    "captures_count": 2548,
    "detections_count": 141,
    "occurrences_count": 34,
    "stats": {
        "detections_max_count": 10,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4360&ordering=timestamp",
    "first_capture": {
        "id": 13842411,
        "details": "https://api.beluga.insectai.org/api/v2/captures/13842411/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-006_Box2/Box2_20240517145039-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T001657Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=684c40b39e66b079540885420186c9617fee02b9a0ef380ffad7d18073d6af56",
        "width": 1920,
        "height": 1080,
        "timestamp": "2024-05-17T14:50:39",
        "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"
                ],
                "y": [
                    1,
                    4,
                    17,
                    16
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    2,
                    10,
                    11,
                    13
                ],
                "y": [
                    "Argyresthia trifasciata",
                    "Callosamia securifera",
                    "Alsophila pometaria",
                    "Argyrotaenia juglandana",
                    "Elaphria georgei",
                    "Virbia opella",
                    "Eupithecia miserulata",
                    "Syndemis afflictana",
                    "Argyrotaenia mariana",
                    "Cyclophora pendulinaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-14T18:21:00.274756",
    "updated_at": "2024-09-14T18:21:04.190660",
    "user_permissions": []
}