API endpoint that allows events to be viewed or edited.

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

{
    "id": 40,
    "name": "Friday, Jul 29 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/40/?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-29T20:53:04",
    "end": "2022-07-29T23:58:32",
    "day": "2022-07-29",
    "date_label": "Jul 29 2022",
    "duration": "11128.0",
    "duration_label": "3 hours 5 min",
    "captures_count": 1868,
    "detections_count": 27,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 16,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=40&ordering=timestamp",
    "first_capture": {
        "id": 49832,
        "details": "https://api.beluga.insectai.org/api/v2/captures/49832/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/quebec/mothweek2022/2022_07_29/20220729205304-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-29T20:53:04",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM"
                ],
                "y": [
                    3
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "9:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Plodia interpunctella",
                    "Platynota rostrana",
                    "Phycita roborella",
                    "Operophtera brumata",
                    "Microcrambus elegans",
                    "Evergestis limbata",
                    "Elaphria grata",
                    "Idaea dimidiata",
                    "Palthis angulalis",
                    "Idia aemula"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T04:59:39.114408",
    "updated_at": "2024-06-24T11:35:37.471903",
    "user_permissions": []
}