API endpoint that allows events to be viewed or edited.

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

{
    "id": 548,
    "name": "Wednesday, May 26 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/548/?format=api",
    "deployment": {
        "id": 17,
        "name": "UK - Heartwood",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/17/?format=api",
        "user_permissions": []
    },
    "start": "2021-05-26T22:30:27",
    "end": "2021-05-26T22:34:49",
    "day": "2021-05-26",
    "date_label": "May 26 2021",
    "duration": "262.0",
    "duration_label": "4 minutes",
    "captures_count": 24,
    "detections_count": 1,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=548&ordering=timestamp",
    "first_capture": {
        "id": 1926057,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1926057/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Heartwood/MOTH/05_MAY/26_05_2021/20210526223027-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-05-26T22:30:27",
        "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:44.787788",
    "updated_at": "2023-12-07T01:03:55.406032",
    "user_permissions": []
}