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=1997
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=1998",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1996",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1997,
    "results": [
        {
            "start": 1253762613,
            "stop": 1253762617
        },
        {
            "start": 1253762618,
            "stop": 1253765277
        },
        {
            "start": 1253765280,
            "stop": 1253765285
        },
        {
            "start": 1253765288,
            "stop": 1253765452
        },
        {
            "start": 1253765453,
            "stop": 1253767122
        },
        {
            "start": 1253767123,
            "stop": 1253767212
        },
        {
            "start": 1253767215,
            "stop": 1253767284
        },
        {
            "start": 1253767287,
            "stop": 1253767847
        },
        {
            "start": 1253767850,
            "stop": 1253770893
        },
        {
            "start": 1253770895,
            "stop": 1253771628
        },
        {
            "start": 1253771631,
            "stop": 1253772099
        },
        {
            "start": 1253772100,
            "stop": 1253773387
        },
        {
            "start": 1253773388,
            "stop": 1253775064
        },
        {
            "start": 1253775066,
            "stop": 1253775140
        },
        {
            "start": 1253775143,
            "stop": 1253775534
        },
        {
            "start": 1253775536,
            "stop": 1253775638
        },
        {
            "start": 1253775641,
            "stop": 1253775693
        },
        {
            "start": 1253775695,
            "stop": 1253776166
        },
        {
            "start": 1253776169,
            "stop": 1253776184
        },
        {
            "start": 1253776187,
            "stop": 1253776432
        }
    ]
}