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=1131
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=1132",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1130",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1131,
    "results": [
        {
            "start": 1136457448,
            "stop": 1136457457
        },
        {
            "start": 1136457460,
            "stop": 1136457461
        },
        {
            "start": 1136457464,
            "stop": 1136457471
        },
        {
            "start": 1136457474,
            "stop": 1136457495
        },
        {
            "start": 1136457498,
            "stop": 1136457510
        },
        {
            "start": 1136457513,
            "stop": 1136457521
        },
        {
            "start": 1136457524,
            "stop": 1136457529
        },
        {
            "start": 1136457532,
            "stop": 1136457535
        },
        {
            "start": 1136457538,
            "stop": 1136457545
        },
        {
            "start": 1136457548,
            "stop": 1136457558
        },
        {
            "start": 1136457561,
            "stop": 1136457574
        },
        {
            "start": 1136457578,
            "stop": 1136457579
        },
        {
            "start": 1136457582,
            "stop": 1136457584
        },
        {
            "start": 1136457587,
            "stop": 1136457606
        },
        {
            "start": 1136457609,
            "stop": 1136457613
        },
        {
            "start": 1136457616,
            "stop": 1136457626
        },
        {
            "start": 1136457629,
            "stop": 1136457658
        },
        {
            "start": 1136457661,
            "stop": 1136457665
        },
        {
            "start": 1136457668,
            "stop": 1136457672
        },
        {
            "start": 1136457675,
            "stop": 1136457682
        }
    ]
}