API endpoint that allows events to be viewed or edited.

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

{
    "id": 4722,
    "name": "Monday, Jun 20-21 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4722/?format=api",
    "deployment": {
        "id": 237,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/237/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-20T20:09:59",
    "end": "2022-06-21T04:59:59",
    "day": "2022-06-20",
    "date_label": "Jun 20-21 2022",
    "duration": "31800.0",
    "duration_label": "8 hours 50 min",
    "captures_count": 2848,
    "detections_count": 28,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4722&ordering=timestamp",
    "first_capture": {
        "id": 17234442,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17234442/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/snapshots/2022_06_12-27snapshots/20220620200959-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-20T20:09:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "4:00 AM"
                ],
                "y": [
                    1,
                    2,
                    2
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Adela caeruleella",
                    "Cnephasia stephensiana",
                    "Amydria effrentella",
                    "Acleris maculidorsana",
                    "Ascalapha odorata",
                    "Aristotelia roseosuffusella",
                    "Disclisioprocta stellata",
                    "Phobetron pithecium",
                    "Macaria aemulataria",
                    "Emmelina monodactyla"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:33.785419",
    "updated_at": "2024-10-10T19:40:29.296185",
    "user_permissions": []
}