API endpoint that allows events to be viewed or edited.

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

{
    "id": 5221,
    "name": "Sunday, Aug 11 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5221/?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-08-11T00:00:00",
    "end": "2024-08-11T01:06:00",
    "day": "2024-08-11",
    "date_label": "Aug 11 2024",
    "duration": "3960.0",
    "duration_label": "1 hours 6 min",
    "captures_count": 26,
    "detections_count": 9,
    "occurrences_count": 7,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5221&ordering=timestamp",
    "first_capture": {
        "id": 18000936,
        "details": "https://api.beluga.insectai.org/api/v2/captures/18000936/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/J_AMI_Unit_Pasadena/20240811000000.JPG",
        "width": 6080,
        "height": 3420,
        "timestamp": "2024-08-11T00:00:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "1:00 AM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    1
                ],
                "y": [
                    "Not Lepidoptera",
                    "Acleris variana",
                    "Moth"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-11-13T17:32:59.664894",
    "updated_at": "2024-11-20T17:28:53.972562",
    "user_permissions": []
}