API endpoint that allows events to be viewed or edited.

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

{
    "id": 554,
    "name": "Monday, Jun 7-8 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/554/?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-07T21:31:52",
    "end": "2021-06-08T06:52:20",
    "day": "2021-06-07",
    "date_label": "Jun 7-8 2021",
    "duration": "33628.0",
    "duration_label": "9 hours 20 min",
    "captures_count": 10958,
    "detections_count": 5,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=554&ordering=timestamp",
    "first_capture": {
        "id": 1938380,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1938380/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/06_JUNE/07_06_2021/20210607213152-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-06-07T21:31:52",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    1,
                    1
                ],
                "y": [
                    "Syssphinx bicolor",
                    "Pelochrista similiana",
                    "Tyria jacobaeae",
                    "Dichomeris ligulella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-28T13:39:35.828956",
    "updated_at": "2024-02-18T17:03:14.955764",
    "user_permissions": []
}