API endpoint that allows events to be viewed or edited.

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

{
    "id": 364,
    "name": "Saturday, Sep 3-4 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/364/?format=api",
    "deployment": {
        "id": 14,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/14/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-03T20:34:22",
    "end": "2022-09-04T06:30:00",
    "day": "2022-09-03",
    "date_label": "Sep 3-4 2022",
    "duration": "35738.0",
    "duration_label": "9 hours 55 min",
    "captures_count": 13984,
    "detections_count": 82,
    "occurrences_count": 43,
    "stats": {
        "detections_max_count": 35,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=364&ordering=timestamp",
    "first_capture": {
        "id": 1398995,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1398995/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_09_03/20220903203422-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-03T20:34:22",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "12:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    18,
                    19,
                    6
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    41
                ],
                "y": [
                    "Blastodacna atra",
                    "Caryocolum pullatella",
                    "Caloptilia stigmatella",
                    "Agonopterix pulvipennella",
                    "Archips infumatana",
                    "Alsophila pometaria",
                    "Acleris notana",
                    "Choristoneura fumiferana",
                    "Chrysoteuchia topiarius",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:23:08.713785",
    "updated_at": "2024-08-09T20:10:47.797516",
    "user_permissions": []
}