API endpoint that allows events to be viewed or edited.

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

{
    "id": 5089,
    "name": "Monday, Sep 26-27 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5089/?format=api",
    "deployment": {
        "id": 237,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/237/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-26T19:10:00",
    "end": "2022-09-27T03:49:59",
    "day": "2022-09-26",
    "date_label": "Sep 26-27 2022",
    "duration": "31199.0",
    "duration_label": "8 hours 39 min",
    "captures_count": 548,
    "detections_count": 15,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5089&ordering=timestamp",
    "first_capture": {
        "id": 17268202,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17268202/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/snapshots/2022_8_29-10_7_snapshots/20220926191000-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-26T19:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    1,
                    1,
                    2
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Exaeretia ciniflonella",
                    "Adela caeruleella",
                    "Archips rosana",
                    "Archips cerasivorana",
                    "Virbia opella",
                    "Plutella xylostella",
                    "Ennomos magnaria"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:36.528919",
    "updated_at": "2024-10-10T19:42:08.443982",
    "user_permissions": []
}