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/S6/timelines/H1_HW_STOCH/segments?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "next": null,
    "previous": null,
    "results_count": 18,
    "results_per_page": 20,
    "num_pages": 1,
    "page_number": 1,
    "results": [
        {
            "start": 946800015,
            "stop": 946801343
        },
        {
            "start": 946803615,
            "stop": 946804943
        },
        {
            "start": 949696087,
            "stop": 949696387
        },
        {
            "start": 949728040,
            "stop": 949729068
        },
        {
            "start": 962391585,
            "stop": 962397046
        },
        {
            "start": 962412155,
            "stop": 962412225
        },
        {
            "start": 962412355,
            "stop": 962412590
        },
        {
            "start": 962485455,
            "stop": 962486055
        },
        {
            "start": 962486235,
            "stop": 962487375
        },
        {
            "start": 963078472,
            "stop": 963079646
        },
        {
            "start": 963685484,
            "stop": 963747495
        },
        {
            "start": 964103481,
            "stop": 964107073
        },
        {
            "start": 970083733,
            "stop": 970084949
        },
        {
            "start": 970174373,
            "stop": 970175589
        },
        {
            "start": 970176371,
            "stop": 970177579
        },
        {
            "start": 970381123,
            "stop": 970382155
        },
        {
            "start": 970382931,
            "stop": 970384131
        },
        {
            "start": 970384731,
            "stop": 970385755
        }
    ]
}