API endpoint that allows events to be viewed or edited.

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

{
    "id": 2507,
    "name": "Friday, Sep 8-9 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2507/?format=api",
    "deployment": {
        "id": 52,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api",
        "user_permissions": []
    },
    "start": "2023-09-08T21:10:00",
    "end": "2023-09-09T02:29:58",
    "day": "2023-09-08",
    "date_label": "Sep 8-9 2023",
    "duration": "19198.0",
    "duration_label": "5 hours 19 min",
    "captures_count": 33,
    "detections_count": 89,
    "occurrences_count": 88,
    "stats": {
        "detections_max_count": 15,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2507&ordering=timestamp",
    "first_capture": {
        "id": 4274000,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4274000/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230908211000-03-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-09-08T21:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    2,
                    4,
                    2,
                    3
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    3
                ],
                "y": [
                    "Acoloithus falsarius",
                    "Aethes biscana",
                    "Aglossa cuprina",
                    "Agriphila vulgivagellus",
                    "Lambdina fiscellaria",
                    "Microcrambus elegans",
                    "Sparganothis sulfureana",
                    "Campaea perlata",
                    "Choristoneura parallela",
                    "Nematocampa resistaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-12T22:00:30.182218",
    "updated_at": "2025-01-15T19:04:36.478913",
    "user_permissions": []
}