API endpoint that allows events to be viewed or edited.

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

{
    "id": 2688,
    "name": "Saturday, Sep 17 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/2688/?format=api",
    "deployment": {
        "id": 53,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-17T19:07:59",
    "end": "2022-09-17T22:58:59",
    "day": "2022-09-17",
    "date_label": "Sep 17 2022",
    "duration": "13860.0",
    "duration_label": "3 hours 51 min",
    "captures_count": 22,
    "detections_count": 0,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 0,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2688&ordering=timestamp",
    "first_capture": {
        "id": 5075047,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5075047/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_09_17_snapshots/20220917190759-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-17T19:07:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [],
                "y": []
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-01-24T17:54:16.427393",
    "updated_at": "2024-09-05T00:18:27.315701",
    "user_permissions": []
}