API endpoint that allows events to be viewed or edited.

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

{
    "id": 3388,
    "name": "Friday, Jul 21-22 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3388/?format=api",
    "deployment": {
        "id": 100,
        "name": "North Cont pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/100/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-21T21:10:00",
    "end": "2023-07-22T04:59:59",
    "day": "2023-07-21",
    "date_label": "Jul 21-22 2023",
    "duration": "28199.0",
    "duration_label": "7 hours 49 min",
    "captures_count": 10456,
    "detections_count": 1,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3388&ordering=timestamp",
    "first_capture": {
        "id": 9114308,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9114308/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000009/snapshot_images/01-20230721211000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-07-21T21: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": [
                    0
                ],
                "y": [
                    "Anarta myrtilli"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:36:48.207561",
    "updated_at": "2024-04-30T10:36:49.184135",
    "user_permissions": []
}