API endpoint that allows events to be viewed or edited.

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

{
    "id": 3945,
    "name": "Friday, Mar 22-23 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/3945/?format=api",
    "deployment": {
        "id": 115,
        "name": "Costa Rica - Forest Edge",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/115/?format=api",
        "user_permissions": []
    },
    "start": "2024-03-22T18:30:59",
    "end": "2024-03-23T04:00:59",
    "day": "2024-03-22",
    "date_label": "Mar 22-23 2024",
    "duration": "34200.0",
    "duration_label": "9 hours 30 min",
    "captures_count": 3421,
    "detections_count": 3,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 3,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3945&ordering=timestamp",
    "first_capture": {
        "id": 11221870,
        "details": "https://api.beluga.insectai.org/api/v2/captures/11221870/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000032/snapshot_images/01-20240322183059-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T154910Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ca160c990fb9bb35af49b9c1fb9a479e9836200f74d77ca03dec48c826ed741c",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-03-22T18:30:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "7:00 PM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "7:00 PM:00",
                    "7:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1
                ],
                "y": [
                    "Eublemma recta",
                    "Sphacelodes vulneraria",
                    "Moth"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-12T15:19:39.089991",
    "updated_at": "2024-09-12T15:19:39.373083",
    "user_permissions": []
}