API endpoint that allows events to be viewed or edited.

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

{
    "id": 3218,
    "name": "Friday, Aug 18-19 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3218/?format=api",
    "deployment": {
        "id": 96,
        "name": "Dorset Cont pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/96/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-18T21:09:59",
    "end": "2023-08-19T04:30:00",
    "day": "2023-08-18",
    "date_label": "Aug 18-19 2023",
    "duration": "26401.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 3833,
    "detections_count": 14,
    "occurrences_count": 5,
    "stats": {
        "detections_max_count": 11,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3218&ordering=timestamp",
    "first_capture": {
        "id": 8641352,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8641352/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000006/snapshot_images/20230818210959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-18T21:09:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "4:00 AM"
                ],
                "y": [
                    1,
                    4
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    3
                ],
                "y": [
                    "Crambus pratella",
                    "Scythris sinensis",
                    "Acherontia atropos",
                    "Plodia interpunctella",
                    "Lozotaeniodes formosana",
                    "Griposia aprilina",
                    "Esperia sulphurella",
                    "Cyclophora linearia",
                    "Mythimna pallens",
                    "Lymantria monacha"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:28:44.975146",
    "updated_at": "2024-04-30T10:28:45.315152",
    "user_permissions": []
}