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=1113
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=1114",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1112",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1113,
    "results": [
        {
            "start": 1136428159,
            "stop": 1136428161
        },
        {
            "start": 1136428168,
            "stop": 1136428169
        },
        {
            "start": 1136428202,
            "stop": 1136428203
        },
        {
            "start": 1136428226,
            "stop": 1136428228
        },
        {
            "start": 1136428250,
            "stop": 1136428251
        },
        {
            "start": 1136428267,
            "stop": 1136428268
        },
        {
            "start": 1136428280,
            "stop": 1136428289
        },
        {
            "start": 1136431145,
            "stop": 1136431153
        },
        {
            "start": 1136431157,
            "stop": 1136431167
        },
        {
            "start": 1136431172,
            "stop": 1136431178
        },
        {
            "start": 1136431182,
            "stop": 1136431206
        },
        {
            "start": 1136431209,
            "stop": 1136431224
        },
        {
            "start": 1136431227,
            "stop": 1136431237
        },
        {
            "start": 1136431244,
            "stop": 1136431247
        },
        {
            "start": 1136431253,
            "stop": 1136431260
        },
        {
            "start": 1136431263,
            "stop": 1136431285
        },
        {
            "start": 1136431289,
            "stop": 1136431338
        },
        {
            "start": 1136431341,
            "stop": 1136431362
        },
        {
            "start": 1136431365,
            "stop": 1136431396
        },
        {
            "start": 1136431400,
            "stop": 1136431402
        }
    ]
}