API endpoint that allows events to be viewed or edited.

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

{
    "id": 520,
    "name": "Monday, Apr 12 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/520/?format=api",
    "deployment": {
        "id": 16,
        "name": "UK - Wallingford",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/16/?format=api",
        "user_permissions": []
    },
    "start": "2021-04-12T16:38:34",
    "end": "2021-04-12T17:54:46",
    "day": "2021-04-12",
    "date_label": "Apr 12 2021",
    "duration": "4572.0",
    "duration_label": "1 hours 16 min",
    "captures_count": 166,
    "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=520&ordering=timestamp",
    "first_capture": {
        "id": 1902731,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1902731/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/04_APRIL/12_04_2021/20210412163834-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-04-12T16:38:34",
        "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:35:16.855973",
    "updated_at": "2024-02-18T17:03:11.807911",
    "user_permissions": []
}