API endpoint that allows events to be viewed or edited.

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

{
    "id": 4611,
    "name": "Friday, May 20-21 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4611/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-20T00:42:39",
    "end": "2022-05-21T02:47:56",
    "day": "2022-05-20",
    "date_label": "May 20-21 2022",
    "duration": "93917.0",
    "duration_label": "1 days 2 hours",
    "captures_count": 6102,
    "detections_count": 158,
    "occurrences_count": 18,
    "stats": {
        "detections_max_count": 20,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4611&ordering=timestamp",
    "first_capture": {
        "id": 15875857,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15875857/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_20/20220520004239-00-08.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-20T00:42:39",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    4,
                    2,
                    5,
                    2,
                    5,
                    5
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    3,
                    3,
                    7
                ],
                "y": [
                    "Scardia anatomella",
                    "Podosesia syringae",
                    "Plodia interpunctella",
                    "Adela caeruleella",
                    "Alsophila pometaria",
                    "Eufidonia notataria",
                    "Syndemis afflictana",
                    "Amblyptilia acanthadactyla",
                    "Synanthedon acerni",
                    "Phyllodesma americana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:21.180579",
    "updated_at": "2024-10-10T19:40:36.086119",
    "user_permissions": []
}