API endpoint that allows events to be viewed or edited.

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

{
    "id": 766,
    "name": "Friday, Jul 1-2 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/766/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-01T20:55:26",
    "end": "2022-07-02T00:28:00",
    "day": "2022-07-01",
    "date_label": "Jul 1-2 2022",
    "duration": "12754.0",
    "duration_label": "3 hours 32 min",
    "captures_count": 4689,
    "detections_count": 0,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 0,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=766&ordering=timestamp",
    "first_capture": {
        "id": 3586990,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3586990/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_07_01/20220701205526-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-01T20:55:26",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Acrolophus plumifrontella",
                    "Choristoneura rosaceana",
                    "Chionodes discoocellella",
                    "Adela caeruleella",
                    "Argyrotaenia amatana",
                    "Amblyptilia acanthadactyla",
                    "Alsophila pometaria",
                    "Carmenta pyralidiformis",
                    "Acrolophus popeanella",
                    "Acoloithus falsarius"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-06T22:06:25.685872",
    "updated_at": "2023-12-07T01:08:11.209800",
    "user_permissions": []
}