API endpoint that allows events to be viewed or edited.

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

{
    "id": 4700,
    "name": "Tuesday, Aug 9-10 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4700/?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-08-09T22:06:28",
    "end": "2022-08-10T01:51:36",
    "day": "2022-08-09",
    "date_label": "Aug 9-10 2022",
    "duration": "13508.0",
    "duration_label": "3 hours 45 min",
    "captures_count": 1257,
    "detections_count": 42,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4700&ordering=timestamp",
    "first_capture": {
        "id": 16200256,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16200256/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Aug 9/20220809220628-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-09T22:06:28",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    1,
                    4
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Parapediasia decorellus",
                    "Olethreutes lacunana",
                    "Epinotia nisella",
                    "Acleris flavivittana",
                    "Choristoneura pinus",
                    "Argyrotaenia velutinana",
                    "Plutella xylostella",
                    "Archips rosana",
                    "Crambus saltuellus",
                    "Archips argyrospila"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:31.880875",
    "updated_at": "2024-10-10T19:40:47.426728",
    "user_permissions": []
}