API endpoint that allows events to be viewed or edited.

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

{
    "id": 4847,
    "name": "Sunday, Aug 14-15 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4847/?format=api",
    "deployment": {
        "id": 238,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/238/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-14T20:13:00",
    "end": "2022-08-15T04:01:51",
    "day": "2022-08-14",
    "date_label": "Aug 14-15 2022",
    "duration": "28131.0",
    "duration_label": "7 hours 48 min",
    "captures_count": 6245,
    "detections_count": 1282,
    "occurrences_count": 313,
    "stats": {
        "detections_max_count": 25,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4847&ordering=timestamp",
    "first_capture": {
        "id": 17390847,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17390847/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_14_snapshots/20220814201300-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-14T20:13:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    15,
                    83,
                    36,
                    69,
                    83,
                    65,
                    57,
                    8
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    10,
                    11,
                    13,
                    15,
                    15,
                    17,
                    26,
                    41,
                    43,
                    70
                ],
                "y": [
                    "Ennomos subsignaria",
                    "Rheumaptera undulata",
                    "Prochoerodes lineola",
                    "Macaria pustularia",
                    "Scoparia biplagialis",
                    "Clemensia albata",
                    "Drepana arcuata",
                    "Pandemis lamprosana",
                    "Microcrambus elegans",
                    "Eudonia strigalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:55.004833",
    "updated_at": "2024-10-10T19:40:22.432334",
    "user_permissions": []
}