API endpoint that allows events to be viewed or edited.

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

{
    "id": 4951,
    "name": "Saturday, Aug 20 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4951/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-20T20:34:09",
    "end": "2022-08-20T21:40:35",
    "day": "2022-08-20",
    "date_label": "Aug 20 2022",
    "duration": "3986.0",
    "duration_label": "1 hours 6 min",
    "captures_count": 586,
    "detections_count": 20,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4951&ordering=timestamp",
    "first_capture": {
        "id": 17002274,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17002274/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_08_20/20220820203409-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-20T20:34:09",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM"
                ],
                "y": [
                    2,
                    3
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "9:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Micropterix mansuetella",
                    "Hedya pruniana",
                    "Gymnandrosoma punctidiscanum",
                    "Eudemis profundana",
                    "Cydia pomonella",
                    "Cydia caryana",
                    "Scopula emutaria",
                    "Adela caeruleella",
                    "Platynota exasperatana",
                    "Coleophora mayrella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:09.906270",
    "updated_at": "2024-10-10T19:41:58.676240",
    "user_permissions": []
}