API endpoint that allows events to be viewed or edited.

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

{
    "id": 5054,
    "name": "Saturday, Oct 22-23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5054/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-10-22T23:31:41",
    "end": "2022-10-23T05:23:25",
    "day": "2022-10-22",
    "date_label": "Oct 22-23 2022",
    "duration": "21104.0",
    "duration_label": "5 hours 51 min",
    "captures_count": 237,
    "detections_count": 7,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5054&ordering=timestamp",
    "first_capture": {
        "id": 17395531,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17395531/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_10_22/20221022233141-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-10-22T23:31:41",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
                ],
                "y": [
                    "Plutella xylostella",
                    "Epinotia lindana",
                    "Elasmopalpus lignosella",
                    "Coleophora mayrella",
                    "Coleophora deauratella",
                    "Chrysoteuchia topiarius",
                    "Arctia caja"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:31.684531",
    "updated_at": "2024-10-10T19:42:26.404584",
    "user_permissions": []
}