API endpoint that allows events to be viewed or edited.

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

{
    "id": 3173,
    "name": "Tuesday, Dec 12-14 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3173/?format=api",
    "deployment": {
        "id": 112,
        "name": "Panama - trap 5",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/112/?format=api",
        "user_permissions": []
    },
    "start": "2023-12-12T17:59:39",
    "end": "2023-12-14T05:13:00",
    "day": "2023-12-12",
    "date_label": "Dec 12-14 2023",
    "duration": "126801.0",
    "duration_label": "1 days 11 hours",
    "captures_count": 12671,
    "detections_count": 1730,
    "occurrences_count": 323,
    "stats": {
        "detections_max_count": 30,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3173&ordering=timestamp",
    "first_capture": {
        "id": 8284909,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8284909/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000021/snapshot_images/20231212175939-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T142449Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=81d5c9ca764c795d212444cd8d6d485914abdb5598a1a0d3c12178bb38e3d781",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-12-12T17:59:39",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 PM",
                    "2:00 PM",
                    "3:00 PM",
                    "4:00 PM",
                    "5:00 PM",
                    "6:00 PM",
                    "7:00 PM",
                    "8:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM",
                    "6:00 AM",
                    "7:00 AM",
                    "8:00 AM",
                    "9:00 AM",
                    "10:00 AM",
                    "11:00 AM",
                    "12:00 PM"
                ],
                "y": [
                    26,
                    15,
                    18,
                    15,
                    16,
                    7,
                    27,
                    23,
                    18,
                    18,
                    11,
                    32,
                    54,
                    60,
                    42,
                    14,
                    1,
                    3,
                    7,
                    8,
                    14,
                    15
                ],
                "ticktext": [
                    "1:00 PM:00",
                    "12:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    8,
                    9,
                    9,
                    10,
                    15,
                    16,
                    16,
                    44,
                    73,
                    85
                ],
                "y": [
                    "Lycomorphodes sordida",
                    "Dialithis gemmifera",
                    "Argyria nivalis",
                    "Pilocrocis ramentalis",
                    "Lobocleta ossularia",
                    "Elasmopalpus lignosella",
                    "Desmia bajulalis",
                    "Herpetogramma phaeopteralis",
                    "Ascalapha odorata",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:51:24.223204",
    "updated_at": "2024-09-20T07:04:12.555391",
    "user_permissions": []
}