API endpoint that allows events to be viewed or edited.

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

{
    "id": 239,
    "name": "Sunday, Aug 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/239/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-21T20:51:07",
    "end": "2022-08-22T00:55:00",
    "day": "2022-08-21",
    "date_label": "Aug 21-22 2022",
    "duration": "14633.0",
    "duration_label": "4 hours 3 min",
    "captures_count": 3985,
    "detections_count": 27,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 27,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=239&ordering=timestamp",
    "first_capture": {
        "id": 920350,
        "details": "https://api.beluga.insectai.org/api/v2/captures/920350/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_08_21/20220821205107-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-21T20:51:07",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM"
                ],
                "y": [
                    4
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Aglossa cuprina",
                    "Clemensia albata",
                    "Coleophora mayrella",
                    "Coloradia pandora",
                    "Archips argyrospila",
                    "Choristoneura pinus",
                    "Pandemis lamprosana",
                    "Catocala cerogama",
                    "Choristoneura rosaceana",
                    "Campaea perlata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:13:10.520957",
    "updated_at": "2024-07-23T18:55:48.960439",
    "user_permissions": []
}