API endpoint that allows events to be viewed or edited.

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

{
    "id": 39,
    "name": "Thursday, Jul 28-29 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/39/?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-07-28T20:56:28",
    "end": "2022-07-29T05:20:49",
    "day": "2022-07-28",
    "date_label": "Jul 28-29 2022",
    "duration": "30261.0",
    "duration_label": "8 hours 24 min",
    "captures_count": 2438,
    "detections_count": 5,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=39&ordering=timestamp",
    "first_capture": {
        "id": 47394,
        "details": "https://api.beluga.insectai.org/api/v2/captures/47394/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/quebec/mothweek2022/2022_07_28/20220728205628-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-28T20:56:28",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "4:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "4:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Pandemis lamprosana",
                    "Herpetogramma aeglealis",
                    "Coryphista meadii",
                    "Argyrogramma verruca",
                    "Palthis angulalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T04:59:37.137859",
    "updated_at": "2024-06-24T11:35:37.303188",
    "user_permissions": []
}