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

{
    "next": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1121",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1119",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1120,
    "results": [
        {
            "start": 1136437734,
            "stop": 1136437749
        },
        {
            "start": 1136437752,
            "stop": 1136437754
        },
        {
            "start": 1136437757,
            "stop": 1136437766
        },
        {
            "start": 1136437769,
            "stop": 1136437772
        },
        {
            "start": 1136437775,
            "stop": 1136437783
        },
        {
            "start": 1136437786,
            "stop": 1136437805
        },
        {
            "start": 1136437808,
            "stop": 1136437812
        },
        {
            "start": 1136437815,
            "stop": 1136437819
        },
        {
            "start": 1136437822,
            "stop": 1136437837
        },
        {
            "start": 1136437840,
            "stop": 1136437842
        },
        {
            "start": 1136437845,
            "stop": 1136437853
        },
        {
            "start": 1136437856,
            "stop": 1136437859
        },
        {
            "start": 1136437862,
            "stop": 1136437873
        },
        {
            "start": 1136437876,
            "stop": 1136437880
        },
        {
            "start": 1136437883,
            "stop": 1136437888
        },
        {
            "start": 1136437891,
            "stop": 1136437893
        },
        {
            "start": 1136437896,
            "stop": 1136437905
        },
        {
            "start": 1136437908,
            "stop": 1136437912
        },
        {
            "start": 1136437915,
            "stop": 1136437924
        },
        {
            "start": 1136437927,
            "stop": 1136437934
        }
    ]
}