API endpoint that allows events to be viewed or edited.

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

{
    "id": 354,
    "name": "Wednesday, Aug 24-25 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/354/?format=api",
    "deployment": {
        "id": 14,
        "name": "Insectarium",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/14/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-24T20:33:55",
    "end": "2022-08-25T06:30:15",
    "day": "2022-08-24",
    "date_label": "Aug 24-25 2022",
    "duration": "35780.0",
    "duration_label": "9 hours 56 min",
    "captures_count": 16302,
    "detections_count": 30,
    "occurrences_count": 26,
    "stats": {
        "detections_max_count": 21,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=354&ordering=timestamp",
    "first_capture": {
        "id": 1289147,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1289147/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/2022_08_24/20220824203355-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-24T20:33:55",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "4:00 AM"
                ],
                "y": [
                    18,
                    8
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    26
                ],
                "y": [
                    "Varneria postremella",
                    "Tortricidia testacea",
                    "Galleria mellonella",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:22:49.072997",
    "updated_at": "2024-08-09T20:10:41.875667",
    "user_permissions": []
}