API endpoint that allows events to be viewed or edited.

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

{
    "id": 2672,
    "name": "Thursday, Sep 8-9 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/2672/?format=api",
    "deployment": {
        "id": 53,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-08T20:04:59",
    "end": "2022-09-09T02:31:33",
    "day": "2022-09-08",
    "date_label": "Sep 8-9 2022",
    "duration": "23194.0",
    "duration_label": "6 hours 26 min",
    "captures_count": 1041,
    "detections_count": 90,
    "occurrences_count": 19,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2672&ordering=timestamp",
    "first_capture": {
        "id": 5074887,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5074887/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_09_08_snapshots/20220908200459-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-08T20:04:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    4,
                    6,
                    1,
                    7,
                    6,
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    2,
                    4,
                    4,
                    6
                ],
                "y": [
                    "Ecliptopera silaceata",
                    "Acentria ephemerella",
                    "Disclisioprocta stellata",
                    "Agriphila vulgivagellus",
                    "Orgyia definita",
                    "Archips strianus",
                    "Lambdina fiscellaria",
                    "Pleuroprucha insulsaria",
                    "Clemensia albata",
                    "Nematocampa resistaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-01-24T17:40:14.235915",
    "updated_at": "2024-09-05T00:18:26.372998",
    "user_permissions": []
}