API endpoint that allows events to be viewed or edited.

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

{
    "id": 4599,
    "name": "Monday, May 16-17 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4599/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-16T14:03:54",
    "end": "2022-05-17T00:32:45",
    "day": "2022-05-16",
    "date_label": "May 16-17 2022",
    "duration": "37731.0",
    "duration_label": "10 hours 28 min",
    "captures_count": 569,
    "detections_count": 14,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 3,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4599&ordering=timestamp",
    "first_capture": {
        "id": 15874689,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15874689/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_16/20220516140354-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-16T14:03:54",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    1,
                    1
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1
                ],
                "y": [
                    "Synanthedon pictipes",
                    "Podosesia syringae",
                    "Plutella xylostella",
                    "Pleurota bicostella",
                    "Eudryas grata",
                    "Eucosma ochroterminana",
                    "Episimus argutana",
                    "Diedra cockerellana",
                    "Plagodis dolabraria",
                    "Chalcoela iphitalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:19.967108",
    "updated_at": "2024-10-10T19:40:32.789472",
    "user_permissions": []
}