API endpoint that allows events to be viewed or edited.

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

{
    "id": 768,
    "name": "Thursday, Jul 7-8 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/768/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-07T21:02:42",
    "end": "2022-07-08T02:39:02",
    "day": "2022-07-07",
    "date_label": "Jul 7-8 2022",
    "duration": "20180.0",
    "duration_label": "5 hours 36 min",
    "captures_count": 5963,
    "detections_count": 15,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=768&ordering=timestamp",
    "first_capture": {
        "id": 3620071,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3620071/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_07_07/20220707210242-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-07T21:02:42",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    1,
                    3
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Microcrambus elegans",
                    "Macrochilo absorptalis",
                    "Macaria aemulataria",
                    "Thyridopteryx ephemeraeformis",
                    "Acoloithus falsarius",
                    "Platynota idaeusalis",
                    "Nematocampa resistaria",
                    "Hydrelia inornata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-06T22:27:01.388091",
    "updated_at": "2023-12-07T01:08:35.375721",
    "user_permissions": []
}