API endpoint that allows events to be viewed or edited.

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

{
    "id": 3568,
    "name": "Saturday, May 11-12 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/3568/?format=api",
    "deployment": {
        "id": 126,
        "name": "Wingscape 1",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/126/?format=api",
        "user_permissions": []
    },
    "start": "2024-05-11T19:06:58",
    "end": "2024-05-12T07:17:04",
    "day": "2024-05-11",
    "date_label": "May 11-12 2024",
    "duration": "43806.0",
    "duration_label": "12 hours 10 min",
    "captures_count": 74,
    "detections_count": 60,
    "occurrences_count": 38,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3568&ordering=timestamp",
    "first_capture": {
        "id": 9413053,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9413053/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/marcb/20240511MB1/WSCT1312_20240511190658.jpg",
        "width": 6080,
        "height": 3420,
        "timestamp": "2024-05-11T19:06:58",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM"
                ],
                "y": [
                    1,
                    4,
                    10,
                    7,
                    6,
                    6,
                    6,
                    6,
                    6,
                    2
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    2,
                    10,
                    42
                ],
                "y": [
                    "Amorbia humerosana",
                    "Acleris hastiana",
                    "Melanolophia canadaria",
                    "Melanolophia signataria",
                    "Phyllodesma americana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-05-14T13:31:25.518618",
    "updated_at": "2024-05-14T15:51:04.311003",
    "user_permissions": []
}