API endpoint that allows events to be viewed or edited.

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

{
    "id": 5243,
    "name": "Saturday, Aug 10-11 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/5243/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2024-08-10T20:58:49",
    "end": "2024-08-11T03:58:59",
    "day": "2024-08-10",
    "date_label": "Aug 10-11 2024",
    "duration": "25210.0",
    "duration_label": "7 hours 0 min",
    "captures_count": 2522,
    "detections_count": 153,
    "occurrences_count": 153,
    "stats": {
        "detections_max_count": 15,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5243&ordering=timestamp",
    "first_capture": {
        "id": 19185231,
        "details": "https://api.beluga.insectai.org/api/v2/captures/19185231/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/01-20240810205849-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-08-10T20:58:49",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    18,
                    44,
                    12,
                    24
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    2,
                    3,
                    3,
                    4,
                    5,
                    7,
                    48
                ],
                "y": [
                    "Macaria transitaria",
                    "Eudonia strigalis",
                    "Elaphria versicolor",
                    "Epirrhoe alternata",
                    "Cydia latiferreana",
                    "Macaria aemulataria",
                    "Pyrausta acrionalis",
                    "Hypagyrtis unipunctata",
                    "Campaea perlata",
                    "Not a Moth"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2025-01-14T21:49:00.078493",
    "updated_at": "2025-01-15T19:04:43.014811",
    "user_permissions": []
}