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=1089
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=1090",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1088",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1089,
    "results": [
        {
            "start": 1136401916,
            "stop": 1136401917
        },
        {
            "start": 1136401929,
            "stop": 1136401930
        },
        {
            "start": 1136401939,
            "stop": 1136401940
        },
        {
            "start": 1136402076,
            "stop": 1136402085
        },
        {
            "start": 1136402089,
            "stop": 1136402090
        },
        {
            "start": 1136402093,
            "stop": 1136402102
        },
        {
            "start": 1136402105,
            "stop": 1136402106
        },
        {
            "start": 1136402109,
            "stop": 1136402120
        },
        {
            "start": 1136402123,
            "stop": 1136402138
        },
        {
            "start": 1136402142,
            "stop": 1136402146
        },
        {
            "start": 1136402149,
            "stop": 1136402152
        },
        {
            "start": 1136402155,
            "stop": 1136402159
        },
        {
            "start": 1136402173,
            "stop": 1136402198
        },
        {
            "start": 1136402201,
            "stop": 1136402202
        },
        {
            "start": 1136402209,
            "stop": 1136402210
        },
        {
            "start": 1136402277,
            "stop": 1136402278
        },
        {
            "start": 1136402313,
            "stop": 1136402314
        },
        {
            "start": 1136402319,
            "stop": 1136402324
        },
        {
            "start": 1136402329,
            "stop": 1136402331
        },
        {
            "start": 1136402334,
            "stop": 1136403536
        }
    ]
}