API endpoint that allows events to be viewed or edited.

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

{
    "id": 3165,
    "name": "Friday, Nov 10-11 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3165/?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-11-10T18:01:09",
    "end": "2023-11-11T05:30:01",
    "day": "2023-11-10",
    "date_label": "Nov 10-11 2023",
    "duration": "41332.0",
    "duration_label": "11 hours 28 min",
    "captures_count": 23362,
    "detections_count": 2150,
    "occurrences_count": 293,
    "stats": {
        "detections_max_count": 54,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3165&ordering=timestamp",
    "first_capture": {
        "id": 8217437,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8217437/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000021/snapshot_images/20231110180109-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T124752Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=3bab3acd036a6e4425056debd011e60cf1569ad33dae2c499ec0e28b6d630f02",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-10T18:01:09",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 PM",
                    "7:00 PM",
                    "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",
                    "5:00 AM"
                ],
                "y": [
                    1,
                    28,
                    36,
                    42,
                    50,
                    49,
                    56,
                    29,
                    56,
                    45,
                    34,
                    14
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    16,
                    18,
                    18,
                    19,
                    20,
                    23,
                    24,
                    26,
                    51,
                    72
                ],
                "y": [
                    "Pilocrocis ramentalis",
                    "Sosxetra grata",
                    "Cosmosoma auge",
                    "Samea ecclesialis",
                    "Agrius cingulata",
                    "Ascalapha odorata",
                    "Lobocleta ossularia",
                    "Herpetogramma phaeopteralis",
                    "Dinia mena",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:51:21.326665",
    "updated_at": "2024-09-20T07:04:09.973296",
    "user_permissions": []
}