API endpoint that allows events to be viewed or edited.

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

{
    "id": 4675,
    "name": "Wednesday, Jun 8-9 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4675/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-08T20:48:18",
    "end": "2022-06-09T05:31:23",
    "day": "2022-06-08",
    "date_label": "Jun 8-9 2022",
    "duration": "31385.0",
    "duration_label": "8 hours 43 min",
    "captures_count": 8307,
    "detections_count": 311,
    "occurrences_count": 114,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4675&ordering=timestamp",
    "first_capture": {
        "id": 15905775,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15905775/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_08/20220608204818-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-08T20:48:18",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "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": [
                    2,
                    6,
                    21,
                    21,
                    25,
                    15,
                    28,
                    16
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    3,
                    3,
                    3,
                    4,
                    6,
                    6,
                    11,
                    12,
                    26,
                    33
                ],
                "y": [
                    "Scoparia biplagialis",
                    "Hypagyrtis piniata",
                    "Emmelina monodactyla",
                    "Crambus laqueatellus",
                    "Raphiptera argillaceellus",
                    "Symmerista albifrons",
                    "Drepana arcuata",
                    "Clepsis melaleucanus",
                    "Campaea perlata",
                    "Automeris io"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:28.151556",
    "updated_at": "2024-10-10T19:40:59.492708",
    "user_permissions": []
}