API endpoint that allows events to be viewed or edited.

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

{
    "id": 3189,
    "name": "Monday, Feb 12-14 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/3189/?format=api",
    "deployment": {
        "id": 113,
        "name": "Panama - trap 6",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/113/?format=api",
        "user_permissions": []
    },
    "start": "2024-02-12T09:28:30",
    "end": "2024-02-14T16:28:00",
    "day": "2024-02-12",
    "date_label": "Feb 12-14 2024",
    "duration": "197970.0",
    "duration_label": "2 days 6 hours",
    "captures_count": 19790,
    "detections_count": 2728,
    "occurrences_count": 584,
    "stats": {
        "detections_max_count": 22,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3189&ordering=timestamp",
    "first_capture": {
        "id": 8196750,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8196750/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000022/snapshot_images/20240212092830-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T143717Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=91ce440737c46f442656708bf87efe1431e37062d24a095f9849b8047aadfe63",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-02-12T09:28:30",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 PM",
                    "2:00 PM",
                    "3:00 PM",
                    "4:00 PM",
                    "5:00 PM",
                    "6:00 PM",
                    "7:00 PM",
                    "8: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",
                    "6:00 AM",
                    "7:00 AM",
                    "8:00 AM",
                    "9:00 AM",
                    "10:00 AM",
                    "11:00 AM",
                    "12:00 PM"
                ],
                "y": [
                    69,
                    50,
                    43,
                    47,
                    43,
                    23,
                    30,
                    11,
                    12,
                    23,
                    62,
                    18,
                    49,
                    52,
                    30,
                    29,
                    20,
                    13,
                    21,
                    41,
                    42,
                    48,
                    36
                ],
                "ticktext": [
                    "1:00 PM:00",
                    "12:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    14,
                    14,
                    20,
                    26,
                    31,
                    35,
                    37,
                    41,
                    57,
                    260
                ],
                "y": [
                    "Perigramma vicina",
                    "Elasmopalpus lignosella",
                    "Urania fulgens",
                    "Argyria nivalis",
                    "Sosxetra grata",
                    "Paragonia cruraria",
                    "Cecrita biundata",
                    "Macaria abydata",
                    "Ascalapha odorata",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:52:54.296875",
    "updated_at": "2024-09-20T07:09:16.546572",
    "user_permissions": []
}