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

{
    "next": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_NO_CW_HW_INJ/segments?format=api&page=2",
    "previous": null,
    "results_count": 64,
    "results_per_page": 20,
    "num_pages": 4,
    "page_number": 1,
    "results": [
        {
            "start": 1238256635,
            "stop": 1238261264
        },
        {
            "start": 1238266178,
            "stop": 1238266279
        },
        {
            "start": 1238347246,
            "stop": 1238349531
        },
        {
            "start": 1238866526,
            "stop": 1238872342
        },
        {
            "start": 1239472490,
            "stop": 1239472556
        },
        {
            "start": 1239473184,
            "stop": 1239473305
        },
        {
            "start": 1240070184,
            "stop": 1240070235
        },
        {
            "start": 1240070239,
            "stop": 1240075083
        },
        {
            "start": 1240083697,
            "stop": 1240083750
        },
        {
            "start": 1240090142,
            "stop": 1240093622
        },
        {
            "start": 1240685334,
            "stop": 1240685373
        },
        {
            "start": 1240685824,
            "stop": 1240686352
        },
        {
            "start": 1240809842,
            "stop": 1240844536
        },
        {
            "start": 1241162282,
            "stop": 1241197563
        },
        {
            "start": 1241218457,
            "stop": 1241218609
        },
        {
            "start": 1241218716,
            "stop": 1241219726
        },
        {
            "start": 1241219834,
            "stop": 1241220209
        },
        {
            "start": 1241221633,
            "stop": 1241221709
        },
        {
            "start": 1241288151,
            "stop": 1241288532
        },
        {
            "start": 1241289538,
            "stop": 1241289913
        }
    ]
}