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

{
    "next": "https://gwosc.org/api/v2/runs/O2/timelines/H1_CBC_CAT3/segments?format=api&page=300",
    "previous": "https://gwosc.org/api/v2/runs/O2/timelines/H1_CBC_CAT3/segments?format=api&page=298",
    "results_count": 8301,
    "results_per_page": 20,
    "num_pages": 416,
    "page_number": 299,
    "results": [
        {
            "start": 1181385739,
            "stop": 1181385740
        },
        {
            "start": 1181385741,
            "stop": 1181385744
        },
        {
            "start": 1181385750,
            "stop": 1181385753
        },
        {
            "start": 1181385756,
            "stop": 1181385759
        },
        {
            "start": 1181385761,
            "stop": 1181385762
        },
        {
            "start": 1181385764,
            "stop": 1181385766
        },
        {
            "start": 1181385767,
            "stop": 1181385769
        },
        {
            "start": 1181385770,
            "stop": 1181385772
        },
        {
            "start": 1181385773,
            "stop": 1181385775
        },
        {
            "start": 1181385776,
            "stop": 1181385784
        },
        {
            "start": 1181385785,
            "stop": 1181385837
        },
        {
            "start": 1181385838,
            "stop": 1181385840
        },
        {
            "start": 1181385841,
            "stop": 1181385842
        },
        {
            "start": 1181385843,
            "stop": 1181385959
        },
        {
            "start": 1181385963,
            "stop": 1181385967
        },
        {
            "start": 1181385970,
            "stop": 1181385972
        },
        {
            "start": 1181385973,
            "stop": 1181385977
        },
        {
            "start": 1181385978,
            "stop": 1181385979
        },
        {
            "start": 1181385980,
            "stop": 1181385982
        },
        {
            "start": 1181385983,
            "stop": 1181385984
        }
    ]
}