API endpoint that allows events to be viewed or edited.

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

{
    "id": 2612,
    "name": "Friday, Nov 10-11 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2612/?format=api",
    "deployment": {
        "id": 61,
        "name": "AMI BEF510C3",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/61/?format=api",
        "user_permissions": []
    },
    "start": "2023-11-10T18:17:40",
    "end": "2023-11-11T05:29:30",
    "day": "2023-11-10",
    "date_label": "Nov 10-11 2023",
    "duration": "40310.0",
    "duration_label": "11 hours 11 min",
    "captures_count": 4032,
    "detections_count": 8977,
    "occurrences_count": 2198,
    "stats": {
        "detections_max_count": 45,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2612&ordering=timestamp",
    "first_capture": {
        "id": 4722701,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4722701/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/Panama/BEF510C3/20231110181740-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-10T18:17:40",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 PM",
                    "7:00 PM",
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM"
                ],
                "y": [
                    99,
                    253,
                    336,
                    294,
                    442,
                    409,
                    337,
                    100,
                    155,
                    171,
                    208,
                    74
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    57,
                    79,
                    90,
                    102,
                    102,
                    117,
                    122,
                    222,
                    458,
                    520
                ],
                "y": [
                    "Plodia interpunctella",
                    "Ascalapha odorata",
                    "Perigramma vicina",
                    "Eulepte concordalis",
                    "Syngamia florella",
                    "Moth",
                    "Lobocleta ossularia",
                    "Pilocrocis ramentalis",
                    "Samea ecclesialis",
                    "Herpetogramma phaeopteralis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-12-06T20:33:13.234986",
    "updated_at": "2023-12-07T00:48:28.686650",
    "user_permissions": []
}