API endpoint that allows events to be viewed or edited.

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

{
    "id": 3192,
    "name": "Tuesday, Nov 28-29 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3192/?format=api",
    "deployment": {
        "id": 111,
        "name": "Panama - trap 4",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/111/?format=api",
        "user_permissions": []
    },
    "start": "2023-11-28T18:00:20",
    "end": "2023-11-29T05:00:00",
    "day": "2023-11-28",
    "date_label": "Nov 28-29 2023",
    "duration": "39580.0",
    "duration_label": "10 hours 59 min",
    "captures_count": 3959,
    "detections_count": 36,
    "occurrences_count": 8,
    "stats": {
        "detections_max_count": 8,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3192&ordering=timestamp",
    "first_capture": {
        "id": 8363360,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8363360/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000020/snapshot_images/20231128180020-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260413%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260413T034421Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1bdd18f07670b24c1e6b9e5684cec66c66ff561f359cbffddae439d125d1cb82",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-28T18:00:20",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    3,
                    2,
                    4,
                    2
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    4
                ],
                "y": [
                    "Feigeria magna",
                    "Cocytius antaeus",
                    "Elasmopalpus lignosella",
                    "Macaria abydata",
                    "Ephestia elutella",
                    "Spodoptera latifascia",
                    "Pachylia ficus",
                    "Nystalea aequipars",
                    "Plodia interpunctella",
                    "Parapoynx diminutalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:56:39.646622",
    "updated_at": "2024-09-20T06:59:08.407109",
    "user_permissions": []
}