API endpoint that allows events to be viewed or edited.

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

{
    "id": 37,
    "name": "Tuesday, Jul 26 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/37/?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-26T21:23:55",
    "end": "2022-07-26T23:20:28",
    "day": "2022-07-26",
    "date_label": "Jul 26 2022",
    "duration": "6993.0",
    "duration_label": "1 hours 56 min",
    "captures_count": 35,
    "detections_count": 15,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 15,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=37&ordering=timestamp",
    "first_capture": {
        "id": 47248,
        "details": "https://api.beluga.insectai.org/api/v2/captures/47248/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/quebec/mothweek2022/2022_07_26/20220726212355-00-06.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-26T21:23:55",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM"
                ],
                "y": [
                    5
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Argyrotaenia quadrifasciana",
                    "Pandemis lamprosana",
                    "Platynota idaeusalis",
                    "Platynota flavedana",
                    "Eucopina siskiyouana",
                    "Platynota exasperatana",
                    "Microcrambus elegans",
                    "Eulithis",
                    "Drepana arcuata",
                    "Proteoteras moffatiana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T04:59:36.990454",
    "updated_at": "2024-06-24T11:35:37.084894",
    "user_permissions": []
}