API endpoint that allows events to be viewed or edited.

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

{
    "id": 540,
    "name": "Saturday, Apr 24 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/540/?format=api",
    "deployment": {
        "id": 17,
        "name": "UK - Heartwood",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/17/?format=api",
        "user_permissions": []
    },
    "start": "2021-04-24T21:03:29",
    "end": "2021-04-24T21:03:33",
    "day": "2021-04-24",
    "date_label": "Apr 24 2021",
    "duration": "4.0",
    "duration_label": "0 minutes",
    "captures_count": 3,
    "detections_count": 0,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 0,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=540&ordering=timestamp",
    "first_capture": {
        "id": 1923785,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1923785/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Heartwood/MOTH/04_APRIL/24_04_2021/20210424210329-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-04-24T21:03:29",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [],
                "y": []
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-28T13:38:36.865702",
    "updated_at": "2023-12-07T01:03:45.600593",
    "user_permissions": []
}