API endpoint that allows events to be viewed or edited.

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

{
    "id": 192,
    "name": "Tuesday, Jun 28 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/192/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-28T20:59:23",
    "end": "2022-06-28T22:09:38",
    "day": "2022-06-28",
    "date_label": "Jun 28 2022",
    "duration": "4215.0",
    "duration_label": "1 hours 10 min",
    "captures_count": 393,
    "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=192&ordering=timestamp",
    "first_capture": {
        "id": 782789,
        "details": "https://api.beluga.insectai.org/api/v2/captures/782789/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_28/20220628205923-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-28T20:59:23",
        "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": "2023-08-20T16:12:49.617217",
    "updated_at": "2024-07-23T18:55:37.663764",
    "user_permissions": []
}