API endpoint that allows events to be viewed or edited.

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

{
    "id": 2653,
    "name": "Sunday, Aug 14-15 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/2653/?format=api",
    "deployment": {
        "id": 53,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-14T20:13:00",
    "end": "2022-08-15T04:01:51",
    "day": "2022-08-14",
    "date_label": "Aug 14-15 2022",
    "duration": "28131.0",
    "duration_label": "7 hours 48 min",
    "captures_count": 6245,
    "detections_count": 799,
    "occurrences_count": 799,
    "stats": {
        "detections_max_count": 25,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2653&ordering=timestamp",
    "first_capture": {
        "id": 5074436,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5074436/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_14_snapshots/20220814201300-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-14T20:13:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    1,
                    24,
                    24,
                    51,
                    58,
                    29,
                    39
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    6,
                    9,
                    9,
                    10,
                    11,
                    13,
                    15,
                    16,
                    23,
                    25
                ],
                "y": [
                    "Prochoerodes lineola",
                    "Microcrambus elegans",
                    "Clemensia albata",
                    "Speranza pustularia",
                    "Eupithecia miserulata",
                    "Campaea perlata",
                    "Drepana arcuata",
                    "Not a Moth",
                    "Eudonia strigalis",
                    "Pandemis lamprosana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-01-24T16:45:44.460095",
    "updated_at": "2024-09-05T00:18:21.810374",
    "user_permissions": []
}