API endpoint that allows events to be viewed or edited.

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

{
    "id": 2880,
    "name": "Wednesday, Sep 13-14 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2880/?format=api",
    "deployment": {
        "id": 92,
        "name": "Ox Cont pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/92/?format=api",
        "user_permissions": []
    },
    "start": "2023-09-13T21:09:59",
    "end": "2023-09-14T04:29:59",
    "day": "2023-09-13",
    "date_label": "Sep 13-14 2023",
    "duration": "26400.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 702,
    "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=2880&ordering=timestamp",
    "first_capture": {
        "id": 6507729,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6507729/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000001/snapshot_images/20230913210959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-09-13T21:09:59",
        "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": [
                    "Thyridopteryx ephemeraeformis",
                    "Hippotion celerio"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:36:06.519287",
    "updated_at": "2024-04-26T01:17:24.565287",
    "user_permissions": []
}