API endpoint that allows events to be viewed or edited.

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

{
    "id": 836,
    "name": "Thursday, Aug 31 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/836/?format=api",
    "deployment": {
        "id": 27,
        "name": "UK - Farringdon (-)",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/27/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-31T03:55:43",
    "end": "2023-08-31T03:59:39",
    "day": "2023-08-31",
    "date_label": "Aug 31 2023",
    "duration": "236.0",
    "duration_label": "3 minutes",
    "captures_count": 13,
    "detections_count": 1,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=836&ordering=timestamp",
    "first_capture": {
        "id": 4133005,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4133005/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Ag0+/farringdon/negative/2023_08_30/20230831035543-00-22.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-31T03:55:43",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "3:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "3:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1
                ],
                "y": [
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-20T15:53:02.087167",
    "updated_at": "2023-12-07T01:02:53.591099",
    "user_permissions": []
}