API endpoint that allows events to be viewed or edited.

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

{
    "id": 4495,
    "name": "Wednesday, Jun 12-13 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4495/?format=api",
    "deployment": {
        "id": 146,
        "name": "BAMK",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/146/?format=api",
        "user_permissions": []
    },
    "start": "2024-06-12T18:59:29",
    "end": "2024-06-13T03:58:59",
    "day": "2024-06-12",
    "date_label": "Jun 12-13 2024",
    "duration": "32370.0",
    "duration_label": "8 hours 59 min",
    "captures_count": 3238,
    "detections_count": 2,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4495&ordering=timestamp",
    "first_capture": {
        "id": 14449985,
        "details": "https://api.beluga.insectai.org/api/v2/captures/14449985/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000050/snapshot_images/20240612185929-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160230Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1e1dd0474cd7585964e0c2458540feb620439c8db6b9441f6c41184402ed747f",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-06-12T18:59:29",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "8:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1
                ],
                "y": [
                    "Sacada discinota",
                    "Eriocrania semipurpurella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-20T06:05:49.070165",
    "updated_at": "2024-09-20T06:36:02.249604",
    "user_permissions": []
}