API endpoint that allows events to be viewed or edited.

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

{
    "id": 3486,
    "name": "Wednesday, Oct 25-26 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3486/?format=api",
    "deployment": {
        "id": 98,
        "name": "Dorset Agri pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/98/?format=api",
        "user_permissions": []
    },
    "start": "2023-10-25T21:00:00",
    "end": "2023-10-26T04:20:00",
    "day": "2023-10-25",
    "date_label": "Oct 25-26 2023",
    "duration": "26400.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 2118,
    "detections_count": 4,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3486&ordering=timestamp",
    "first_capture": {
        "id": 9237497,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9237497/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000008/snapshot_images/20231025210000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-10-25T21:00:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "4:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "4:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Operophtera brumata",
                    "Calybites phasianipennella",
                    "Adela violella D.& S.",
                    "Caloptilia robustella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-05-01T23:04:15.592355",
    "updated_at": "2024-05-01T23:04:15.756242",
    "user_permissions": []
}