API endpoint that allows events to be viewed or edited.

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

{
    "id": 2663,
    "name": "Thursday, Aug 25-26 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/2663/?format=api",
    "deployment": {
        "id": 53,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-25T20:12:59",
    "end": "2022-08-26T00:34:56",
    "day": "2022-08-25",
    "date_label": "Aug 25-26 2022",
    "duration": "15717.0",
    "duration_label": "4 hours 21 min",
    "captures_count": 2211,
    "detections_count": 223,
    "occurrences_count": 223,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2663&ordering=timestamp",
    "first_capture": {
        "id": 5074701,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5074701/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_25_snapshots/20220825201259-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-25T20:12:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    3,
                    4,
                    7,
                    23,
                    20
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    2,
                    2,
                    2,
                    2,
                    3,
                    4,
                    5,
                    10,
                    11
                ],
                "y": [
                    "Eucosma tomonana",
                    "Feltia jaculifera",
                    "Eupithecia interruptofasciata",
                    "Geometridae",
                    "Scoparia biplagialis",
                    "Rheumaptera prunivorata",
                    "Campaea perlata",
                    "Eudonia strigalis",
                    "Eupithecia miserulata",
                    "Macaria bisignata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-01-24T17:22:50.796811",
    "updated_at": "2024-09-05T00:18:24.493376",
    "user_permissions": []
}