API endpoint that allows events to be viewed or edited.

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

{
    "id": 3333,
    "name": "Wednesday, Oct 4-5 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3333/?format=api",
    "deployment": {
        "id": 101,
        "name": "North Cont neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/101/?format=api",
        "user_permissions": []
    },
    "start": "2023-10-04T21:00:00",
    "end": "2023-10-05T04:20:00",
    "day": "2023-10-04",
    "date_label": "Oct 4-5 2023",
    "duration": "26400.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 365,
    "detections_count": 1,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3333&ordering=timestamp",
    "first_capture": {
        "id": 9021118,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9021118/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000010/snapshot_images/01-20231004210000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-10-04T21:00:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "4:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "4:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1
                ],
                "y": [
                    "Cydia splendana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:32:27.644797",
    "updated_at": "2024-04-30T10:32:27.705011",
    "user_permissions": []
}