API endpoint that allows events to be viewed or edited.

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

{
    "id": 55,
    "name": "Saturday, Jul 23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/55/?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-07-23T22:01:45",
    "end": "2022-07-23T23:56:43",
    "day": "2022-07-23",
    "date_label": "Jul 23 2022",
    "duration": "6898.0",
    "duration_label": "1 hours 54 min",
    "captures_count": 2842,
    "detections_count": 218,
    "occurrences_count": 207,
    "stats": {
        "detections_max_count": 38,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=55&ordering=timestamp",
    "first_capture": {
        "id": 340378,
        "details": "https://api.beluga.insectai.org/api/v2/captures/340378/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Jul 23/20220723220145-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-23T22:01:45",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    18,
                    134
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    3,
                    3,
                    3,
                    4,
                    5,
                    6,
                    7,
                    9,
                    17,
                    25
                ],
                "y": [
                    "Dioryctria abietivorella",
                    "Argyrotaenia velutinana",
                    "Moth",
                    "Leucoma salicis",
                    "Pasiphila rectangulata",
                    "Platynota flavedana",
                    "Choristoneura fumiferana",
                    "Pandemis limitata",
                    "Archips argyrospila",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T05:49:18.038844",
    "updated_at": "2024-11-13T15:49:23.744487",
    "user_permissions": []
}