API endpoint that allows events to be viewed or edited.

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

{
    "id": 551,
    "name": "Thursday, Jun 3-4 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/551/?format=api",
    "deployment": {
        "id": 17,
        "name": "UK - Heartwood",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/17/?format=api",
        "user_permissions": []
    },
    "start": "2021-06-03T21:23:49",
    "end": "2021-06-04T05:15:59",
    "day": "2021-06-03",
    "date_label": "Jun 3-4 2021",
    "duration": "28330.0",
    "duration_label": "7 hours 52 min",
    "captures_count": 4645,
    "detections_count": 2,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=551&ordering=timestamp",
    "first_capture": {
        "id": 1926422,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1926422/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Heartwood/MOTH/06_JUNE/03_06_2021/20210603212349-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-06-03T21:23:49",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0
                ],
                "y": [
                    "Mathildana newmanella",
                    "Hybroma servulella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-28T13:38:46.756000",
    "updated_at": "2023-12-07T01:03:56.940401",
    "user_permissions": []
}