API endpoint that allows events to be viewed or edited.

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

{
    "id": 3271,
    "name": "Monday, Aug 14-15 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3271/?format=api",
    "deployment": {
        "id": 103,
        "name": "North Agri neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/103/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-14T20:59:59",
    "end": "2023-08-15T04:49:59",
    "day": "2023-08-14",
    "date_label": "Aug 14-15 2023",
    "duration": "28200.0",
    "duration_label": "7 hours 50 min",
    "captures_count": 239,
    "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=3271&ordering=timestamp",
    "first_capture": {
        "id": 8948995,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8948995/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000012/snapshot_images/01-20230814205959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-14T20:59:59",
        "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-04-30T10:31:13.057486",
    "updated_at": "2024-04-30T10:31:13.121522",
    "user_permissions": []
}