API endpoint that allows events to be viewed or edited.

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

{
    "id": 4889,
    "name": "Wednesday, Aug 24 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4889/?format=api",
    "deployment": {
        "id": 238,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/238/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-24T20:11:59",
    "end": "2022-08-24T23:50:15",
    "day": "2022-08-24",
    "date_label": "Aug 24 2022",
    "duration": "13096.0",
    "duration_label": "3 hours 38 min",
    "captures_count": 1334,
    "detections_count": 56,
    "occurrences_count": 10,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4889&ordering=timestamp",
    "first_capture": {
        "id": 17391092,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17391092/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_24_snapshots/20220824201159-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-24T20:11:59",
        "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"
                ],
                "y": [
                    2,
                    8,
                    2,
                    3
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    2,
                    2,
                    3
                ],
                "y": [
                    "Aristotelia rubidella",
                    "Pyrausta rubricalis",
                    "Mathildana newmanella",
                    "Epinotia trigonella",
                    "Thyridopteryx ephemeraeformis",
                    "Microcrambus elegans",
                    "Paleacrita vernata",
                    "Eudonia strigalis",
                    "Rheumaptera prunivorata",
                    "Scoparia biplagialis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:01.076644",
    "updated_at": "2024-10-10T19:40:28.177026",
    "user_permissions": []
}