API endpoint that allows events to be viewed or edited.

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

{
    "id": 2820,
    "name": "Saturday, Aug 5 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2820/?format=api",
    "deployment": {
        "id": 74,
        "name": "PFS_Moth_Wall",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/74/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-05T01:00:01",
    "end": "2023-08-05T05:45:02",
    "day": "2023-08-05",
    "date_label": "Aug 5 2023",
    "duration": "17101.0",
    "duration_label": "4 hours 45 min",
    "captures_count": 25,
    "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=2820&ordering=timestamp",
    "first_capture": {
        "id": 6238356,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6238356/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/MothWall/Project_20230805010001_4451.JPG",
        "width": 6080,
        "height": 3420,
        "timestamp": "2023-08-05T01:00:01",
        "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-03-18T10:41:42.619554",
    "updated_at": "2024-11-13T15:51:01.101297",
    "user_permissions": []
}