API endpoint that allows events to be viewed or edited.

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

{
    "id": 3065,
    "name": "Wednesday, Sep 13-14 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3065/?format=api",
    "deployment": {
        "id": 104,
        "name": "Pymoor pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/104/?format=api",
        "user_permissions": []
    },
    "start": "2023-09-13T21:09:59",
    "end": "2023-09-14T03:59:59",
    "day": "2023-09-13",
    "date_label": "Sep 13-14 2023",
    "duration": "24600.0",
    "duration_label": "6 hours 50 min",
    "captures_count": 1113,
    "detections_count": 6,
    "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=3065&ordering=timestamp",
    "first_capture": {
        "id": 6940904,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6940904/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000013/snapshot_images/01-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": [
                    "12:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Trichoplusia ni",
                    "Parapoynx stratiotata",
                    "Hypena rostralis",
                    "Emmelina monodactyla",
                    "Agrius cingulata",
                    "Xestia c-nigrum"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:42:30.695530",
    "updated_at": "2024-04-26T01:16:59.717920",
    "user_permissions": []
}