API endpoint that allows events to be viewed or edited.

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

{
    "id": 3187,
    "name": "Tuesday, Dec 12-14 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3187/?format=api",
    "deployment": {
        "id": 110,
        "name": "Panama - trap 3",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/110/?format=api",
        "user_permissions": []
    },
    "start": "2023-12-12T18:00:30",
    "end": "2023-12-14T03:03:00",
    "day": "2023-12-12",
    "date_label": "Dec 12-14 2023",
    "duration": "118950.0",
    "duration_label": "1 days 9 hours",
    "captures_count": 11885,
    "detections_count": 919,
    "occurrences_count": 206,
    "stats": {
        "detections_max_count": 48,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3187&ordering=timestamp",
    "first_capture": {
        "id": 8350064,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8350064/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000019/snapshot_images/20231212180030-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T142456Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=282421825c0d3eababe06db49e024f9f39db5aabf37319ad6e43f510d31777bf",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-12-12T18:00:30",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    23,
                    40,
                    35,
                    27,
                    37,
                    63,
                    16,
                    11,
                    11
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    7,
                    7,
                    7,
                    8,
                    10,
                    11,
                    12,
                    15,
                    18,
                    48
                ],
                "y": [
                    "Eulepte concordalis",
                    "Hylesia dalina",
                    "Melipotis perpendicularis",
                    "Desmia bajulalis",
                    "Glaphyria invisalis",
                    "Urania fulgens",
                    "Cecrita biundata",
                    "Macaria abydata",
                    "Herpetogramma phaeopteralis",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:51:52.636841",
    "updated_at": "2024-09-20T06:53:41.438221",
    "user_permissions": []
}