API endpoint that allows events to be viewed or edited.

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

{
    "id": 4382,
    "name": "Thursday, Jul 18-19 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4382/?format=api",
    "deployment": {
        "id": 212,
        "name": "LEPS-022_Box1",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/212/?format=api",
        "user_permissions": []
    },
    "start": "2024-07-18T10:35:10",
    "end": "2024-07-19T03:30:59",
    "day": "2024-07-18",
    "date_label": "Jul 18-19 2024",
    "duration": "60949.0",
    "duration_label": "16 hours 55 min",
    "captures_count": 2563,
    "detections_count": 145,
    "occurrences_count": 29,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4382&ordering=timestamp",
    "first_capture": {
        "id": 14104790,
        "details": "https://api.beluga.insectai.org/api/v2/captures/14104790/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/LEPS-022_Box1/Box1_20240718103510-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T234953Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=3c4c6c6b6c80f11af1ea48ec0aa053687dfc4396c9ff975e7254c966ed1de278",
        "width": 1920,
        "height": 1080,
        "timestamp": "2024-07-18T10:35:10",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    5,
                    16,
                    9
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2,
                    6,
                    7,
                    12
                ],
                "y": [
                    "Aethes seriatana",
                    "Borkhausenia nefrax",
                    "Caloptilia stigmatella",
                    "Dichomeris punctipennella",
                    "Dichomeris ligulella",
                    "Lymire edwardsii",
                    "Idia diminuendis",
                    "Hypoprepia fucosa",
                    "Idia rotundalis",
                    "Cyclophora pendulinaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-14T18:28:56.066565",
    "updated_at": "2024-09-14T18:35:22.459506",
    "user_permissions": []
}