API endpoint that allows events to be viewed or edited.

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

{
    "id": 658,
    "name": "Friday, Jul 21-22 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/658/?format=api",
    "deployment": {
        "id": 20,
        "name": "UK - Farringdon - Combined",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/20/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-21T21:13:42",
    "end": "2023-07-22T04:59:28",
    "day": "2023-07-21",
    "date_label": "Jul 21-22 2023",
    "duration": "27946.0",
    "duration_label": "7 hours 45 min",
    "captures_count": 16306,
    "detections_count": 9,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 9,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=658&ordering=timestamp",
    "first_capture": {
        "id": 2612117,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2612117/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Ag0+/farringdon/positive/2023_07_21/20230721211342-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-07-21T21:13:42",
        "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
                ],
                "y": [
                    "Timalus leucomela",
                    "Plodia interpunctella",
                    "Magava multilinea",
                    "Elasmopalpus lignosella",
                    "Cosmosoma auge",
                    "Aclytia ventralis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-04T23:29:54.108636",
    "updated_at": "2023-12-07T01:03:07.274502",
    "user_permissions": []
}