API endpoint that allows events to be viewed or edited.

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

{
    "id": 4653,
    "name": "Tuesday, Jul 26-27 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4653/?format=api",
    "deployment": {
        "id": 239,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-26T22:08:37",
    "end": "2022-07-27T04:59:46",
    "day": "2022-07-26",
    "date_label": "Jul 26-27 2022",
    "duration": "24669.0",
    "duration_label": "6 hours 51 min",
    "captures_count": 11370,
    "detections_count": 1621,
    "occurrences_count": 333,
    "stats": {
        "detections_max_count": 31,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4653&ordering=timestamp",
    "first_capture": {
        "id": 17031175,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17031175/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Jul 26/20220726220837-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-26T22:08:37",
        "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"
                ],
                "y": [
                    9,
                    52,
                    74,
                    63,
                    105,
                    105,
                    107
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    6,
                    6,
                    7,
                    7,
                    10,
                    24,
                    36,
                    51,
                    108,
                    163
                ],
                "y": [
                    "Choristoneura parallela",
                    "Choristoneura fumiferana",
                    "Cnephasia stephensiana",
                    "Rhyacionia buoliana",
                    "Ortholepis pasadamia",
                    "Pasiphila rectangulata",
                    "Choristoneura rosaceana",
                    "Acleris forsskaleana",
                    "Archips argyrospila",
                    "Cenopis pettitana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:26.509189",
    "updated_at": "2024-10-10T19:40:34.667625",
    "user_permissions": []
}