API endpoint that allows events to be viewed or edited.

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

{
    "id": 2503,
    "name": "Friday, Sep 1-2 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2503/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-09-01T21:09:59",
    "end": "2023-09-02T01:10:00",
    "day": "2023-09-01",
    "date_label": "Sep 1-2 2023",
    "duration": "14401.0",
    "duration_label": "4 hours 0 min",
    "captures_count": 25,
    "detections_count": 24,
    "occurrences_count": 24,
    "stats": {
        "detections_max_count": 3,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2503&ordering=timestamp",
    "first_capture": {
        "id": 4273392,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4273392/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230901210959-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-09-01T21:09:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM"
                ],
                "y": [
                    1,
                    2
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    2
                ],
                "y": [
                    "Fissicrambus mutabilis",
                    "Diploschizia impigritella",
                    "Cydia pomonella",
                    "Crambus praefectellus",
                    "Coleophora mayrella",
                    "Catocala cara",
                    "Aristotelia roseosuffusella",
                    "Antaeotricha leucillana",
                    "Clepsis peritana",
                    "Idia americalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T22:00:30.134154",
    "updated_at": "2025-01-15T19:04:35.983099",
    "user_permissions": []
}