API endpoint that allows events to be viewed or edited.

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

{
    "id": 2516,
    "name": "Friday, Oct 6 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2516/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-10-06T21:09:59",
    "end": "2023-10-06T23:59:59",
    "day": "2023-10-06",
    "date_label": "Oct 6 2023",
    "duration": "10200.0",
    "duration_label": "2 hours 50 min",
    "captures_count": 18,
    "detections_count": 18,
    "occurrences_count": 18,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2516&ordering=timestamp",
    "first_capture": {
        "id": 4274257,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4274257/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20231006210959-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-10-06T21:09:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1
                ],
                "y": [
                    "Orgyia definita",
                    "Holomelina laeta",
                    "Endothenia hebesana",
                    "Catocala ilia",
                    "Barbara mappana",
                    "Archips packardiana",
                    "Alsophila pometaria",
                    "Albuna pyramidalis",
                    "Idia aemula",
                    "Nomophila nearctica"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T22:00:30.488324",
    "updated_at": "2025-01-15T19:04:37.770035",
    "user_permissions": []
}