API endpoint that allows events to be viewed or edited.

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

{
    "id": 3428,
    "name": "Monday, Oct 23-24 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3428/?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-10-23T20:59:59",
    "end": "2023-10-24T04:19:59",
    "day": "2023-10-23",
    "date_label": "Oct 23-24 2023",
    "duration": "26400.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 575,
    "detections_count": 8,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 3,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3428&ordering=timestamp",
    "first_capture": {
        "id": 9114375,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9114375/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000009/snapshot_images/01-20231023205959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-10-23T20:59:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "9:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    1
                ],
                "y": [
                    "Arctia caja",
                    "Epirrita autumnata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:37:02.121328",
    "updated_at": "2024-04-30T10:37:02.194961",
    "user_permissions": []
}