API endpoint that allows events to be viewed or edited.

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

{
    "id": 776,
    "name": "Sunday, Jul 24 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/776/?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-24T20:32:54",
    "end": "2022-07-24T22:17:21",
    "day": "2022-07-24",
    "date_label": "Jul 24 2022",
    "duration": "6267.0",
    "duration_label": "1 hours 44 min",
    "captures_count": 1759,
    "detections_count": 23,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 9,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=776&ordering=timestamp",
    "first_capture": {
        "id": 3695070,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3695070/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_07_24/20220724203254-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-24T20:32:54",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM"
                ],
                "y": [
                    3,
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Pyla fusca",
                    "Psychomorpha epimenis",
                    "Meganola spodia",
                    "Hypoprepia miniata",
                    "Hyperstrotia pervertens",
                    "Gymnandrosoma punctidiscanum",
                    "Epiblema otiosana",
                    "Olethreutes nigranum",
                    "Catocala ilia",
                    "Pyrausta orphisalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-06T23:13:57.012517",
    "updated_at": "2023-12-07T01:09:19.371705",
    "user_permissions": []
}