API endpoint that allows events to be viewed or edited.

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

{
    "id": 2721,
    "name": "Friday, Jun 2-3 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2721/?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-02T22:04:53",
    "end": "2023-06-03T03:59:59",
    "day": "2023-06-02",
    "date_label": "Jun 2-3 2023",
    "duration": "21306.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=2721&ordering=timestamp",
    "first_capture": {
        "id": 5623961,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5623961/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/01-20230602220453-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-06-02T22:04:53",
        "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.212414",
    "updated_at": "2024-11-13T15:49:36.585799",
    "user_permissions": []
}