API endpoint that allows events to be viewed or edited.

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

{
    "id": 4837,
    "name": "Thursday, Jul 14-15 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4837/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-14T21:11:36",
    "end": "2022-07-15T05:30:42",
    "day": "2022-07-14",
    "date_label": "Jul 14-15 2022",
    "duration": "29946.0",
    "duration_label": "8 hours 19 min",
    "captures_count": 4224,
    "detections_count": 341,
    "occurrences_count": 99,
    "stats": {
        "detections_max_count": 16,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4837&ordering=timestamp",
    "first_capture": {
        "id": 16229834,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16229834/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_14/20220714211136-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-14T21:11:36",
        "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",
                    "5:00 AM"
                ],
                "y": [
                    3,
                    8,
                    18,
                    22,
                    10,
                    29,
                    28,
                    27,
                    13
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    7,
                    7,
                    7,
                    9,
                    9,
                    9,
                    10,
                    12,
                    15,
                    16
                ],
                "y": [
                    "Epiblema otiosana",
                    "Crambus agitatellus",
                    "Platynota idaeusalis",
                    "Idia rotundalis",
                    "Herpetogramma pertextalis",
                    "Renia adspergillus",
                    "Crambus",
                    "Cenopis diluticostana",
                    "Iridopsis ephyraria",
                    "Scopula limboundata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:53.478621",
    "updated_at": "2024-10-10T19:41:30.011284",
    "user_permissions": []
}