API endpoint that allows events to be viewed or edited.

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

{
    "id": 3306,
    "name": "Friday, Nov 3-4 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3306/?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-11-03T19:59:59",
    "end": "2023-11-04T03:19:59",
    "day": "2023-11-03",
    "date_label": "Nov 3-4 2023",
    "duration": "26400.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 45,
    "detections_count": 2,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3306&ordering=timestamp",
    "first_capture": {
        "id": 8949501,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8949501/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000012/snapshot_images/01-20231103195959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-03T19:59:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0
                ],
                "y": [
                    "Hemaris fuciformis",
                    "Agrius cingulata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:31:18.790764",
    "updated_at": "2024-04-30T10:31:18.826281",
    "user_permissions": []
}