API endpoint that allows events to be viewed or edited.

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

{
    "id": 544,
    "name": "Monday, May 3 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/544/?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-03T02:25:09",
    "end": "2021-05-03T05:04:29",
    "day": "2021-05-03",
    "date_label": "May 3 2021",
    "duration": "9560.0",
    "duration_label": "2 hours 39 min",
    "captures_count": 284,
    "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=544&ordering=timestamp",
    "first_capture": {
        "id": 1923804,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1923804/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Heartwood/MOTH/05_MAY/02_05_2021/20210503022509-00-07.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-05-03T02:25:09",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "5:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "5:00 AM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1
                ],
                "y": [
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-28T13:38:36.972368",
    "updated_at": "2023-12-07T01:03:50.034667",
    "user_permissions": []
}