API endpoint that allows events to be viewed or edited.

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

{
    "id": 5340,
    "name": "Sunday, Jul 31-1 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5340/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-31T20:14:09",
    "end": "2022-08-01T00:11:10",
    "day": "2022-07-31",
    "date_label": "Jul 31-1 2022",
    "duration": "14221.0",
    "duration_label": "3 hours 57 min",
    "captures_count": 4055,
    "detections_count": 12,
    "occurrences_count": 12,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5340&ordering=timestamp",
    "first_capture": {
        "id": 20108011,
        "details": "https://api.beluga.insectai.org/api/v2/captures/20108011/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/movement/2022_07_31/20220731201409-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-31T20:14:09",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM"
                ],
                "y": [
                    7
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    3
                ],
                "y": [
                    "Herpetogramma pertextalis",
                    "Cenopis directana",
                    "Eusarca confusaria",
                    "Pandemis lamprosana",
                    "Platynota exasperatana",
                    "Hypoprepia fucosa",
                    "Hedya separatana",
                    "Campaea perlata",
                    "Not a Moth"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2025-01-15T19:04:17.127582",
    "updated_at": "2025-01-15T19:04:17.544637",
    "user_permissions": []
}