API endpoint that allows events to be viewed or edited.

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

{
    "id": 4842,
    "name": "Friday, Aug 12-13 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4842/?format=api",
    "deployment": {
        "id": 238,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/238/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-12T20:11:00",
    "end": "2022-08-13T02:25:00",
    "day": "2022-08-12",
    "date_label": "Aug 12-13 2022",
    "duration": "22440.0",
    "duration_label": "6 hours 14 min",
    "captures_count": 787,
    "detections_count": 37,
    "occurrences_count": 22,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4842&ordering=timestamp",
    "first_capture": {
        "id": 17390812,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17390812/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_12_snapshots/20220812201100-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-12T20:11:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    1,
                    12,
                    1,
                    4,
                    4,
                    1,
                    2
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    4,
                    4,
                    9
                ],
                "y": [
                    "Spiris striata",
                    "Clemensia albata",
                    "Rivula propinqualis",
                    "Disclisioprocta stellata",
                    "Plutella xylostella",
                    "Scoparia biplagialis",
                    "Horisme intestinata",
                    "Renia adspergillus",
                    "Drepana arcuata",
                    "Hypoprepia fucosa"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:53.954128",
    "updated_at": "2024-10-10T19:40:21.282863",
    "user_permissions": []
}