API endpoint that allows events to be viewed or edited.

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

{
    "id": 4604,
    "name": "Sunday, Jul 17-18 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4604/?format=api",
    "deployment": {
        "id": 239,
        "name": "Newfoundland - Unit 2",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/239/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-17T22:03:51",
    "end": "2022-07-18T00:50:58",
    "day": "2022-07-17",
    "date_label": "Jul 17-18 2022",
    "duration": "10027.0",
    "duration_label": "2 hours 47 min",
    "captures_count": 3773,
    "detections_count": 0,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 0,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4604&ordering=timestamp",
    "first_capture": {
        "id": 16372196,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16372196/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Jul 17 images/20220717220351-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-17T22:03:51",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [],
                "y": []
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:20.473657",
    "updated_at": "2024-10-10T19:40:27.659279",
    "user_permissions": []
}