API endpoint that allows events to be viewed or edited.

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

{
    "id": 4746,
    "name": "Wednesday, Jun 22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4746/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-22T21:29:07",
    "end": "2022-06-22T22:18:22",
    "day": "2022-06-22",
    "date_label": "Jun 22 2022",
    "duration": "2955.0",
    "duration_label": "49 minutes",
    "captures_count": 739,
    "detections_count": 7,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4746&ordering=timestamp",
    "first_capture": {
        "id": 15980596,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15980596/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_22/20220622212907-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-22T21:29:07",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Plodia interpunctella",
                    "Olethreutes nigranum",
                    "Mathildana newmanella",
                    "Elasmopalpus lignosella",
                    "Coleophora mayrella",
                    "Caloptilia stigmatella",
                    "Agriphila vulgivagellus"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:36.764266",
    "updated_at": "2024-10-10T19:41:13.588820",
    "user_permissions": []
}