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=1971
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=1972",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1970",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1971,
    "results": [
        {
            "start": 1253416034,
            "stop": 1253416055
        },
        {
            "start": 1253416058,
            "stop": 1253416173
        },
        {
            "start": 1253416176,
            "stop": 1253416436
        },
        {
            "start": 1253416439,
            "stop": 1253416519
        },
        {
            "start": 1253416522,
            "stop": 1253416592
        },
        {
            "start": 1253416595,
            "stop": 1253416674
        },
        {
            "start": 1253416677,
            "stop": 1253416700
        },
        {
            "start": 1253416703,
            "stop": 1253416759
        },
        {
            "start": 1253416762,
            "stop": 1253416768
        },
        {
            "start": 1253416771,
            "stop": 1253416774
        },
        {
            "start": 1253416777,
            "stop": 1253416868
        },
        {
            "start": 1253416871,
            "stop": 1253416872
        },
        {
            "start": 1253416875,
            "stop": 1253416879
        },
        {
            "start": 1253416882,
            "stop": 1253416888
        },
        {
            "start": 1253416891,
            "stop": 1253416915
        },
        {
            "start": 1253416918,
            "stop": 1253417014
        },
        {
            "start": 1253417017,
            "stop": 1253417163
        },
        {
            "start": 1253417166,
            "stop": 1253417171
        },
        {
            "start": 1253417174,
            "stop": 1253417182
        },
        {
            "start": 1253417185,
            "stop": 1253417256
        }
    ]
}