API endpoint that allows events to be viewed or edited.

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

{
    "id": 193,
    "name": "Wednesday, Jun 29 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/193/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-29T21:26:00",
    "end": "2022-06-29T23:45:23",
    "day": "2022-06-29",
    "date_label": "Jun 29 2022",
    "duration": "8363.0",
    "duration_label": "2 hours 19 min",
    "captures_count": 1909,
    "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=193&ordering=timestamp",
    "first_capture": {
        "id": 783182,
        "details": "https://api.beluga.insectai.org/api/v2/captures/783182/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_29/20220629212600-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-29T21:26:00",
        "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.730465",
    "updated_at": "2024-07-23T18:55:37.859041",
    "user_permissions": []
}