API endpoint that allows events to be viewed or edited.

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

{
    "id": 3467,
    "name": "Monday, Sep 11-12 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3467/?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-09-11T21:03:05",
    "end": "2023-09-12T04:29:59",
    "day": "2023-09-11",
    "date_label": "Sep 11-12 2023",
    "duration": "26814.0",
    "duration_label": "7 hours 26 min",
    "captures_count": 7964,
    "detections_count": 8,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3467&ordering=timestamp",
    "first_capture": {
        "id": 9200334,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9200334/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000008/motion_images/20230911210305-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-09-11T21:03:05",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1
                ],
                "y": [
                    "Hedya nubiferana",
                    "Tineola bisselliella",
                    "Pammene rhediella",
                    "Mythimna pallens",
                    "Macroglossum stellatarum",
                    "Luperina testacea",
                    "Campaea margaritaria",
                    "Sitochroa verticalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-05-01T23:04:12.610413",
    "updated_at": "2024-05-01T23:04:13.133464",
    "user_permissions": []
}