API endpoint that allows events to be viewed or edited.

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

{
    "id": 2978,
    "name": "Friday, Oct 6-7 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2978/?format=api",
    "deployment": {
        "id": 93,
        "name": "Ox Cont neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/93/?format=api",
        "user_permissions": []
    },
    "start": "2023-10-06T20:59:59",
    "end": "2023-10-07T04:19:59",
    "day": "2023-10-06",
    "date_label": "Oct 6-7 2023",
    "duration": "26400.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 408,
    "detections_count": 33,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2978&ordering=timestamp",
    "first_capture": {
        "id": 6835080,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6835080/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000002/snapshot_images/20231006205959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-10-06T20:59:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "2:00 AM"
                ],
                "y": [
                    1,
                    2
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Anania funebris",
                    "Tebenna micalis",
                    "Amata phegea",
                    "Scoliopteryx libatrix",
                    "Plodia interpunctella",
                    "Manduca rustica",
                    "Euplocamus anthracinalis",
                    "Macroglossum stellatarum",
                    "Arctia caja",
                    "Rheumaptera hastata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:38:37.007459",
    "updated_at": "2024-04-26T01:17:43.483570",
    "user_permissions": []
}