Return the segments for a given timeline across all runs.

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

{
    "next": null,
    "previous": "https://gwosc.org/api/v2/timelines/H1_DATA/segments?format=api&page=472",
    "results_count": 9446,
    "results_per_page": 20,
    "num_pages": 473,
    "page_number": 473,
    "results": [
        {
            "start": 1412722688,
            "stop": 1412726784
        },
        {
            "start": 1415274496,
            "stop": 1415278592
        },
        {
            "start": 1420877824,
            "stop": 1420879109
        },
        {
            "start": 1422964617,
            "stop": 1422964626
        },
        {
            "start": 1422964936,
            "stop": 1422965546
        },
        {
            "start": 1422965909,
            "stop": 1422966784
        }
    ]
}