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

{
    "next": null,
    "previous": null,
    "results_count": 13,
    "results_per_page": 20,
    "num_pages": 1,
    "page_number": 1,
    "results": [
        {
            "start": 1164556817,
            "stop": 1164611117
        },
        {
            "start": 1164611229,
            "stop": 1164612025
        },
        {
            "start": 1164612429,
            "stop": 1164612624
        },
        {
            "start": 1164613029,
            "stop": 1165786200
        },
        {
            "start": 1165786312,
            "stop": 1165786508
        },
        {
            "start": 1165786657,
            "stop": 1178980183
        },
        {
            "start": 1178980184,
            "stop": 1187443700
        },
        {
            "start": 1187443813,
            "stop": 1187443946
        },
        {
            "start": 1187443971,
            "stop": 1187444150
        },
        {
            "start": 1187444263,
            "stop": 1187444368
        },
        {
            "start": 1187444713,
            "stop": 1187444759
        },
        {
            "start": 1187445163,
            "stop": 1187445209
        },
        {
            "start": 1187445613,
            "stop": 1187733618
        }
    ]
}