API endpoint that allows events to be viewed or edited.

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

{
    "id": 2925,
    "name": "Monday, Aug 21-22 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2925/?format=api",
    "deployment": {
        "id": 105,
        "name": "Pymoor neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/105/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-21T21:01:45",
    "end": "2023-08-22T03:59:59",
    "day": "2023-08-21",
    "date_label": "Aug 21-22 2023",
    "duration": "25094.0",
    "duration_label": "6 hours 58 min",
    "captures_count": 5620,
    "detections_count": 39,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 16,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2925&ordering=timestamp",
    "first_capture": {
        "id": 6597389,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6597389/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000014/motion_images/20230821210145-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-21T21:01:45",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "1:00 AM"
                ],
                "y": [
                    1,
                    3,
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Dyseriocrania subpurpurella",
                    "Caloptilia stigmatella",
                    "Elophila nymphaeata",
                    "Bankesia conspurcatella",
                    "Chrysoesthia drurella",
                    "Mythimna impura",
                    "Thyridopteryx ephemeraeformis",
                    "Plutella xylostella",
                    "Coleophora mayrella",
                    "Nymphula nitidulata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:37:47.449367",
    "updated_at": "2024-04-26T01:17:09.727010",
    "user_permissions": []
}