API endpoint that allows events to be viewed or edited.

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

{
    "id": 4473,
    "name": "Monday, Apr 22-23 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4473/?format=api",
    "deployment": {
        "id": 146,
        "name": "BAMK",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/146/?format=api",
        "user_permissions": []
    },
    "start": "2024-04-22T19:00:20",
    "end": "2024-04-23T04:00:00",
    "day": "2024-04-22",
    "date_label": "Apr 22-23 2024",
    "duration": "32380.0",
    "duration_label": "8 hours 59 min",
    "captures_count": 3239,
    "detections_count": 1,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4473&ordering=timestamp",
    "first_capture": {
        "id": 14327463,
        "details": "https://api.beluga.insectai.org/api/v2/captures/14327463/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000050/snapshot_images/20240422190020-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160032Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=33e661f3e6ffd7dec5c99ad93537b74b47b9854a9e8df03b9741d1671d6b8245",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-04-22T19:00:20",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0
                ],
                "y": [
                    "Xanthopastis regnatrix"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-20T06:05:43.213613",
    "updated_at": "2024-09-20T06:35:55.086311",
    "user_permissions": []
}