API endpoint that allows events to be viewed or edited.

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

{
    "id": 2799,
    "name": "Saturday, Jul 15 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2799/?format=api",
    "deployment": {
        "id": 74,
        "name": "PFS_Moth_Wall",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/74/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-15T01:00:00",
    "end": "2023-07-15T05:45:02",
    "day": "2023-07-15",
    "date_label": "Jul 15 2023",
    "duration": "17102.0",
    "duration_label": "4 hours 45 min",
    "captures_count": 25,
    "detections_count": 148,
    "occurrences_count": 130,
    "stats": {
        "detections_max_count": 28,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2799&ordering=timestamp",
    "first_capture": {
        "id": 6238036,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6238036/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/MothWall/Project_20230715010000_4115.JPG",
        "width": 6080,
        "height": 3420,
        "timestamp": "2023-07-15T01:00:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM"
                ],
                "y": [
                    7,
                    18,
                    54,
                    36
                ],
                "ticktext": [
                    "2:00 AM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    3,
                    3,
                    3,
                    3,
                    3,
                    3,
                    4,
                    4,
                    5,
                    7
                ],
                "y": [
                    "Cenopis pettitana",
                    "Ancylis uncella",
                    "Eupithecia absinthiata",
                    "Noctua comes",
                    "Argyrotaenia velutinana",
                    "Aphomia sociella",
                    "Eupithecia inturbata",
                    "Peridea ferruginea",
                    "Cydia caryana",
                    "Epiblema strenuana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-03-18T10:09:07.713395",
    "updated_at": "2024-11-13T15:50:59.650118",
    "user_permissions": []
}