API endpoint that allows events to be viewed or edited.

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

{
    "id": 5186,
    "name": "Thursday, Jul 4 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5186/?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-04T00:01:00",
    "end": "2024-07-04T03:59:14",
    "day": "2024-07-04",
    "date_label": "Jul 4 2024",
    "duration": "14294.0",
    "duration_label": "3 hours 58 min",
    "captures_count": 239,
    "detections_count": 74,
    "occurrences_count": 74,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5186&ordering=timestamp",
    "first_capture": {
        "id": 17993251,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17993251/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/J_AMI_Unit_Pasadena/20240704000100.JPG",
        "width": 6080,
        "height": 3420,
        "timestamp": "2024-07-04T00:01:00",
        "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": [
                    4,
                    12,
                    31,
                    24
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    2,
                    3,
                    3,
                    4,
                    4,
                    6,
                    14
                ],
                "y": [
                    "Chrysoteuchia topiarius",
                    "Aethes biscana",
                    "Crambus albellus",
                    "Mompha epilobiella",
                    "Crambus praefectellus",
                    "Macaria signaria",
                    "Anania mysippusalis",
                    "Idaea dimidiata",
                    "Scoparia penumbralis",
                    "Anageshna primordialis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-11-13T17:32:57.551951",
    "updated_at": "2024-11-20T17:28:50.387703",
    "user_permissions": []
}