API endpoint that allows events to be viewed or edited.

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

{
    "id": 536,
    "name": "Wednesday, May 26-27 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/536/?format=api",
    "deployment": {
        "id": 16,
        "name": "UK - Wallingford",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/16/?format=api",
        "user_permissions": []
    },
    "start": "2021-05-26T21:08:44",
    "end": "2021-05-27T06:30:50",
    "day": "2021-05-26",
    "date_label": "May 26-27 2021",
    "duration": "33726.0",
    "duration_label": "9 hours 22 min",
    "captures_count": 4030,
    "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=536&ordering=timestamp",
    "first_capture": {
        "id": 1912282,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1912282/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/05_MAY/26_05_2021/20210526210844-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-05-26T21:08:44",
        "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:36:23.365305",
    "updated_at": "2024-02-18T17:03:13.327453",
    "user_permissions": []
}