API endpoint that allows events to be viewed or edited.

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

{
    "id": 752,
    "name": "Tuesday, Jun 7-8 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/752/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-07T19:25:27",
    "end": "2022-06-08T05:00:36",
    "day": "2022-06-07",
    "date_label": "Jun 7-8 2022",
    "duration": "34509.0",
    "duration_label": "9 hours 35 min",
    "captures_count": 11929,
    "detections_count": 233,
    "occurrences_count": 33,
    "stats": {
        "detections_max_count": 32,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=752&ordering=timestamp",
    "first_capture": {
        "id": 3289059,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3289059/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_06_07/20220607192527-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-07T19:25:27",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    4,
                    4,
                    5,
                    18,
                    9,
                    6
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    2,
                    2,
                    3,
                    3,
                    3,
                    3,
                    3,
                    4,
                    4
                ],
                "y": [
                    "Eufidonia notataria",
                    "Campaea perlata",
                    "Gluphisia septentrionis",
                    "Eucopina tocullionana",
                    "Macaria signaria",
                    "Probole amicaria",
                    "Adela caeruleella",
                    "Clepsis persicana",
                    "Lobophora nivigerata",
                    "Palpita magniferalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-06T20:52:01.206137",
    "updated_at": "2023-12-07T01:06:29.781548",
    "user_permissions": []
}