API endpoint that allows events to be viewed or edited.

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

{
    "id": 31,
    "name": "Monday, Jan 23-24 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/31/?format=api",
    "deployment": {
        "id": 8,
        "name": "AMI System v1 Sample (Jan)",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/8/?format=api",
        "user_permissions": []
    },
    "start": "2023-01-23T18:20:00",
    "end": "2023-01-24T06:30:00",
    "day": "2023-01-23",
    "date_label": "Jan 23-24 2023",
    "duration": "43800.0",
    "duration_label": "12 hours 10 min",
    "captures_count": 74,
    "detections_count": 1179,
    "occurrences_count": 485,
    "stats": {
        "detections_max_count": 27,
        "detections_min_count": 1
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=31&ordering=timestamp",
    "first_capture": {
        "id": 45718,
        "details": "https://api.beluga.insectai.org/api/v2/captures/45718/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/panama/ami_snapshots/2023_01_23/20-20230123182000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-01-23T18:20:00",
        "detections_count": 0,
        "detections": [
            {
                "id": 578064,
                "details": "https://api.beluga.insectai.org/api/v2/detections/578064/?format=api",
                "url": null,
                "width": null,
                "height": null,
                "bbox": null,
                "occurrence": {
                    "id": 551661,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/551661/?format=api",
                    "determination": null,
                    "determination_score": null,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=578064",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "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": [
                    5,
                    30,
                    40,
                    34,
                    46,
                    56,
                    55,
                    60,
                    52,
                    33,
                    52,
                    22
                ],
                "ticktext": [
                    "7:00 PM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    13,
                    14,
                    19,
                    22,
                    23,
                    28,
                    28,
                    33,
                    37,
                    57
                ],
                "y": [
                    "Cecrita biundata",
                    "Spodoptera latifascia",
                    "Spilomela perspicata",
                    "Samea ecclesialis",
                    "Sphacelodes vulneraria",
                    "Plodia interpunctella",
                    "Morpheis pyracmon",
                    "Spodoptera dolichos",
                    "Herpetogramma phaeopteralis",
                    "Elasmopalpus lignosella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T04:54:54.673594",
    "updated_at": "2024-05-20T21:37:24.748909",
    "user_permissions": []
}