API endpoint that allows events to be viewed or edited.

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

{
    "id": 3035,
    "name": "Wednesday, Jul 5-6 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3035/?format=api",
    "deployment": {
        "id": 104,
        "name": "Pymoor pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/104/?format=api",
        "user_permissions": []
    },
    "start": "2023-07-05T21:10:00",
    "end": "2023-07-06T03:59:59",
    "day": "2023-07-05",
    "date_label": "Jul 5-6 2023",
    "duration": "24599.0",
    "duration_label": "6 hours 49 min",
    "captures_count": 5377,
    "detections_count": 20,
    "occurrences_count": 7,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3035&ordering=timestamp",
    "first_capture": {
        "id": 6940794,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6940794/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000013/snapshot_images/01-20230705211000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-07-05T21:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    2,
                    3,
                    3
                ],
                "ticktext": [
                    "1:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    7
                ],
                "y": [
                    "Agriphila geniculea",
                    "Plodia interpunctella",
                    "Operophtera brumata",
                    "Monochroa tenebrella",
                    "Glyphipterix thrasonella",
                    "Coleophora mayrella",
                    "Coleophora deauratella",
                    "Bedellia somnulentella",
                    "Caloptilia suberinella Tgstr.",
                    "Chrysoteuchia culmella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:42:17.707971",
    "updated_at": "2024-04-26T01:16:44.478956",
    "user_permissions": []
}