API endpoint that allows events to be viewed or edited.

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

{
    "id": 4595,
    "name": "Saturday, Jul 16-17 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4595/?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-07-16T22:03:47",
    "end": "2022-07-17T04:59:46",
    "day": "2022-07-16",
    "date_label": "Jul 16-17 2022",
    "duration": "24959.0",
    "duration_label": "6 hours 55 min",
    "captures_count": 8417,
    "detections_count": 91,
    "occurrences_count": 18,
    "stats": {
        "detections_max_count": 17,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4595&ordering=timestamp",
    "first_capture": {
        "id": 16331916,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16331916/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-2/Jul 16 images/20220716220347-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-16T22:03:47",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "4:00 AM"
                ],
                "y": [
                    27
                ],
                "ticktext": [
                    "4:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    5,
                    13
                ],
                "y": [
                    "Protoboarmia porcelaria",
                    "Not Identifiable",
                    "Orthotaenia undulana",
                    "Crambus pascuella",
                    "Aporophyla nigra",
                    "Not Lepidoptera",
                    "Acleris flavivittana",
                    "Choristoneura rosaceana",
                    "Cenopis pettitana",
                    "Pasiphila rectangulata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:19.778450",
    "updated_at": "2024-10-10T19:40:27.023781",
    "user_permissions": []
}