API endpoint that allows events to be viewed or edited.

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

{
    "id": 4750,
    "name": "Monday, Aug 22-23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4750/?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-22T22:06:06",
    "end": "2022-08-23T04:59:59",
    "day": "2022-08-22",
    "date_label": "Aug 22-23 2022",
    "duration": "24833.0",
    "duration_label": "6 hours 53 min",
    "captures_count": 10197,
    "detections_count": 639,
    "occurrences_count": 79,
    "stats": {
        "detections_max_count": 23,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4750&ordering=timestamp",
    "first_capture": {
        "id": 16045198,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16045198/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Aug 22/20220822220606-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-22T22:06:06",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    2,
                    17,
                    27,
                    17,
                    23,
                    26
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    2,
                    3,
                    4,
                    4,
                    6,
                    8,
                    11,
                    64
                ],
                "y": [
                    "Dyseriocrania griseocapitella",
                    "Eucosma ochrocephala",
                    "Not Identifiable",
                    "Chrysoesthia sexguttella",
                    "Archips argyrospila",
                    "Mathildana newmanella",
                    "Cenopis pettitana",
                    "Acoloithus falsarius",
                    "Episimus argutana",
                    "Acleris forsskaleana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:37.821945",
    "updated_at": "2024-10-10T19:41:02.077180",
    "user_permissions": []
}