API endpoint that allows events to be viewed or edited.

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

{
    "id": 2731,
    "name": "Monday, Jun 19-20 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2731/?format=api",
    "deployment": {
        "id": 12,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api",
        "user_permissions": []
    },
    "start": "2023-06-19T22:05:00",
    "end": "2023-06-20T04:00:00",
    "day": "2023-06-19",
    "date_label": "Jun 19-20 2023",
    "duration": "21300.0",
    "duration_label": "5 hours 55 min",
    "captures_count": 37,
    "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=2731&ordering=timestamp",
    "first_capture": {
        "id": 5624087,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5624087/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/01-20230619220500-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-06-19T22:05:00",
        "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-02-20T15:25:21.798693",
    "updated_at": "2024-11-13T15:49:37.559149",
    "user_permissions": []
}