API endpoint that allows events to be viewed or edited.

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

{
    "id": 2614,
    "name": "Saturday, Nov 11-12 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2614/?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-11T17:59:59",
    "end": "2023-11-12T05:29:29",
    "day": "2023-11-11",
    "date_label": "Nov 11-12 2023",
    "duration": "41370.0",
    "duration_label": "11 hours 29 min",
    "captures_count": 4138,
    "detections_count": 8756,
    "occurrences_count": 2334,
    "stats": {
        "detections_max_count": 39,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2614&ordering=timestamp",
    "first_capture": {
        "id": 4730733,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4730733/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/Panama/BEF510C3/20231111175959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-11T17:59:59",
        "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": [
                    29,
                    172,
                    252,
                    284,
                    400,
                    394,
                    335,
                    294,
                    382,
                    258,
                    167,
                    100
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    81,
                    82,
                    91,
                    125,
                    126,
                    134,
                    275,
                    300,
                    300,
                    393
                ],
                "y": [
                    "Lobocleta ossularia",
                    "Neococytius cluentius",
                    "Spilomela perspicata",
                    "Spodoptera dolichos",
                    "Moth",
                    "Plodia interpunctella",
                    "Syngamia florella",
                    "Herpetogramma phaeopteralis",
                    "Pilocrocis ramentalis",
                    "Samea ecclesialis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-12-06T20:34:04.194902",
    "updated_at": "2023-12-07T00:48:31.562785",
    "user_permissions": []
}