API endpoint that allows events to be viewed or edited.

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

{
    "id": 661,
    "name": "Saturday, Jun 19-20 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/661/?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-19T21:10:37",
    "end": "2021-06-20T02:42:57",
    "day": "2021-06-19",
    "date_label": "Jun 19-20 2021",
    "duration": "19940.0",
    "duration_label": "5 hours 32 min",
    "captures_count": 6098,
    "detections_count": 9,
    "occurrences_count": 9,
    "stats": {
        "detections_max_count": 9,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=661&ordering=timestamp",
    "first_capture": {
        "id": 2675204,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2675204/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Heartwood/MOTH/06_JUNE/19_06_2021/20210619211037-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-06-19T21:10:37",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "2:00 AM"
                ],
                "y": [
                    3
                ],
                "ticktext": [
                    "2:00 AM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Mompha epilobiella",
                    "Crambus nemorella",
                    "Ypsolophus ustella",
                    "Acleris cristana",
                    "Ypsolopha mucronella",
                    "Platyedra subcinerea",
                    "Not Lepidoptera",
                    "Chrysoteuchia culmella",
                    "Choristoneura hebenstreitella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-05T01:16:01.954169",
    "updated_at": "2023-12-07T01:04:14.368385",
    "user_permissions": []
}