API endpoint that allows events to be viewed or edited.

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

{
    "id": 4789,
    "name": "Wednesday, Aug 31-1 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4789/?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-08-31T22:04:43",
    "end": "2022-09-01T05:00:06",
    "day": "2022-08-31",
    "date_label": "Aug 31-1 2022",
    "duration": "24923.0",
    "duration_label": "6 hours 55 min",
    "captures_count": 3640,
    "detections_count": 120,
    "occurrences_count": 14,
    "stats": {
        "detections_max_count": 9,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4789&ordering=timestamp",
    "first_capture": {
        "id": 16110899,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16110899/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Aug 31/20220831220443-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-31T22:04:43",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    1,
                    7,
                    10
                ],
                "ticktext": [
                    "2:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    7
                ],
                "y": [
                    "Phobetron pithecium",
                    "Chionodes discoocellella",
                    "Catocala habilis",
                    "Epinotia trigonella",
                    "Episimus argutana",
                    "Acoloithus falsarius",
                    "Epinotia nisella",
                    "Catocala palaeogama",
                    "Not Lepidoptera",
                    "Acleris forsskaleana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:44.891167",
    "updated_at": "2024-10-10T19:41:09.010195",
    "user_permissions": []
}