API endpoint that allows events to be viewed or edited.

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

{
    "id": 5197,
    "name": "Monday, Jul 15 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5197/?format=api",
    "deployment": {
        "id": 241,
        "name": "J_AMI_Unit 1 Pasadena",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/241/?format=api",
        "user_permissions": []
    },
    "start": "2024-07-15T00:00:01",
    "end": "2024-07-15T03:59:15",
    "day": "2024-07-15",
    "date_label": "Jul 15 2024",
    "duration": "14354.0",
    "duration_label": "3 hours 59 min",
    "captures_count": 240,
    "detections_count": 679,
    "occurrences_count": 667,
    "stats": {
        "detections_max_count": 37,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5197&ordering=timestamp",
    "first_capture": {
        "id": 17995868,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17995868/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/J_AMI_Unit_Pasadena/20240715000001.JPG",
        "width": 6080,
        "height": 3420,
        "timestamp": "2024-07-15T00:00:01",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    54,
                    193,
                    258,
                    132
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    6,
                    9,
                    9,
                    11,
                    12,
                    13,
                    17,
                    22,
                    171,
                    211
                ],
                "y": [
                    "Aethes biscana",
                    "Archips rosana",
                    "Proxenus miranda",
                    "Xenotemna pallorana",
                    "Clepsis clemensiana",
                    "Pandemis heparana",
                    "Choristoneura conflictana",
                    "Pandemis limitata",
                    "Choristoneura rosaceana",
                    "Choristoneura fumiferana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-11-13T17:32:58.240675",
    "updated_at": "2024-11-20T17:28:51.732346",
    "user_permissions": []
}