API endpoint that allows events to be viewed or edited.

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

{
    "id": 224,
    "name": "Saturday, Jul 30 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/224/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-30T20:36:10",
    "end": "2022-07-30T22:02:20",
    "day": "2022-07-30",
    "date_label": "Jul 30 2022",
    "duration": "5170.0",
    "duration_label": "1 hours 26 min",
    "captures_count": 579,
    "detections_count": 5,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=224&ordering=timestamp",
    "first_capture": {
        "id": 874831,
        "details": "https://api.beluga.insectai.org/api/v2/captures/874831/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_30/20220730203610-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-30T20:36:10",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    1,
                    1
                ],
                "y": [
                    "Synanthedon scitula",
                    "Coleophora mayrella",
                    "Microcrambus elegans",
                    "Idia americalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:13:02.569023",
    "updated_at": "2024-07-23T18:55:45.039284",
    "user_permissions": []
}