API endpoint that allows events to be viewed or edited.

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

{
    "id": 2505,
    "name": "Monday, Sep 4-5 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2505/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-09-04T21:10:00",
    "end": "2023-09-05T03:40:00",
    "day": "2023-09-04",
    "date_label": "Sep 4-5 2023",
    "duration": "23400.0",
    "duration_label": "6 hours 30 min",
    "captures_count": 40,
    "detections_count": 136,
    "occurrences_count": 136,
    "stats": {
        "detections_max_count": 10,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2505&ordering=timestamp",
    "first_capture": {
        "id": 4273439,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4273439/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230904211000-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-09-04T21:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    1,
                    4,
                    3,
                    3,
                    5,
                    2
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    3
                ],
                "y": [
                    "Not a Moth (duplicate)",
                    "Geometridae",
                    "Eulithis diversilineata",
                    "Alsophila pometaria",
                    "Agriphila vulgivagellus",
                    "Neurobathra strigifinitella",
                    "Peridroma saucia",
                    "Sparganothis sulfureana",
                    "Orgyia definita",
                    "Campaea perlata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T22:00:30.157744",
    "updated_at": "2025-01-15T19:04:36.219339",
    "user_permissions": []
}