API endpoint that allows events to be viewed or edited.

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

{
    "id": 43,
    "name": "Monday, Aug 1 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/43/?format=api",
    "deployment": {
        "id": 9,
        "name": "Quebec - Moth Week 2022",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/9/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-01T20:32:27",
    "end": "2022-08-01T23:59:57",
    "day": "2022-08-01",
    "date_label": "Aug 1 2022",
    "duration": "12450.0",
    "duration_label": "3 hours 27 min",
    "captures_count": 1555,
    "detections_count": 24,
    "occurrences_count": 7,
    "stats": {
        "detections_max_count": 24,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=43&ordering=timestamp",
    "first_capture": {
        "id": 55353,
        "details": "https://api.beluga.insectai.org/api/v2/captures/55353/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/quebec/mothweek2022/2022_08_01/20220801203227-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-01T20:32:27",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM"
                ],
                "y": [
                    7
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Olethreutes schulziana",
                    "Neurobathra strigifinitella",
                    "Microcrambus immunellus",
                    "Gymnandrosoma punctidiscanum",
                    "Olethreutes nigranum",
                    "Phalonidia lepidana",
                    "Eriocrania semipurpurella",
                    "Pandemis lamprosana",
                    "Argyrotaenia quadrifasciana",
                    "Platynota exasperatana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T04:59:43.621744",
    "updated_at": "2024-06-24T11:35:37.875829",
    "user_permissions": []
}