API endpoint that allows events to be viewed or edited.

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

{
    "id": 2921,
    "name": "Friday, Aug 11-12 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2921/?format=api",
    "deployment": {
        "id": 105,
        "name": "Pymoor neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/105/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-11T21:04:48",
    "end": "2023-08-12T04:00:00",
    "day": "2023-08-11",
    "date_label": "Aug 11-12 2023",
    "duration": "24912.0",
    "duration_label": "6 hours 55 min",
    "captures_count": 7177,
    "detections_count": 15,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 8,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2921&ordering=timestamp",
    "first_capture": {
        "id": 6544208,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6544208/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000014/motion_images/20230811210448-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-11T21:04:48",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    3
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    2
                ],
                "y": [
                    "Tineola bisselliella",
                    "Bactra furfurana",
                    "Synanthedon myopaeformis",
                    "Scrobipalpa ocellatella",
                    "Parapoynx stratiotata",
                    "Operophtera brumata",
                    "Coleophora deauratella",
                    "Chilodes maritima",
                    "Lacanobia oleracea",
                    "Phragmatobia fuliginosa"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:37:46.251730",
    "updated_at": "2024-04-26T01:17:08.334378",
    "user_permissions": []
}