API endpoint that allows events to be viewed or edited.

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

{
    "id": 643,
    "name": "Monday, Sep 19-20 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/643/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-19T19:22:36",
    "end": "2022-09-20T00:54:10",
    "day": "2022-09-19",
    "date_label": "Sep 19-20 2022",
    "duration": "19894.0",
    "duration_label": "5 hours 31 min",
    "captures_count": 1968,
    "detections_count": 4,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=643&ordering=timestamp",
    "first_capture": {
        "id": 2591277,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2591277/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_09_19/20220919192236-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-19T19:22:36",
        "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": "2023-09-04T09:49:56.310726",
    "updated_at": "2023-12-07T01:11:52.675293",
    "user_permissions": []
}