API endpoint that allows events to be viewed or edited.

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

{
    "id": 4776,
    "name": "Saturday, Aug 27-28 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4776/?format=api",
    "deployment": {
        "id": 239,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-27T22:17:17",
    "end": "2022-08-28T03:24:41",
    "day": "2022-08-27",
    "date_label": "Aug 27-28 2022",
    "duration": "18444.0",
    "duration_label": "5 hours 7 min",
    "captures_count": 1452,
    "detections_count": 10,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4776&ordering=timestamp",
    "first_capture": {
        "id": 16096426,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16096426/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Aug 27/20220827221717-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-27T22:17:17",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
                ],
                "y": [
                    "Tolype laricis",
                    "Olethreutes schulziana",
                    "Gymnandrosoma punctidiscanum",
                    "Eucosma ochrocephala",
                    "Endothenia hebesana",
                    "Cydia pomonella",
                    "Chionodes mediofuscella",
                    "Chionodes bicostomaculella",
                    "Archips alberta",
                    "Acoloithus falsarius"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:40.912117",
    "updated_at": "2024-10-10T19:41:06.554770",
    "user_permissions": []
}