API endpoint that allows events to be viewed or edited.

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

{
    "id": 3161,
    "name": "Tuesday, Dec 5-6 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3161/?format=api",
    "deployment": {
        "id": 108,
        "name": "Panama - trap 1",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/108/?format=api",
        "user_permissions": []
    },
    "start": "2023-12-05T17:59:39",
    "end": "2023-12-06T04:58:59",
    "day": "2023-12-05",
    "date_label": "Dec 5-6 2023",
    "duration": "39560.0",
    "duration_label": "10 hours 59 min",
    "captures_count": 3957,
    "detections_count": 465,
    "occurrences_count": 104,
    "stats": {
        "detections_max_count": 32,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3161&ordering=timestamp",
    "first_capture": {
        "id": 8250528,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8250528/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000017/snapshot_images/20231205175939-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T043228Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=c9f8f7f9f1b0e089369bf23f640fbf1df13e066331a6d0dada5d3aee8a077236",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-12-05T17:59:39",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    15,
                    42,
                    24,
                    26,
                    43
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    5,
                    5,
                    5,
                    6,
                    6,
                    8,
                    13,
                    16,
                    37
                ],
                "y": [
                    "Elasmopalpus lignosella",
                    "Spilomela discordens",
                    "Enyo lugubris",
                    "Melese incertus",
                    "Ascalapha odorata",
                    "Lobocleta ossularia",
                    "Macaria abydata",
                    "Pareuchaetes insulata",
                    "Herpetogramma phaeopteralis",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:50:51.984662",
    "updated_at": "2024-09-20T06:43:49.968785",
    "user_permissions": []
}