API endpoint that allows events to be viewed or edited.

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

{
    "id": 67,
    "name": "Saturday, Aug 13-14 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/67/?format=api",
    "deployment": {
        "id": 12,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-13T22:06:05",
    "end": "2022-08-14T00:39:19",
    "day": "2022-08-13",
    "date_label": "Aug 13-14 2022",
    "duration": "9194.0",
    "duration_label": "2 hours 33 min",
    "captures_count": 1716,
    "detections_count": 134,
    "occurrences_count": 110,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=67&ordering=timestamp",
    "first_capture": {
        "id": 87725,
        "details": "https://api.beluga.insectai.org/api/v2/captures/87725/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Aug 13/20220813220605-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-13T22:06:05",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    15,
                    43,
                    52
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    2,
                    2,
                    3,
                    5,
                    5,
                    19,
                    31
                ],
                "y": [
                    "Endothenia hebesana",
                    "Choristoneura pinus",
                    "Choristoneura fumiferana",
                    "Cnephasia stephensiana",
                    "Archips grisea",
                    "Choristoneura rosaceana",
                    "Platynota flavedana",
                    "Moth",
                    "Cenopis pettitana",
                    "Archips argyrospila"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T05:49:31.807170",
    "updated_at": "2024-11-13T15:49:31.048034",
    "user_permissions": []
}