API endpoint that allows events to be viewed or edited.

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

{
    "id": 3437,
    "name": "Monday, Feb 12-13 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/3437/?format=api",
    "deployment": {
        "id": 121,
        "name": "Costa Rica - Station",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/121/?format=api",
        "user_permissions": []
    },
    "start": "2024-02-12T16:57:30",
    "end": "2024-02-13T04:02:00",
    "day": "2024-02-12",
    "date_label": "Feb 12-13 2024",
    "duration": "39870.0",
    "duration_label": "11 hours 4 min",
    "captures_count": 3427,
    "detections_count": 128,
    "occurrences_count": 33,
    "stats": {
        "detections_max_count": 28,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3437&ordering=timestamp",
    "first_capture": {
        "id": 9124136,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9124136/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000039/snapshot_images/01-20240212165730-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260404%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260404T083344Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=da7abf68fdbf3a5984060f2d0c2637d5c56251187a22d7f2c078a0a5bb933fa9",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-02-12T16:57:30",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    6,
                    8,
                    5,
                    11,
                    10
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    2,
                    2,
                    2,
                    2,
                    2,
                    4,
                    5,
                    5
                ],
                "y": [
                    "Enyo gorgon",
                    "Erastria decrepitaria",
                    "Macaria abydata",
                    "Glaphyria invisalis",
                    "Phobetron hipparchia",
                    "Protambulyx strigilis",
                    "Apistosia judas",
                    "Syngamia florella",
                    "Plodia interpunctella",
                    "Automeris belti"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-05-01T22:46:39.627405",
    "updated_at": "2024-09-12T19:41:07.016614",
    "user_permissions": []
}