Return the segments for a given timeline for a run.

Query parameters:

  • start: Initial GPS time of the desired GPS interval.
  • stop: Final GPS time of the desired GPS interval.
  • compact: Return a list of segment [start, stop] list.
GET /api/v2/runs/O1/timelines/L1_NO_STOCH_HW_INJ/segments?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "next": null,
    "previous": null,
    "results_count": 7,
    "results_per_page": 20,
    "num_pages": 1,
    "page_number": 1,
    "results": [
        {
            "start": 1126051217,
            "stop": 1129391753
        },
        {
            "start": 1129391754,
            "stop": 1129394153
        },
        {
            "start": 1129394154,
            "stop": 1129397697
        },
        {
            "start": 1129397698,
            "stop": 1131492488
        },
        {
            "start": 1131492489,
            "stop": 1131495269
        },
        {
            "start": 1131495270,
            "stop": 1135352097
        },
        {
            "start": 1135352098,
            "stop": 1137254417
        }
    ]
}