API endpoint that allows events to be viewed or edited.

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

{
    "id": 4603,
    "name": "Wednesday, May 18-19 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4603/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-18T21:21:35",
    "end": "2022-05-19T01:00:31",
    "day": "2022-05-18",
    "date_label": "May 18-19 2022",
    "duration": "13136.0",
    "duration_label": "3 hours 38 min",
    "captures_count": 456,
    "detections_count": 6,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4603&ordering=timestamp",
    "first_capture": {
        "id": 15875258,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15875258/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_18/20220518212135-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-18T21:21:35",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    3,
                    1
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    4
                ],
                "y": [
                    "Striacosta albicosta",
                    "Choristoneura fumiferana",
                    "Cladara limitaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:20.442111",
    "updated_at": "2024-10-10T19:40:33.584531",
    "user_permissions": []
}