API endpoint that allows events to be viewed or edited.

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

{
    "id": 5086,
    "name": "Friday, Nov 11-12 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5086/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-11-11T20:07:13",
    "end": "2022-11-12T04:32:42",
    "day": "2022-11-11",
    "date_label": "Nov 11-12 2022",
    "duration": "30329.0",
    "duration_label": "8 hours 25 min",
    "captures_count": 1982,
    "detections_count": 17,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 3,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5086&ordering=timestamp",
    "first_capture": {
        "id": 17407516,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17407516/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_11_11/20221111200713-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-11-11T20:07:13",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Mathildana newmanella",
                    "Idia rotundalis",
                    "Grammia virgo",
                    "Dysstroma truncata",
                    "Diurnea fagella",
                    "Caloptilia stigmatella",
                    "Anisota virginiensis",
                    "Aglossa cuprina",
                    "Acleris umbrana",
                    "Operophtera bruceata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:36.066781",
    "updated_at": "2024-10-10T19:42:30.060991",
    "user_permissions": []
}