API endpoint that allows events to be viewed or edited.

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

{
    "id": 2682,
    "name": "Monday, Sep 26-27 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/2682/?format=api",
    "deployment": {
        "id": 53,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-26T19:06:00",
    "end": "2022-09-27T00:16:12",
    "day": "2022-09-26",
    "date_label": "Sep 26-27 2022",
    "duration": "18612.0",
    "duration_label": "5 hours 10 min",
    "captures_count": 172,
    "detections_count": 15,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2682&ordering=timestamp",
    "first_capture": {
        "id": 5075140,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5075140/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_09_26_snapshots/20220926190600-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-26T19:06:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM"
                ],
                "y": [
                    1,
                    2
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    2
                ],
                "y": [
                    "Cydia pomonella",
                    "Varneria postremella",
                    "Caloptilia stigmatella",
                    "Synanthedon acerni",
                    "Plutella xylostella",
                    "Gymnandrosoma punctidiscanum",
                    "Eucopina tocullionana",
                    "Desmia funeralis",
                    "Papaipema inquaesita",
                    "Thyridopteryx ephemeraeformis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-01-24T17:49:22.353364",
    "updated_at": "2024-09-05T00:18:27.860323",
    "user_permissions": []
}