API endpoint that allows events to be viewed or edited.

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

{
    "id": 559,
    "name": "Wednesday, Jun 23-24 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/559/?format=api",
    "deployment": {
        "id": 16,
        "name": "UK - Wallingford",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/16/?format=api",
        "user_permissions": []
    },
    "start": "2021-06-23T21:31:21",
    "end": "2021-06-24T06:55:05",
    "day": "2021-06-23",
    "date_label": "Jun 23-24 2021",
    "duration": "33824.0",
    "duration_label": "9 hours 23 min",
    "captures_count": 4452,
    "detections_count": 7,
    "occurrences_count": 7,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=559&ordering=timestamp",
    "first_capture": {
        "id": 2004867,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2004867/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/06_JUNE/23_06_2021/20210623213121-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-06-23T21:31:21",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 AM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "6:00 AM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    2
                ],
                "y": [
                    "Virbia opella",
                    "Phyllonorycter harrisella",
                    "Phyllocnistis populiella",
                    "Idaea demissaria",
                    "Acleris semipurpurana",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-28T13:52:09.240181",
    "updated_at": "2024-02-18T17:03:17.783879",
    "user_permissions": []
}