API endpoint that allows events to be viewed or edited.

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

{
    "id": 799,
    "name": "Friday, Aug 11-12 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/799/?format=api",
    "deployment": {
        "id": 24,
        "name": "UK - East Hendred (-)",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/24/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-11T21:24:32",
    "end": "2023-08-12T04:27:56",
    "day": "2023-08-11",
    "date_label": "Aug 11-12 2023",
    "duration": "25404.0",
    "duration_label": "7 hours 3 min",
    "captures_count": 1006,
    "detections_count": 1,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=799&ordering=timestamp",
    "first_capture": {
        "id": 3976060,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3976060/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Ag0+/east_hendred/negative/2023_08_11/20230811212432-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-11T21:24:32",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "4:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "4:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1
                ],
                "y": [
                    "Noctua fimbriata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-20T13:55:34.151774",
    "updated_at": "2023-12-07T00:58:20.758595",
    "user_permissions": []
}