API endpoint that allows events to be viewed or edited.

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

{
    "id": 853,
    "name": "Wednesday, Aug 30-31 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/853/?format=api",
    "deployment": {
        "id": 26,
        "name": "UK - Farringdon (+)",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/26/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-30T21:17:01",
    "end": "2023-08-31T03:22:58",
    "day": "2023-08-30",
    "date_label": "Aug 30-31 2023",
    "duration": "21957.0",
    "duration_label": "6 hours 5 min",
    "captures_count": 321,
    "detections_count": 2,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=853&ordering=timestamp",
    "first_capture": {
        "id": 4207523,
        "details": "https://api.beluga.insectai.org/api/v2/captures/4207523/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Ag0+/farringdon/positive/2023_08_30/20230830211701-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-30T21:17:01",
        "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": [
                    0,
                    1
                ],
                "y": [
                    "Xestia c-nigrum",
                    "Agriphila tristellus"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-20T16:09:44.507309",
    "updated_at": "2023-12-07T01:01:44.088553",
    "user_permissions": []
}