API endpoint that allows events to be viewed or edited.

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

{
    "id": 4633,
    "name": "Friday, Jul 22-23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4633/?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-22T22:01:50",
    "end": "2022-07-23T04:59:47",
    "day": "2022-07-22",
    "date_label": "Jul 22-23 2022",
    "duration": "25077.0",
    "duration_label": "6 hours 57 min",
    "captures_count": 11759,
    "detections_count": 2593,
    "occurrences_count": 1208,
    "stats": {
        "detections_max_count": 100,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4633&ordering=timestamp",
    "first_capture": {
        "id": 16700300,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16700300/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Jul 22/20220722220150-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-22T22:01:50",
        "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": [
                    3,
                    49,
                    95,
                    153,
                    295,
                    359,
                    418
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    7,
                    9,
                    10,
                    10,
                    12,
                    23,
                    56,
                    63,
                    1115
                ],
                "y": [
                    "Archips packardiana",
                    "Pasiphila rectangulata",
                    "Spilonota ocellana",
                    "Choristoneura fumiferana",
                    "Coleophora mayrella",
                    "Choristoneura rosaceana",
                    "Cenopis pettitana",
                    "Leucoma salicis",
                    "Archips argyrospila",
                    "Acleris forsskaleana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:23.958842",
    "updated_at": "2024-10-10T19:40:31.747745",
    "user_permissions": []
}