API endpoint that allows events to be viewed or edited.

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

{
    "id": 2716,
    "name": "Wednesday, May 24-25 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2716/?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-05-24T22:10:00",
    "end": "2023-05-25T04:00:00",
    "day": "2023-05-24",
    "date_label": "May 24-25 2023",
    "duration": "21000.0",
    "duration_label": "5 hours 50 min",
    "captures_count": 36,
    "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=2716&ordering=timestamp",
    "first_capture": {
        "id": 5623848,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5623848/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/01-20230524221000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-05-24T22:10: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:20.945474",
    "updated_at": "2024-11-13T15:49:36.216145",
    "user_permissions": []
}