API endpoint that allows events to be viewed or edited.

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

{
    "id": 270,
    "name": "Wednesday, Sep 21 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/270/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-21T20:35:13",
    "end": "2022-09-21T22:38:08",
    "day": "2022-09-21",
    "date_label": "Sep 21 2022",
    "duration": "7375.0",
    "duration_label": "2 hours 2 min",
    "captures_count": 360,
    "detections_count": 4,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=270&ordering=timestamp",
    "first_capture": {
        "id": 985227,
        "details": "https://api.beluga.insectai.org/api/v2/captures/985227/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_21/20220921203513-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-21T20:35:13",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Petrophila canadensis",
                    "Idaea straminata",
                    "Agonopterix robiniella",
                    "Idia aemula"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:13:24.178905",
    "updated_at": "2024-07-23T18:55:54.532333",
    "user_permissions": []
}