API endpoint that allows events to be viewed or edited.

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

{
    "id": 4962,
    "name": "Friday, Aug 26 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4962/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-26T20:32:31",
    "end": "2022-08-26T23:28:03",
    "day": "2022-08-26",
    "date_label": "Aug 26 2022",
    "duration": "10532.0",
    "duration_label": "2 hours 55 min",
    "captures_count": 2748,
    "detections_count": 318,
    "occurrences_count": 95,
    "stats": {
        "detections_max_count": 28,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4962&ordering=timestamp",
    "first_capture": {
        "id": 17242776,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17242776/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_08_26/20220826203231-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-26T20:32:31",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    35,
                    49,
                    47
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    3,
                    3,
                    3,
                    4,
                    6,
                    9,
                    14,
                    25,
                    32
                ],
                "y": [
                    "Clemensia albata",
                    "Pandemis limitata",
                    "Eusarca confusaria",
                    "Tortricidae",
                    "Hypena baltimoralis",
                    "Sparganothis sulfureana",
                    "Xanthotype urticaria",
                    "Scoparia biplagialis",
                    "Choristoneura rosaceana",
                    "Campaea perlata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:12.879733",
    "updated_at": "2024-10-10T19:42:02.908102",
    "user_permissions": []
}