API endpoint that allows events to be viewed or edited.

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

{
    "id": 26,
    "name": "Friday, Sep 23-24 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/26/?format=api",
    "deployment": {
        "id": 5,
        "name": "Cyprus",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/5/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-23T18:00:00",
    "end": "2022-09-24T04:40:00",
    "day": "2022-09-23",
    "date_label": "Sep 23-24 2022",
    "duration": "38400.0",
    "duration_label": "10 hours 40 min",
    "captures_count": 65,
    "detections_count": 6,
    "occurrences_count": 6,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=26&ordering=timestamp",
    "first_capture": {
        "id": 41329,
        "details": "https://api.beluga.insectai.org/api/v2/captures/41329/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/cyprus/snapshots/2022_09_23/85-20220923180000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-23T18:00:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
                ],
                "y": [
                    "Xanthopastis timais",
                    "Utetheisa pulchella",
                    "Taleporia tubulosa",
                    "Nomophila noctuella",
                    "Hofmannophila pseudospretella",
                    "Herpetogramma licarsisalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T04:50:25.633167",
    "updated_at": "2023-12-07T00:49:02.635085",
    "user_permissions": []
}