API endpoint that allows events to be viewed or edited.

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

{
    "id": 5017,
    "name": "Tuesday, Sep 27-28 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5017/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-27T20:35:36",
    "end": "2022-09-28T05:29:49",
    "day": "2022-09-27",
    "date_label": "Sep 27-28 2022",
    "duration": "32053.0",
    "duration_label": "8 hours 54 min",
    "captures_count": 1569,
    "detections_count": 21,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5017&ordering=timestamp",
    "first_capture": {
        "id": 17382992,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17382992/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_27/20220927203536-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-27T20:35:36",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    1,
                    1
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1
                ],
                "y": [
                    "Hypena obesalis",
                    "Eucopina tocullionana",
                    "Eriocrania semipurpurella",
                    "Enarmonia formosana",
                    "Diedra cockerellana",
                    "Dahlica lazuri",
                    "Conistra rubiginosa",
                    "Catocala innubens",
                    "Opogona omoscopa",
                    "Coleophora mayrella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:26.909121",
    "updated_at": "2024-10-10T19:42:20.194093",
    "user_permissions": []
}