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=1118
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=1119",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1117",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1118,
    "results": [
        {
            "start": 1136435946,
            "stop": 1136435986
        },
        {
            "start": 1136435989,
            "stop": 1136436089
        },
        {
            "start": 1136436092,
            "stop": 1136436106
        },
        {
            "start": 1136436109,
            "stop": 1136436169
        },
        {
            "start": 1136436172,
            "stop": 1136436207
        },
        {
            "start": 1136436210,
            "stop": 1136436250
        },
        {
            "start": 1136436253,
            "stop": 1136436427
        },
        {
            "start": 1136436435,
            "stop": 1136436463
        },
        {
            "start": 1136436466,
            "stop": 1136436500
        },
        {
            "start": 1136436503,
            "stop": 1136436516
        },
        {
            "start": 1136436519,
            "stop": 1136436541
        },
        {
            "start": 1136436545,
            "stop": 1136436550
        },
        {
            "start": 1136436553,
            "stop": 1136436578
        },
        {
            "start": 1136436581,
            "stop": 1136436706
        },
        {
            "start": 1136436709,
            "stop": 1136436722
        },
        {
            "start": 1136436725,
            "stop": 1136436732
        },
        {
            "start": 1136436736,
            "stop": 1136436737
        },
        {
            "start": 1136436740,
            "stop": 1136436766
        },
        {
            "start": 1136436769,
            "stop": 1136436816
        },
        {
            "start": 1136436819,
            "stop": 1136437472
        }
    ]
}