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=1994
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=1995",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1993",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1994,
    "results": [
        {
            "start": 1253742082,
            "stop": 1253742083
        },
        {
            "start": 1253742086,
            "stop": 1253742549
        },
        {
            "start": 1253742552,
            "stop": 1253742726
        },
        {
            "start": 1253742729,
            "stop": 1253742903
        },
        {
            "start": 1253742906,
            "stop": 1253743112
        },
        {
            "start": 1253743115,
            "stop": 1253743532
        },
        {
            "start": 1253743535,
            "stop": 1253744351
        },
        {
            "start": 1253744354,
            "stop": 1253744355
        },
        {
            "start": 1253744356,
            "stop": 1253744436
        },
        {
            "start": 1253744439,
            "stop": 1253744576
        },
        {
            "start": 1253744579,
            "stop": 1253744615
        },
        {
            "start": 1253744618,
            "stop": 1253744657
        },
        {
            "start": 1253744658,
            "stop": 1253744751
        },
        {
            "start": 1253744753,
            "stop": 1253745236
        },
        {
            "start": 1253745239,
            "stop": 1253745397
        },
        {
            "start": 1253745400,
            "stop": 1253745632
        },
        {
            "start": 1253745635,
            "stop": 1253745637
        },
        {
            "start": 1253745640,
            "stop": 1253745820
        },
        {
            "start": 1253745821,
            "stop": 1253745925
        },
        {
            "start": 1253745927,
            "stop": 1253746080
        }
    ]
}