API endpoint that allows events to be viewed or edited.

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

{
    "id": 4584,
    "name": "Wednesday, Jul 13-14 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4584/?format=api",
    "deployment": {
        "id": 240,
        "name": "Newfoundland - Unit 1-Pasadena",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/240/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-13T00:00:01",
    "end": "2022-07-14T00:56:05",
    "day": "2022-07-13",
    "date_label": "Jul 13-14 2022",
    "duration": "89764.0",
    "duration_label": "1 days 0 hours",
    "captures_count": 9164,
    "detections_count": 439,
    "occurrences_count": 57,
    "stats": {
        "detections_max_count": 20,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4584&ordering=timestamp",
    "first_capture": {
        "id": 15987772,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15987772/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/Unit-1/2022_07_13/20220713000001-00-15.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-13T00:00:01",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    10,
                    22,
                    40,
                    2,
                    15,
                    4
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    2,
                    3,
                    3,
                    4,
                    4,
                    5,
                    6,
                    12,
                    12,
                    15
                ],
                "y": [
                    "Endothenia hebesana",
                    "Archips argyrospila",
                    "Ctenucha virginica",
                    "Chrysoteuchia topiarius",
                    "Choristoneura fumiferana",
                    "Synanthedon acerni",
                    "Perizoma alchemillata",
                    "Clepsis persicana",
                    "Cenopis pettitana",
                    "Choristoneura rosaceana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:18.416085",
    "updated_at": "2024-10-10T19:40:18.250450",
    "user_permissions": []
}