API endpoint that allows events to be viewed or edited.

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

{
    "id": 4568,
    "name": "Wednesday, Aug 7-8 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4568/?format=api",
    "deployment": {
        "id": 112,
        "name": "Panama - trap 5",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/112/?format=api",
        "user_permissions": []
    },
    "start": "2024-08-07T04:59:30",
    "end": "2024-08-08T03:40:00",
    "day": "2024-08-07",
    "date_label": "Aug 7-8 2024",
    "duration": "81630.0",
    "duration_label": "22 hours 40 min",
    "captures_count": 5984,
    "detections_count": 0,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 0,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4568&ordering=timestamp",
    "first_capture": {
        "id": 15293192,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15293192/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000021/snapshot_images/20240807045930-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160920Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d21160d076d6db38851d7a81a69a96de0be57043c03f2bbbd74e511677b50580",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-08-07T04:59:30",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [],
                "y": []
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-20T07:04:14.836165",
    "updated_at": "2024-09-20T07:04:15.355597",
    "user_permissions": []
}