API endpoint that allows events to be viewed or edited.

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

{
    "id": 3174,
    "name": "Monday, Feb 12 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/3174/?format=api",
    "deployment": {
        "id": 112,
        "name": "Panama - trap 5",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/112/?format=api",
        "user_permissions": []
    },
    "start": "2024-02-12T09:54:40",
    "end": "2024-02-12T22:09:00",
    "day": "2024-02-12",
    "date_label": "Feb 12 2024",
    "duration": "44060.0",
    "duration_label": "12 hours 14 min",
    "captures_count": 4325,
    "detections_count": 48,
    "occurrences_count": 7,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3174&ordering=timestamp",
    "first_capture": {
        "id": 8322922,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8322922/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000021/snapshot_images/20240212095440-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T160651Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f8ddbd8a79dea39051adb1445bb0f16aa14e402569e86e52c0122e4b113fe655",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-02-12T09:54:40",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 PM",
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM"
                ],
                "y": [
                    1,
                    1,
                    6,
                    2
                ],
                "ticktext": [
                    "3:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2
                ],
                "y": [
                    "Artace cribrarius",
                    "Cosmosoma auge",
                    "Elasmopalpus lignosella",
                    "Ascalapha odorata",
                    "Parapoynx diminutalis",
                    "Dinia mena",
                    "Herpetogramma phaeopteralis",
                    "Athyrma adjutrix",
                    "Lobocleta ossularia",
                    "Cecrita biundata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:51:24.879459",
    "updated_at": "2024-09-20T07:04:12.839160",
    "user_permissions": []
}