API endpoint that allows events to be viewed or edited.

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

{
    "id": 4189,
    "name": "Wednesday, Apr 10-11 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4189/?format=api",
    "deployment": {
        "id": 120,
        "name": "Costa Rica - Garden",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/120/?format=api",
        "user_permissions": []
    },
    "start": "2024-04-10T18:28:49",
    "end": "2024-04-11T03:59:00",
    "day": "2024-04-10",
    "date_label": "Apr 10-11 2024",
    "duration": "34211.0",
    "duration_label": "9 hours 30 min",
    "captures_count": 3422,
    "detections_count": 17,
    "occurrences_count": 17,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4189&ordering=timestamp",
    "first_capture": {
        "id": 11805681,
        "details": "https://api.beluga.insectai.org/api/v2/captures/11805681/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240410182849-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=b3a3bc96625cb734175076fc3f37f585a4815ef87a071088ea54f0997145b76a",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-04-10T18:28:49",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM"
                ],
                "y": [
                    6
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "9:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    4
                ],
                "y": [
                    "Automeris io",
                    "Prolimacodes badia",
                    "Pareuchaetes insulata",
                    "Megalopyge opercularis",
                    "Lophosis labeculata",
                    "Gerra sevorsa",
                    "Dryocampa rubicunda",
                    "Metoeca foedalis",
                    "Erastria decrepitaria",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-12T15:26:34.661164",
    "updated_at": "2024-09-12T15:26:34.959495",
    "user_permissions": []
}