API endpoint that allows events to be viewed or edited.

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

{
    "id": 155,
    "name": "Saturday, May 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/155/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-21T20:50:05",
    "end": "2022-05-22T02:42:52",
    "day": "2022-05-21",
    "date_label": "May 21-22 2022",
    "duration": "21167.0",
    "duration_label": "5 hours 52 min",
    "captures_count": 5338,
    "detections_count": 54,
    "occurrences_count": 26,
    "stats": {
        "detections_max_count": 20,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=155&ordering=timestamp",
    "first_capture": {
        "id": 710769,
        "details": "https://api.beluga.insectai.org/api/v2/captures/710769/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_21/20220521205005-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-21T20:50:05",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    5,
                    21
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    2,
                    24
                ],
                "y": [
                    "Operophtera bruceata",
                    "Olethreutes quadrifidum",
                    "Mathildana newmanella",
                    "Emmelina monodactyla",
                    "Coleophora mayrella",
                    "Arctia caja",
                    "Alucita montana",
                    "Alsophila pometaria",
                    "Synanthedon pictipes",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:12:39.716771",
    "updated_at": "2024-07-23T18:55:30.946905",
    "user_permissions": []
}