API endpoint that allows events to be viewed or edited.

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

{
    "id": 2436,
    "name": "Saturday, Jun 24-25 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2436/?format=api",
    "deployment": {
        "id": 53,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api",
        "user_permissions": []
    },
    "start": "2023-06-24T21:08:23",
    "end": "2023-06-25T00:58:17",
    "day": "2023-06-24",
    "date_label": "Jun 24-25 2023",
    "duration": "13794.0",
    "duration_label": "3 hours 49 min",
    "captures_count": 1998,
    "detections_count": 170,
    "occurrences_count": 42,
    "stats": {
        "detections_max_count": 13,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2436&ordering=timestamp",
    "first_capture": {
        "id": 4267636,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4267636/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2023/2023_06_24/20230624210823-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-06-24T21:08:23",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    4,
                    16,
                    29
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    2,
                    2,
                    2,
                    3,
                    4,
                    5,
                    6,
                    8,
                    13
                ],
                "y": [
                    "Mathildana newmanella",
                    "Emmelina monodactyla",
                    "Cnephasia stephensiana",
                    "Pleuroprucha insulsaria",
                    "Iridopsis larvaria",
                    "Palpita magniferalis",
                    "Platynota idaeusalis",
                    "Hydrelia inornata",
                    "Hethemia pistasciaria",
                    "Drepana arcuata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T21:59:31.664966",
    "updated_at": "2024-09-05T00:18:29.153721",
    "user_permissions": []
}