API endpoint that allows events to be viewed or edited.

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

{
    "id": 3142,
    "name": "Friday, Sep 15-16 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3142/?format=api",
    "deployment": {
        "id": 95,
        "name": "Ox Agri neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/95/?format=api",
        "user_permissions": []
    },
    "start": "2023-09-15T21:04:37",
    "end": "2023-09-16T04:29:59",
    "day": "2023-09-15",
    "date_label": "Sep 15-16 2023",
    "duration": "26722.0",
    "duration_label": "7 hours 25 min",
    "captures_count": 1973,
    "detections_count": 8,
    "occurrences_count": 5,
    "stats": {
        "detections_max_count": 3,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3142&ordering=timestamp",
    "first_capture": {
        "id": 8139150,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8139150/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000004/motion_images/20230915210437-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-09-15T21:04:37",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "3:00 AM"
                ],
                "y": [
                    3,
                    2
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    3
                ],
                "y": [
                    "Thyridopteryx ephemeraeformis",
                    "Hemaris fuciformis",
                    "Diarsia rubi",
                    "Xestia xanthographa",
                    "Campaea margaritaria",
                    "Phlogophora meticulosa"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T13:58:09.975701",
    "updated_at": "2024-04-29T13:58:19.830265",
    "user_permissions": []
}