API endpoint that allows events to be viewed or edited.

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

{
    "id": 3480,
    "name": "Wednesday, Oct 11-12 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3480/?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-10-11T21:00:00",
    "end": "2023-10-12T04:30:00",
    "day": "2023-10-11",
    "date_label": "Oct 11-12 2023",
    "duration": "27000.0",
    "duration_label": "7 hours 30 min",
    "captures_count": 7466,
    "detections_count": 9,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3480&ordering=timestamp",
    "first_capture": {
        "id": 9237225,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9237225/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000008/snapshot_images/20231011210000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-10-11T21:00:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    1
                ],
                "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
                ],
                "y": [
                    "Macroglossum stellatarum",
                    "Synanthedon formicaeformis",
                    "Scythris inspersella",
                    "Pyroderces argyrogrammos",
                    "Calybites phasianipennella",
                    "Eudemis profundana",
                    "Esperia sulphurella",
                    "Crambus pratella",
                    "Xestia castanea"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-05-01T23:04:14.388757",
    "updated_at": "2024-05-01T23:04:14.953368",
    "user_permissions": []
}