API endpoint that allows events to be viewed or edited.

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

{
    "id": 557,
    "name": "Tuesday, Jun 15-16 2021",
    "details": "https://api.beluga.insectai.org/api/v2/events/557/?format=api",
    "deployment": {
        "id": 16,
        "name": "UK - Wallingford",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/16/?format=api",
        "user_permissions": []
    },
    "start": "2021-06-15T21:17:32",
    "end": "2021-06-16T06:55:58",
    "day": "2021-06-15",
    "date_label": "Jun 15-16 2021",
    "duration": "34706.0",
    "duration_label": "9 hours 38 min",
    "captures_count": 14429,
    "detections_count": 18,
    "occurrences_count": 18,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=557&ordering=timestamp",
    "first_capture": {
        "id": 1979894,
        "details": "https://api.beluga.insectai.org/api/v2/captures/1979894/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/06_JUNE/15_06_2021/20210615211732-00-01.jpg",
        "width": 3840,
        "height": 2160,
        "timestamp": "2021-06-15T21:17:32",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 AM",
                    "6:00 AM"
                ],
                "y": [
                    3,
                    2
                ],
                "ticktext": [
                    "1:00 AM:00",
                    "6:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Nomophila nearctica",
                    "Adela caeruleella",
                    "Hesudra divisa",
                    "Eulogia ochrifrontella",
                    "Euchromius ocellea",
                    "Ephestiodes infimella",
                    "Virbia laeta",
                    "Misogada unicolor",
                    "Virbia opella",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-28T13:45:29.138446",
    "updated_at": "2024-02-18T17:03:16.832319",
    "user_permissions": []
}