API endpoint that allows events to be viewed or edited.

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

{
    "id": 3191,
    "name": "Friday, Nov 10 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3191/?format=api",
    "deployment": {
        "id": 111,
        "name": "Panama - trap 4",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/111/?format=api",
        "user_permissions": []
    },
    "start": "2023-11-10T18:00:29",
    "end": "2023-11-10T21:55:49",
    "day": "2023-11-10",
    "date_label": "Nov 10 2023",
    "duration": "14120.0",
    "duration_label": "3 hours 55 min",
    "captures_count": 1411,
    "detections_count": 12,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3191&ordering=timestamp",
    "first_capture": {
        "id": 8361949,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8361949/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000020/snapshot_images/20231110180029-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T102041Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e6bb5129bb66d19be5602419cf017d1ec9820382edfcc081ea5f337791080b2b",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-11-10T18:00:29",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "6:00 PM"
                ],
                "y": [
                    5
                ],
                "ticktext": [
                    "6:00 PM:00",
                    "6:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Portentomorpha xanthialis",
                    "Pareuchaetes insulata",
                    "Euclea plugma",
                    "Syngamia florella",
                    "Spodoptera dolichos",
                    "Elasmopalpus lignosella",
                    "Herpetogramma phaeopteralis",
                    "Semnia auritalis",
                    "Lobocleta ossularia"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:56:34.357428",
    "updated_at": "2024-09-20T06:59:08.032243",
    "user_permissions": []
}