API endpoint that allows events to be viewed or edited.

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

{
    "id": 4035,
    "name": "Wednesday, May 1-2 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4035/?format=api",
    "deployment": {
        "id": 122,
        "name": "Costa Rica - Pre-montane forest",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/122/?format=api",
        "user_permissions": []
    },
    "start": "2024-05-01T18:32:00",
    "end": "2024-05-02T04:00:59",
    "day": "2024-05-01",
    "date_label": "May 1-2 2024",
    "duration": "34139.0",
    "duration_label": "9 hours 28 min",
    "captures_count": 2387,
    "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=4035&ordering=timestamp",
    "first_capture": {
        "id": 11819438,
        "details": "https://api.beluga.insectai.org/api/v2/captures/11819438/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000038/snapshot_images/20240501183200-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T161715Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e2df7a526f7ded0e03b89130c9977aa325630205bf79c4e9e1f2059e16404fb4",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-05-01T18:32: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-09-12T15:21:30.944565",
    "updated_at": "2024-09-12T15:21:31.189865",
    "user_permissions": []
}