API endpoint that allows events to be viewed or edited.

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

{
    "id": 3266,
    "name": "Wednesday, Aug 2-3 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3266/?format=api",
    "deployment": {
        "id": 103,
        "name": "North Agri neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/103/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-02T20:59:59",
    "end": "2023-08-03T04:56:50",
    "day": "2023-08-02",
    "date_label": "Aug 2-3 2023",
    "duration": "28611.0",
    "duration_label": "7 hours 56 min",
    "captures_count": 11085,
    "detections_count": 89,
    "occurrences_count": 5,
    "stats": {
        "detections_max_count": 33,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3266&ordering=timestamp",
    "first_capture": {
        "id": 8948984,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8948984/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000012/snapshot_images/01-20230802205959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-02T20:59:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    3,
                    2,
                    1,
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Dyseriocrania subpurpurella",
                    "Atolmis rubricollis",
                    "Caloptilia stigmatella",
                    "Caloptilia suberinella Tgstr.",
                    "Nephopterix angustella",
                    "Ypsolopha horridella",
                    "Thyridopteryx ephemeraeformis",
                    "Hippotion celerio",
                    "Scythris sinensis",
                    "Operophtera brumata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:31:11.257519",
    "updated_at": "2024-04-30T10:31:12.038481",
    "user_permissions": []
}