API endpoint that allows events to be viewed or edited.

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

{
    "id": 4740,
    "name": "Saturday, Aug 20-21 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4740/?format=api",
    "deployment": {
        "id": 239,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?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": 156,
    "occurrences_count": 6,
    "stats": {
        "detections_max_count": 21,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4740&ordering=timestamp",
    "first_capture": {
        "id": 16027003,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16027003/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/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": [
                    1,
                    4,
                    4
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2
                ],
                "y": [
                    "Archips argyrospila",
                    "Aglossa caprealis",
                    "Alsophila pometaria",
                    "Archips packardiana",
                    "Virbia laeta",
                    "Endothenia hebesana",
                    "Episimus argutana",
                    "Chrysoesthia sexguttella",
                    "Gymnandrosoma punctidiscanum",
                    "Acoloithus falsarius"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:36.437993",
    "updated_at": "2024-10-10T19:40:57.481861",
    "user_permissions": []
}