API endpoint that allows events to be viewed or edited.

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

{
    "id": 3164,
    "name": "Wednesday, Feb 21-22 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/3164/?format=api",
    "deployment": {
        "id": 108,
        "name": "Panama - trap 1",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/108/?format=api",
        "user_permissions": []
    },
    "start": "2024-02-21T12:18:29",
    "end": "2024-02-22T10:18:39",
    "day": "2024-02-21",
    "date_label": "Feb 21-22 2024",
    "duration": "79210.0",
    "duration_label": "22 hours 0 min",
    "captures_count": 7918,
    "detections_count": 708,
    "occurrences_count": 127,
    "stats": {
        "detections_max_count": 19,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3164&ordering=timestamp",
    "first_capture": {
        "id": 8277383,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8277383/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000017/snapshot_images/20240221121829-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260401%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260401T235950Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=a7bacf28409ebc7f3d6f89d726cedc41fd510a3361f71d593a5d79de542b4f96",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-02-21T12:18:29",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "4:00 PM",
                    "5:00 PM",
                    "6:00 PM",
                    "7:00 PM",
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "4:00 AM",
                    "5:00 AM",
                    "6:00 AM",
                    "7:00 AM",
                    "8:00 AM",
                    "9:00 AM",
                    "10:00 AM"
                ],
                "y": [
                    7,
                    14,
                    11,
                    10,
                    7,
                    11,
                    1,
                    2,
                    9,
                    3,
                    9,
                    19,
                    23,
                    13,
                    13,
                    15,
                    6
                ],
                "ticktext": [
                    "4:00 PM:00",
                    "10:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    5,
                    6,
                    7,
                    7,
                    7,
                    10,
                    11,
                    13,
                    16,
                    44
                ],
                "y": [
                    "Eulepidotis guttata",
                    "Melipotis perpendicularis",
                    "Macaria abydata",
                    "Ephestia elutella",
                    "Sosxetra grata",
                    "Elasmopalpus lignosella",
                    "Herpetogramma phaeopteralis",
                    "Glaphyria invisalis",
                    "Ascalapha odorata",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:51:07.845745",
    "updated_at": "2024-09-20T06:43:50.879471",
    "user_permissions": []
}