API endpoint that allows events to be viewed or edited.

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

{
    "id": 69,
    "name": "Tuesday, Aug 16-17 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/69/?format=api",
    "deployment": {
        "id": 12,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-16T22:01:41",
    "end": "2022-08-17T00:40:00",
    "day": "2022-08-16",
    "date_label": "Aug 16-17 2022",
    "duration": "9499.0",
    "duration_label": "2 hours 38 min",
    "captures_count": 1397,
    "detections_count": 84,
    "occurrences_count": 79,
    "stats": {
        "detections_max_count": 15,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=69&ordering=timestamp",
    "first_capture": {
        "id": 92495,
        "details": "https://api.beluga.insectai.org/api/v2/captures/92495/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Aug 16/20220816220141-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-16T22:01:41",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    6,
                    29,
                    18
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    2,
                    2,
                    2,
                    3,
                    3,
                    3,
                    16
                ],
                "y": [
                    "Olethreutes schulziana",
                    "Cenopis reticulatana",
                    "Archips rosana",
                    "Misogada unicolor",
                    "Archips grisea",
                    "Argyrotaenia quadrifasciana",
                    "Archips packardiana",
                    "Cenopis pettitana",
                    "Choristoneura rosaceana",
                    "Archips argyrospila"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T05:49:32.551937",
    "updated_at": "2024-11-13T15:49:31.670907",
    "user_permissions": []
}