API endpoint that allows events to be viewed or edited.

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

{
    "id": 3182,
    "name": "Monday, Nov 13-14 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3182/?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-11-13T18:00:59",
    "end": "2023-11-14T06:30:19",
    "day": "2023-11-13",
    "date_label": "Nov 13-14 2023",
    "duration": "44960.0",
    "duration_label": "12 hours 29 min",
    "captures_count": 4497,
    "detections_count": 292,
    "occurrences_count": 74,
    "stats": {
        "detections_max_count": 32,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3182&ordering=timestamp",
    "first_capture": {
        "id": 8321772,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8321772/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000019/snapshot_images/20231113180059-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T020732Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=765c8805519587e42b3beb0a0019b10909f48f5a58d1057090e1a4464d2b21f5",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-13T18:00:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM",
                    "6:00 AM"
                ],
                "y": [
                    11,
                    8,
                    10,
                    10,
                    17,
                    27,
                    11
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    3,
                    3,
                    3,
                    4,
                    6,
                    6,
                    7,
                    9,
                    11,
                    15
                ],
                "y": [
                    "Samea ecclesialis",
                    "Spodoptera dolichos",
                    "Pilocrocis ramentalis",
                    "Perigramma vicina",
                    "Syngamia florella",
                    "Cecrita biundata",
                    "Agrius cingulata",
                    "Plodia interpunctella",
                    "Ascalapha odorata",
                    "Herpetogramma phaeopteralis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:51:51.265629",
    "updated_at": "2024-09-20T06:53:39.754282",
    "user_permissions": []
}