API endpoint that allows events to be viewed or edited.

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

{
    "id": 5183,
    "name": "Monday, Jul 1 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5183/?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-01T00:08:00",
    "end": "2024-07-01T00:47:01",
    "day": "2024-07-01",
    "date_label": "Jul 1 2024",
    "duration": "2341.0",
    "duration_label": "39 minutes",
    "captures_count": 40,
    "detections_count": 5,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5183&ordering=timestamp",
    "first_capture": {
        "id": 17993031,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17993031/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/J_AMI_Unit_Pasadena/20240701000800.JPG",
        "width": 6080,
        "height": 3420,
        "timestamp": "2024-07-01T00:08:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM"
                ],
                "y": [
                    4
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Scoparia penumbralis",
                    "Clepsis persicana",
                    "Choristoneura rosaceana",
                    "Choristoneura fumiferana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-11-13T17:32:57.364718",
    "updated_at": "2024-11-20T17:28:50.030869",
    "user_permissions": []
}