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

{
    "next": "https://gwosc.org/api/v2/runs/O2/timelines/H1_BURST_CAT2/segments?format=api&page=345",
    "previous": "https://gwosc.org/api/v2/runs/O2/timelines/H1_BURST_CAT2/segments?format=api&page=343",
    "results_count": 11548,
    "results_per_page": 20,
    "num_pages": 578,
    "page_number": 344,
    "results": [
        {
            "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
        },
        {
            "start": 1181385986,
            "stop": 1181385987
        },
        {
            "start": 1181385988,
            "stop": 1181385989
        },
        {
            "start": 1181385990,
            "stop": 1181385993
        },
        {
            "start": 1181385994,
            "stop": 1181385995
        },
        {
            "start": 1181385996,
            "stop": 1181385997
        }
    ]
}