API endpoint that allows events to be viewed or edited.

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

{
    "id": 2488,
    "name": "Saturday, Aug 5 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2488/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-05T21:09:59",
    "end": "2023-08-05T23:09:59",
    "day": "2023-08-05",
    "date_label": "Aug 5 2023",
    "duration": "7200.0",
    "duration_label": "2 hours 0 min",
    "captures_count": 13,
    "detections_count": 16,
    "occurrences_count": 16,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2488&ordering=timestamp",
    "first_capture": {
        "id": 4272519,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4272519/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230805210959-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-05T21:09:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    8
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    7
                ],
                "y": [
                    "Pandemis lamprosana",
                    "Choristoneura rosaceana",
                    "Amydria effrentella",
                    "Amolita fessa",
                    "Oegoconia novimundi",
                    "Hypoprepia fucosa"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T22:00:16.121678",
    "updated_at": "2025-01-15T19:04:34.151930",
    "user_permissions": []
}