API endpoint that allows events to be viewed or edited.

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

{
    "id": 71,
    "name": "Saturday, Aug 20-21 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/71/?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-20T22:05:27",
    "end": "2022-08-21T00:21:38",
    "day": "2022-08-20",
    "date_label": "Aug 20-21 2022",
    "duration": "8171.0",
    "duration_label": "2 hours 16 min",
    "captures_count": 3496,
    "detections_count": 141,
    "occurrences_count": 100,
    "stats": {
        "detections_max_count": 26,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=71&ordering=timestamp",
    "first_capture": {
        "id": 96319,
        "details": "https://api.beluga.insectai.org/api/v2/captures/96319/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Aug 20/20220820220527-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-20T22:05:27",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    15,
                    51,
                    34
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    3,
                    3,
                    3,
                    3,
                    4,
                    5,
                    6,
                    15
                ],
                "y": [
                    "Episimus argutana",
                    "Dyseriocrania griseocapitella",
                    "Pasiphila rectangulata",
                    "Barbara mappana",
                    "Eucopina tocullionana",
                    "Prionoxystus robiniae",
                    "Chrysoesthia sexguttella",
                    "Endothenia hebesana",
                    "Archips argyrospila",
                    "Gymnandrosoma punctidiscanum"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T05:49:33.532220",
    "updated_at": "2024-11-13T15:49:32.245096",
    "user_permissions": []
}