API endpoint that allows events to be viewed or edited.

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

{
    "id": 3176,
    "name": "Tuesday, Nov 28-29 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3176/?format=api",
    "deployment": {
        "id": 108,
        "name": "Panama - trap 1",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/108/?format=api",
        "user_permissions": []
    },
    "start": "2023-11-28T17:59:49",
    "end": "2023-11-29T04:59:59",
    "day": "2023-11-28",
    "date_label": "Nov 28-29 2023",
    "duration": "39610.0",
    "duration_label": "11 hours 0 min",
    "captures_count": 3962,
    "detections_count": 249,
    "occurrences_count": 52,
    "stats": {
        "detections_max_count": 20,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3176&ordering=timestamp",
    "first_capture": {
        "id": 8242230,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8242230/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000017/snapshot_images/20231128175949-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T093712Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=731727255760a595618bba2ccb55f5763f2b686bed4931245d8cac7cfa141a78",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-28T17:59:49",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 PM",
                    "7:00 PM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    4,
                    11,
                    11,
                    7,
                    12,
                    16
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    3,
                    3,
                    4,
                    5,
                    5,
                    6,
                    7
                ],
                "y": [
                    "Gaudeator paidicus",
                    "Pilocrocis ramentalis",
                    "Macaria abydata",
                    "Herpetogramma phaeopteralis",
                    "Cecrita biundata",
                    "Ascalapha odorata",
                    "Acrolophus panamae",
                    "Omiodes humeralis",
                    "Syngamia florella",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:51:38.020142",
    "updated_at": "2024-09-20T06:43:49.611460",
    "user_permissions": []
}