Return a list of time intervals and the number of detections for each interval, including intervals where no source images were captured, along with meta information.

GET /api/v2/events/5104/timeline/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "data": [
        {
            "start": "2022-07-10T11:20:00",
            "end": "2022-07-10T11:21:00",
            "first_capture": {
                "id": 17837186,
                "details": "https://api.beluga.insectai.org/api/v2/captures/17837186/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 17837186,
                "details": "https://api.beluga.insectai.org/api/v2/captures/17837186/?format=api",
                "user_permissions": []
            },
            "captures_count": 1,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:21:00",
            "end": "2022-07-10T11:22:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:22:00",
            "end": "2022-07-10T11:23:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:23:00",
            "end": "2022-07-10T11:24:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:24:00",
            "end": "2022-07-10T11:25:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:25:00",
            "end": "2022-07-10T11:26:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:26:00",
            "end": "2022-07-10T11:27:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:27:00",
            "end": "2022-07-10T11:28:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:28:00",
            "end": "2022-07-10T11:29:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:29:00",
            "end": "2022-07-10T11:30:00",
            "first_capture": {
                "id": 17837187,
                "details": "https://api.beluga.insectai.org/api/v2/captures/17837187/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 17837187,
                "details": "https://api.beluga.insectai.org/api/v2/captures/17837187/?format=api",
                "user_permissions": []
            },
            "captures_count": 1,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:30:00",
            "end": "2022-07-10T11:31:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:31:00",
            "end": "2022-07-10T11:32:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:32:00",
            "end": "2022-07-10T11:33:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:33:00",
            "end": "2022-07-10T11:34:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:34:00",
            "end": "2022-07-10T11:35:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:35:00",
            "end": "2022-07-10T11:36:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:36:00",
            "end": "2022-07-10T11:37:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:37:00",
            "end": "2022-07-10T11:38:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:38:00",
            "end": "2022-07-10T11:39:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:39:00",
            "end": "2022-07-10T11:40:00",
            "first_capture": {
                "id": 17837188,
                "details": "https://api.beluga.insectai.org/api/v2/captures/17837188/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 17837188,
                "details": "https://api.beluga.insectai.org/api/v2/captures/17837188/?format=api",
                "user_permissions": []
            },
            "captures_count": 1,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:40:00",
            "end": "2022-07-10T11:41:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:41:00",
            "end": "2022-07-10T11:42:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:42:00",
            "end": "2022-07-10T11:43:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:43:00",
            "end": "2022-07-10T11:44:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:44:00",
            "end": "2022-07-10T11:45:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:45:00",
            "end": "2022-07-10T11:46:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:46:00",
            "end": "2022-07-10T11:47:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:47:00",
            "end": "2022-07-10T11:48:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:48:00",
            "end": "2022-07-10T11:49:00",
            "first_capture": null,
            "top_capture": null,
            "captures_count": 0,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        },
        {
            "start": "2022-07-10T11:49:00",
            "end": "2022-07-10T11:49:59",
            "first_capture": {
                "id": 17837189,
                "details": "https://api.beluga.insectai.org/api/v2/captures/17837189/?format=api",
                "user_permissions": []
            },
            "top_capture": {
                "id": 17837189,
                "details": "https://api.beluga.insectai.org/api/v2/captures/17837189/?format=api",
                "user_permissions": []
            },
            "captures_count": 1,
            "detections_count": 0,
            "detections_avg": 0,
            "was_processed": false
        }
    ],
    "meta": {
        "total_intervals": 30,
        "resolution_minutes": 1,
        "max_detections": 0,
        "min_detections": 0,
        "total_detections": 0,
        "timeline_start": "2022-07-10T11:20:00",
        "timeline_end": "2022-07-10T11:49:59"
    }
}