API endpoint that allows events to be viewed or edited.

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

{
    "id": 3175,
    "name": "Wednesday, Feb 21-22 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/3175/?format=api",
    "deployment": {
        "id": 112,
        "name": "Panama - trap 5",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/112/?format=api",
        "user_permissions": []
    },
    "start": "2024-02-21T10:25:49",
    "end": "2024-02-22T04:25:59",
    "day": "2024-02-21",
    "date_label": "Feb 21-22 2024",
    "duration": "64810.0",
    "duration_label": "18 hours 0 min",
    "captures_count": 6464,
    "detections_count": 204,
    "occurrences_count": 36,
    "stats": {
        "detections_max_count": 11,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3175&ordering=timestamp",
    "first_capture": {
        "id": 8332247,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8332247/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/pan/dep000021/snapshot_images/20240221102549-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T100822Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=0b88b2dfe2c42e77f508695441db556506ce4888713d93e5ab2a04650e0b160e",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-02-21T10:25:49",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 PM",
                    "3:00 PM",
                    "4:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "11:00 AM",
                    "12:00 PM"
                ],
                "y": [
                    3,
                    3,
                    7,
                    4,
                    2,
                    1,
                    7,
                    2,
                    21,
                    4
                ],
                "ticktext": [
                    "1:00 PM:00",
                    "12:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    2,
                    3,
                    3,
                    3,
                    4,
                    4,
                    5,
                    8,
                    8
                ],
                "y": [
                    "Epimecis conjugaria",
                    "Rupela albina",
                    "Hymenomima umbelularia",
                    "Glaphyria invisalis",
                    "Synchlora pulchrifimbria",
                    "Herpetogramma phaeopteralis",
                    "Plodia interpunctella",
                    "Athyrma adjutrix",
                    "Ascalapha odorata",
                    "Lobocleta ossularia"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-29T14:51:25.289130",
    "updated_at": "2024-09-20T07:04:13.232488",
    "user_permissions": []
}