API endpoint that allows events to be viewed or edited.

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

{
    "id": 4509,
    "name": "Friday, May 3-4 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4509/?format=api",
    "deployment": {
        "id": 144,
        "name": "SBWR",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/144/?format=api",
        "user_permissions": []
    },
    "start": "2024-05-03T19:00:21",
    "end": "2024-05-04T03:59:59",
    "day": "2024-05-03",
    "date_label": "May 3-4 2024",
    "duration": "32378.0",
    "duration_label": "8 hours 59 min",
    "captures_count": 3239,
    "detections_count": 9,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 9,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4509&ordering=timestamp",
    "first_capture": {
        "id": 14297673,
        "details": "https://api.beluga.insectai.org/api/v2/captures/14297673/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000052/snapshot_images/01-20240503190021-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T235622Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e6fb5c73909697b8f76a0b894fa7dbec8122b1848fd72a033b24332b9a03a06a",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-05-03T19:00:21",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Sparganothis distincta",
                    "Phricanthes flexilineana",
                    "Melipotis perpendicularis",
                    "Bactra verutana",
                    "Harrisina americana",
                    "Citheronia regalis",
                    "Idia rotundalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-20T06:11:26.109847",
    "updated_at": "2024-09-20T06:35:41.370455",
    "user_permissions": []
}