API endpoint that allows events to be viewed or edited.

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

{
    "id": 3183,
    "name": "Tuesday, Nov 14-15 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3183/?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-14T18:01:00",
    "end": "2023-11-15T06:30:10",
    "day": "2023-11-14",
    "date_label": "Nov 14-15 2023",
    "duration": "44950.0",
    "duration_label": "12 hours 29 min",
    "captures_count": 4496,
    "detections_count": 1063,
    "occurrences_count": 259,
    "stats": {
        "detections_max_count": 31,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3183&ordering=timestamp",
    "first_capture": {
        "id": 8330269,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8330269/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000019/snapshot_images/20231114180100-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T042824Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=97d3e3fcd02a5f9054bc0258c9ca5fd0e6e458bb05f12e361603d496eb59ed1a",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-14T18:01:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "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",
                    "6:00 AM"
                ],
                "y": [
                    9,
                    12,
                    22,
                    48,
                    39,
                    54,
                    51,
                    35,
                    12,
                    37,
                    6,
                    2
                ],
                "ticktext": [
                    "7:00 PM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    9,
                    9,
                    9,
                    11,
                    15,
                    16,
                    17,
                    20,
                    27,
                    37
                ],
                "y": [
                    "Sosxetra grata",
                    "Cecrita biundata",
                    "Condylorrhiza vestigialis",
                    "Ascalapha odorata",
                    "Melese incertus",
                    "Eulepte concordalis",
                    "Herpetogramma phaeopteralis",
                    "Samea ecclesialis",
                    "Pilocrocis ramentalis",
                    "Plodia interpunctella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:51:51.517357",
    "updated_at": "2024-09-20T06:53:40.054890",
    "user_permissions": []
}