API endpoint that allows events to be viewed or edited.

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

{
    "id": 546,
    "name": "Tuesday, May 18-19 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/546/?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-18T21:25:12",
    "end": "2021-05-19T03:40:34",
    "day": "2021-05-18",
    "date_label": "May 18-19 2021",
    "duration": "22522.0",
    "duration_label": "6 hours 15 min",
    "captures_count": 553,
    "detections_count": 5,
    "occurrences_count": 5,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=546&ordering=timestamp",
    "first_capture": {
        "id": 1924103,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1924103/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Heartwood/MOTH/05_MAY/18_05_2021/20210518212512-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-05-18T21:25:12",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "3:00 AM"
                ],
                "y": [
                    2,
                    2
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    3
                ],
                "y": [
                    "Pterostoma palpina",
                    "Not Lepidoptera",
                    "Calliteara pudibunda"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-28T13:38:37.727060",
    "updated_at": "2023-12-07T01:03:54.415114",
    "user_permissions": []
}