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

{
    "next": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1091",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1089",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1090,
    "results": [
        {
            "start": 1136403542,
            "stop": 1136403546
        },
        {
            "start": 1136403549,
            "stop": 1136403551
        },
        {
            "start": 1136403554,
            "stop": 1136403555
        },
        {
            "start": 1136403558,
            "stop": 1136403560
        },
        {
            "start": 1136403563,
            "stop": 1136403567
        },
        {
            "start": 1136403570,
            "stop": 1136403574
        },
        {
            "start": 1136403577,
            "stop": 1136403579
        },
        {
            "start": 1136403582,
            "stop": 1136403584
        },
        {
            "start": 1136403587,
            "stop": 1136403590
        },
        {
            "start": 1136403593,
            "stop": 1136403594
        },
        {
            "start": 1136403600,
            "stop": 1136403601
        },
        {
            "start": 1136403610,
            "stop": 1136403611
        },
        {
            "start": 1136403614,
            "stop": 1136403615
        },
        {
            "start": 1136403621,
            "stop": 1136403622
        },
        {
            "start": 1136403631,
            "stop": 1136403645
        },
        {
            "start": 1136403648,
            "stop": 1136403649
        },
        {
            "start": 1136403652,
            "stop": 1136403653
        },
        {
            "start": 1136403656,
            "stop": 1136403657
        },
        {
            "start": 1136403660,
            "stop": 1136403664
        },
        {
            "start": 1136403667,
            "stop": 1136403668
        }
    ]
}