API endpoint that allows events to be viewed or edited.

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

{
    "id": 5006,
    "name": "Tuesday, Sep 20-21 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5006/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-20T20:33:10",
    "end": "2022-09-21T02:18:34",
    "day": "2022-09-20",
    "date_label": "Sep 20-21 2022",
    "duration": "20724.0",
    "duration_label": "5 hours 45 min",
    "captures_count": 1310,
    "detections_count": 60,
    "occurrences_count": 21,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5006&ordering=timestamp",
    "first_capture": {
        "id": 17368218,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17368218/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_20/20220920203310-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-20T20:33:10",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    1,
                    3,
                    1,
                    11,
                    8,
                    2
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    3,
                    10,
                    11
                ],
                "y": [
                    "Biston betularia",
                    "Bleptina caradrinalis",
                    "Agonopterix robiniella",
                    "Adela caeruleella",
                    "Anacampsis niveopulvella",
                    "Ecliptopera silaceata",
                    "Asteroscopus sphinx",
                    "Not Lepidoptera",
                    "Catocala cerogama",
                    "Idia aemula"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:25.279382",
    "updated_at": "2024-10-10T19:42:09.622186",
    "user_permissions": []
}