API endpoint that allows events to be viewed or edited.

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

{
    "id": 4650,
    "name": "Wednesday, Jun 1-2 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4650/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-01T21:08:39",
    "end": "2022-06-02T05:31:57",
    "day": "2022-06-01",
    "date_label": "Jun 1-2 2022",
    "duration": "30198.0",
    "duration_label": "8 hours 23 min",
    "captures_count": 3722,
    "detections_count": 58,
    "occurrences_count": 31,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4650&ordering=timestamp",
    "first_capture": {
        "id": 15896682,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15896682/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_01/20220601210839-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-01T21:08:39",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM"
                ],
                "y": [
                    3,
                    9,
                    3,
                    12,
                    3,
                    2
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    4,
                    8,
                    12
                ],
                "y": [
                    "Arogalea cristifasciella",
                    "Macrochilo morbidalis",
                    "Chytonix palliatricula",
                    "Emmelina monodactyla",
                    "Plagodis serinaria",
                    "Drepana arcuata",
                    "Clepsis melaleucanus",
                    "Lobophora nivigerata",
                    "Nadata gibbosa",
                    "Automeris io"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:25.995166",
    "updated_at": "2024-10-10T19:40:50.858146",
    "user_permissions": []
}