API endpoint that allows events to be viewed or edited.

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

{
    "id": 2904,
    "name": "Monday, Jul 3-4 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2904/?format=api",
    "deployment": {
        "id": 105,
        "name": "Pymoor neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/105/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-03T13:36:35",
    "end": "2023-07-04T03:59:59",
    "day": "2023-07-03",
    "date_label": "Jul 3-4 2023",
    "duration": "51804.0",
    "duration_label": "14 hours 23 min",
    "captures_count": 4405,
    "detections_count": 32,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 10,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2904&ordering=timestamp",
    "first_capture": {
        "id": 6392694,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6392694/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000014/motion_images/20230703133635-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-07-03T13:36:35",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "2:00 AM"
                ],
                "y": [
                    3,
                    1,
                    1
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Emmelina monodactyla",
                    "Calybites phasianipennella",
                    "Eriocrania sparrmannella",
                    "Caloptilia alchimiella",
                    "Chrysoesthia drurella",
                    "Coleophora mayrella",
                    "Ypsolopha mucronella",
                    "Plutella xylostella",
                    "Chrysoteuchia culmella",
                    "Megalographa biloba"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:37:41.199081",
    "updated_at": "2024-04-26T01:17:02.122096",
    "user_permissions": []
}