Return the segments for a given timeline for a run.

Query parameters:

  • start=<int>: Initial GPS time of the desired GPS interval.
  • stop=<int>: Final GPS time of the desired GPS interval.
  • compact: Return a list of segment [start, stop] list.
  • pagesize=<int>: Number of results to return per page.
GET /api/v2/runs/O4b/timelines/L1_NO_CW_HW_INJ/segments?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "next": "https://gwosc.org/api/v2/runs/O4b/timelines/L1_NO_CW_HW_INJ/segments?format=api&page=2",
    "previous": null,
    "results_count": 108,
    "results_per_page": 20,
    "num_pages": 6,
    "page_number": 1,
    "results": [
        {
            "start": 1396631003,
            "stop": 1396632440
        },
        {
            "start": 1396634260,
            "stop": 1396635731
        },
        {
            "start": 1396638911,
            "stop": 1396640321
        },
        {
            "start": 1396642014,
            "stop": 1396643488
        },
        {
            "start": 1396721561,
            "stop": 1396721571
        },
        {
            "start": 1397068244,
            "stop": 1397070093
        },
        {
            "start": 1397685630,
            "stop": 1397687378
        },
        {
            "start": 1397852965,
            "stop": 1397852992
        },
        {
            "start": 1398020237,
            "stop": 1398020480
        },
        {
            "start": 1398020522,
            "stop": 1398020537
        },
        {
            "start": 1398020595,
            "stop": 1398020609
        },
        {
            "start": 1398612667,
            "stop": 1398614726
        },
        {
            "start": 1398621157,
            "stop": 1398621621
        },
        {
            "start": 1398621652,
            "stop": 1398622116
        },
        {
            "start": 1398622158,
            "stop": 1398622621
        },
        {
            "start": 1398622644,
            "stop": 1398623107
        },
        {
            "start": 1398623178,
            "stop": 1398623419
        },
        {
            "start": 1399131399,
            "stop": 1399134404
        },
        {
            "start": 1399217434,
            "stop": 1399223115
        },
        {
            "start": 1399233962,
            "stop": 1399242429
        }
    ]
}