API endpoint that allows events to be viewed or edited.

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

{
    "id": 556,
    "name": "Friday, Jun 11-12 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/556/?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-11T21:18:49",
    "end": "2021-06-12T06:51:01",
    "day": "2021-06-11",
    "date_label": "Jun 11-12 2021",
    "duration": "34332.0",
    "duration_label": "9 hours 32 min",
    "captures_count": 14556,
    "detections_count": 1,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=556&ordering=timestamp",
    "first_capture": {
        "id": 1964338,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1964338/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/06_JUNE/11_06_2021/20210611211849-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-06-11T21:18:49",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "6:00 AM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1
                ],
                "y": [
                    "Eupithecia pulchellata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-28T13:42:07.550329",
    "updated_at": "2024-02-18T17:03:15.914653",
    "user_permissions": []
}