API endpoint that allows events to be viewed or edited.

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

{
    "id": 306,
    "name": "Saturday, Oct 29-30 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/306/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-10-29T00:19:13",
    "end": "2022-10-30T01:29:37",
    "day": "2022-10-29",
    "date_label": "Oct 29-30 2022",
    "duration": "90624.0",
    "duration_label": "1 days 1 hours",
    "captures_count": 207,
    "detections_count": 1,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=306&ordering=timestamp",
    "first_capture": {
        "id": 1002594,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1002594/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_10_29/20221029001913-00-03.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-10-29T00:19:13",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "4:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "4:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1
                ],
                "y": [
                    "Operophtera bruceata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:13:30.882715",
    "updated_at": "2024-07-23T18:55:57.954226",
    "user_permissions": []
}