API endpoint that allows events to be viewed or edited.

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

{
    "id": 4937,
    "name": "Monday, Aug 15-16 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4937/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-15T20:52:34",
    "end": "2022-08-16T00:45:42",
    "day": "2022-08-15",
    "date_label": "Aug 15-16 2022",
    "duration": "13988.0",
    "duration_label": "3 hours 53 min",
    "captures_count": 2885,
    "detections_count": 100,
    "occurrences_count": 25,
    "stats": {
        "detections_max_count": 11,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4937&ordering=timestamp",
    "first_capture": {
        "id": 16829367,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16829367/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_08_15/20220815205234-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-15T20:52:34",
        "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"
                ],
                "y": [
                    1,
                    23,
                    8,
                    6
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    3,
                    5,
                    5,
                    9
                ],
                "y": [
                    "Coleophora",
                    "Lepidoptera",
                    "Arctia parthenos",
                    "Aristotelia rubidella",
                    "Clemensia albata",
                    "Pandemis lamprosana",
                    "Olethreutes tilianum",
                    "Platynota exasperatana",
                    "Pandemis limitata",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:07.949232",
    "updated_at": "2024-10-10T19:41:56.939799",
    "user_permissions": []
}