API endpoint that allows events to be viewed or edited.

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

{
    "id": 113,
    "name": "Sunday, Aug 14 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/113/?format=api",
    "deployment": {
        "id": 11,
        "name": "Newfoundland - Unit 1-Pasadena",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/11/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-14T22:06:08",
    "end": "2022-08-14T23:21:09",
    "day": "2022-08-14",
    "date_label": "Aug 14 2022",
    "duration": "4501.0",
    "duration_label": "1 hours 15 min",
    "captures_count": 496,
    "detections_count": 32,
    "occurrences_count": 22,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=113&ordering=timestamp",
    "first_capture": {
        "id": 655524,
        "details": "https://api.beluga.insectai.org/api/v2/captures/655524/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-1/2022_08_14/20220814220608-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-14T22:06:08",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    4,
                    18
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    2,
                    2,
                    4
                ],
                "y": [
                    "Argyrotaenia juglandana",
                    "Adela caeruleella",
                    "Virbia laeta",
                    "Monopis crocicapitella",
                    "Eudonia strigalis",
                    "Mathildana newmanella",
                    "Agriphila vulgivagellus",
                    "Dysstroma citrata",
                    "Archips rosana",
                    "Archips argyrospila"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T06:23:28.798397",
    "updated_at": "2024-11-13T15:47:00.752335",
    "user_permissions": []
}