API endpoint that allows events to be viewed or edited.

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

{
    "id": 4512,
    "name": "Friday, May 10-11 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4512/?format=api",
    "deployment": {
        "id": 144,
        "name": "SBWR",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/144/?format=api",
        "user_permissions": []
    },
    "start": "2024-05-10T19:00:19",
    "end": "2024-05-11T03:59:59",
    "day": "2024-05-10",
    "date_label": "May 10-11 2024",
    "duration": "32380.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=4512&ordering=timestamp",
    "first_capture": {
        "id": 14307390,
        "details": "https://api.beluga.insectai.org/api/v2/captures/14307390/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000052/snapshot_images/01-20240510190019-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260404%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260404T093532Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=c81c8bfb357cc32dda907e6946a06b0021257f9edd25da625f3b990bc7a2ee7a",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-05-10T19:00:19",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
                ],
                "y": [
                    "Platynota flavedana",
                    "Phricanthes flexilineana",
                    "Peoria approximella",
                    "Olethreutes nigranum",
                    "Mesophleps adustipennis",
                    "Endothenia hebesana",
                    "Ditrigona triangularia",
                    "Citheronia splendens",
                    "Choreutis pariana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-20T06:11:27.044035",
    "updated_at": "2024-09-20T06:35:42.425586",
    "user_permissions": []
}