API endpoint that allows events to be viewed or edited.

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

{
    "id": 4033,
    "name": "Friday, Apr 26-27 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4033/?format=api",
    "deployment": {
        "id": 122,
        "name": "Costa Rica - Pre-montane forest",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/122/?format=api",
        "user_permissions": []
    },
    "start": "2024-04-26T18:31:19",
    "end": "2024-04-27T04:00:49",
    "day": "2024-04-26",
    "date_label": "Apr 26-27 2024",
    "duration": "34170.0",
    "duration_label": "9 hours 29 min",
    "captures_count": 2730,
    "detections_count": 10,
    "occurrences_count": 10,
    "stats": {
        "detections_max_count": 10,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4033&ordering=timestamp",
    "first_capture": {
        "id": 11799035,
        "details": "https://api.beluga.insectai.org/api/v2/captures/11799035/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000038/snapshot_images/20240426183119-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T161718Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=b8cc9c44e4451a5c49c301fd8d6382cad0ef248f173ee5c6eaa48bb441664370",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-04-26T18:31:19",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    7
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Palpita flegia",
                    "Anticla antica",
                    "Phobetron hipparchia",
                    "Pyrausta signatalis",
                    "Pyrausta tyralis",
                    "Not Lepidoptera",
                    "Dichomeris ligulella",
                    "Desmia bajulalis",
                    "Moth"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-12T15:21:30.444510",
    "updated_at": "2024-09-12T15:21:30.682827",
    "user_permissions": []
}