API endpoint that allows events to be viewed or edited.

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

{
    "id": 3349,
    "name": "Friday, Aug 11-12 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3349/?format=api",
    "deployment": {
        "id": 99,
        "name": "Dorset Agri neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/99/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-11T21:09:59",
    "end": "2023-08-12T04:29:59",
    "day": "2023-08-11",
    "date_label": "Aug 11-12 2023",
    "duration": "26400.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 4016,
    "detections_count": 4,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3349&ordering=timestamp",
    "first_capture": {
        "id": 9039413,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9039413/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000007/snapshot_images/20230811210959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-11T21:09:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1
                ],
                "y": [
                    "Ennomos alniaria",
                    "Noctua janthe",
                    "Mythimna pallens"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:32:39.118814",
    "updated_at": "2024-04-30T10:32:39.378484",
    "user_permissions": []
}