API endpoint that allows events to be viewed or edited.

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

{
    "id": 3221,
    "name": "Friday, Aug 25 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3221/?format=api",
    "deployment": {
        "id": 96,
        "name": "Dorset Cont pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/96/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-25T21:04:40",
    "end": "2023-08-25T21:05:46",
    "day": "2023-08-25",
    "date_label": "Aug 25 2023",
    "duration": "66.0",
    "duration_label": "1 minutes",
    "captures_count": 34,
    "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=3221&ordering=timestamp",
    "first_capture": {
        "id": 8641198,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8641198/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000006/motion_images/20230825210440-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-25T21:04:40",
        "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:28:46.112542",
    "updated_at": "2024-04-30T10:28:46.151411",
    "user_permissions": []
}