API endpoint that allows events to be viewed or edited.

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

{
    "id": 4988,
    "name": "Saturday, Sep 10-11 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4988/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-10T20:36:09",
    "end": "2022-09-11T00:56:53",
    "day": "2022-09-10",
    "date_label": "Sep 10-11 2022",
    "duration": "15644.0",
    "duration_label": "4 hours 20 min",
    "captures_count": 2598,
    "detections_count": 60,
    "occurrences_count": 10,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4988&ordering=timestamp",
    "first_capture": {
        "id": 17316405,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17316405/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_10/20220910203609-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-10T20:36:09",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    2,
                    4,
                    2,
                    4
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    5
                ],
                "y": [
                    "Coleophora mayrella",
                    "Anticlea multiferata",
                    "Caloptilia stigmatella",
                    "Arctia caja",
                    "Pelochrista similiana",
                    "Magusa divaricata",
                    "Pediasia trisecta",
                    "Palthis asopialis",
                    "Idia aemula",
                    "Catocala cerogama"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:19.632011",
    "updated_at": "2024-10-10T19:42:06.993463",
    "user_permissions": []
}