API endpoint that allows events to be viewed or edited.

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

{
    "id": 5275,
    "name": "Wednesday, Oct 16-17 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5275/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2024-10-16T19:57:49",
    "end": "2024-10-17T03:58:00",
    "day": "2024-10-16",
    "date_label": "Oct 16-17 2024",
    "duration": "28811.0",
    "duration_label": "8 hours 0 min",
    "captures_count": 2863,
    "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=5275&ordering=timestamp",
    "first_capture": {
        "id": 19249753,
        "details": "https://api.beluga.insectai.org/api/v2/captures/19249753/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/01-20241016195749-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-10-16T19:57:49",
        "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": "2025-01-14T21:49:10.298313",
    "updated_at": "2025-01-15T19:04:52.678378",
    "user_permissions": []
}