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

{
    "next": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1997",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1995",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1996,
    "results": [
        {
            "start": 1253754470,
            "stop": 1253756243
        },
        {
            "start": 1253756244,
            "stop": 1253756785
        },
        {
            "start": 1253756788,
            "stop": 1253757940
        },
        {
            "start": 1253757943,
            "stop": 1253758925
        },
        {
            "start": 1253758928,
            "stop": 1253759612
        },
        {
            "start": 1253759621,
            "stop": 1253760350
        },
        {
            "start": 1253760353,
            "stop": 1253760699
        },
        {
            "start": 1253760702,
            "stop": 1253760705
        },
        {
            "start": 1253760708,
            "stop": 1253761246
        },
        {
            "start": 1253761247,
            "stop": 1253761342
        },
        {
            "start": 1253761343,
            "stop": 1253761444
        },
        {
            "start": 1253761445,
            "stop": 1253761483
        },
        {
            "start": 1253761485,
            "stop": 1253761490
        },
        {
            "start": 1253761495,
            "stop": 1253761512
        },
        {
            "start": 1253761515,
            "stop": 1253761535
        },
        {
            "start": 1253761538,
            "stop": 1253761546
        },
        {
            "start": 1253761549,
            "stop": 1253762217
        },
        {
            "start": 1253762220,
            "stop": 1253762319
        },
        {
            "start": 1253762322,
            "stop": 1253762566
        },
        {
            "start": 1253762569,
            "stop": 1253762612
        }
    ]
}