API endpoint that allows events to be viewed or edited.

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

{
    "id": 4685,
    "name": "Sunday, Aug 7-8 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4685/?format=api",
    "deployment": {
        "id": 239,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-07T00:09:59",
    "end": "2022-08-08T04:59:51",
    "day": "2022-08-07",
    "date_label": "Aug 7-8 2022",
    "duration": "103792.0",
    "duration_label": "1 days 4 hours",
    "captures_count": 11354,
    "detections_count": 2523,
    "occurrences_count": 580,
    "stats": {
        "detections_max_count": 39,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4685&ordering=timestamp",
    "first_capture": {
        "id": 16152971,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16152971/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Aug 7/01-20220807000959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-07T00:09:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    5,
                    61,
                    123,
                    186,
                    121,
                    146,
                    118
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    4,
                    4,
                    5,
                    5,
                    7,
                    12,
                    21,
                    224,
                    422
                ],
                "y": [
                    "Dyseriocrania griseocapitella",
                    "Archipini",
                    "Archips grisea",
                    "Choristoneura rosaceana",
                    "Archips packardiana",
                    "Acoloithus falsarius",
                    "Argyrotaenia velutinana",
                    "Cenopis pettitana",
                    "Acleris forsskaleana",
                    "Archips argyrospila"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:29.366016",
    "updated_at": "2024-10-10T19:40:43.556798",
    "user_permissions": []
}