API endpoint that allows events to be viewed or edited.

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

{
    "id": 585,
    "name": "Monday, Jul 4-5 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/585/?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-04T21:08:44",
    "end": "2022-07-05T04:00:44",
    "day": "2022-07-04",
    "date_label": "Jul 4-5 2022",
    "duration": "24720.0",
    "duration_label": "6 hours 52 min",
    "captures_count": 7465,
    "detections_count": 34,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=585&ordering=timestamp",
    "first_capture": {
        "id": 2362271,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2362271/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_07_04/20220704210844-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-04T21:08:44",
        "detections_count": 1,
        "detections": [
            {
                "id": 148503,
                "details": "https://api.beluga.insectai.org/api/v2/detections/148503/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/202207042108440001/3971-1524-4031-1572-1725000745.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    3971.0,
                    1524.0,
                    4031.0,
                    1572.0
                ],
                "occurrence": {
                    "id": 123447,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/123447/?format=api",
                    "determination": {
                        "id": 3543,
                        "name": "Coleophora mayrella",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/3543/?format=api",
                        "gbif_taxon_key": 5120675,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.1582994908094406,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=148503",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Agriphila vulgivagellus",
                    "Crambus agitatellus",
                    "Coleophora mayrella",
                    "Autographa mappa",
                    "Cnephasia asseclana",
                    "Choristoneura parallela",
                    "Choristoneura fumiferana",
                    "Cnephasia stephensiana",
                    "Archips packardiana",
                    "Hydrelia inornata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-04T02:45:57.056446",
    "updated_at": "2023-12-07T01:08:23.927037",
    "user_permissions": []
}