API endpoint that allows events to be viewed or edited.

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

{
    "id": 4816,
    "name": "Saturday, Jul 2-3 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4816/?format=api",
    "deployment": {
        "id": 237,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/237/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-02T20:09:59",
    "end": "2022-07-03T03:59:59",
    "day": "2022-07-02",
    "date_label": "Jul 2-3 2022",
    "duration": "28200.0",
    "duration_label": "7 hours 50 min",
    "captures_count": 6503,
    "detections_count": 335,
    "occurrences_count": 47,
    "stats": {
        "detections_max_count": 13,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4816&ordering=timestamp",
    "first_capture": {
        "id": 17232545,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17232545/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/snapshots/2022_06-07_27-13_snapshots/20220702200959-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-02T20:09:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    2,
                    4,
                    20,
                    24,
                    11,
                    5,
                    8
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    3,
                    3,
                    3,
                    4,
                    4,
                    4,
                    5,
                    5,
                    9,
                    12
                ],
                "y": [
                    "Gymnandrosoma punctidiscanum",
                    "Nematocampa resistaria",
                    "Hypagyrtis piniata",
                    "Not Lepidoptera",
                    "Cnephasia stephensiana",
                    "Chrysoteuchia topiarius",
                    "Crambus agitatellus",
                    "Choristoneura rosaceana",
                    "Disclisioprocta stellata",
                    "Hydrelia inornata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:48.077105",
    "updated_at": "2024-10-10T19:40:49.432550",
    "user_permissions": []
}