API endpoint that allows events to be viewed or edited.

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

{
    "id": 4523,
    "name": "Wednesday, Jun 5-6 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4523/?format=api",
    "deployment": {
        "id": 144,
        "name": "SBWR",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/144/?format=api",
        "user_permissions": []
    },
    "start": "2024-06-05T19:00:10",
    "end": "2024-06-06T04:00:00",
    "day": "2024-06-05",
    "date_label": "Jun 5-6 2024",
    "duration": "32390.0",
    "duration_label": "8 hours 59 min",
    "captures_count": 3240,
    "detections_count": 2,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4523&ordering=timestamp",
    "first_capture": {
        "id": 14377024,
        "details": "https://api.beluga.insectai.org/api/v2/captures/14377024/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000052/snapshot_images/01-20240605190010-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260413%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260413T022931Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1de55651615287d6636275ae672ebe6f8e957f904cbb28419dbc8d7ee959f98a",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-06-05T19:00:10",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0
                ],
                "y": [
                    "Urania leilus",
                    "Catocala antinympha"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-20T06:11:30.475668",
    "updated_at": "2024-09-20T06:35:45.576093",
    "user_permissions": []
}