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=1130
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=1131",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1129",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1130,
    "results": [
        {
            "start": 1136457189,
            "stop": 1136457193
        },
        {
            "start": 1136457196,
            "stop": 1136457211
        },
        {
            "start": 1136457214,
            "stop": 1136457218
        },
        {
            "start": 1136457221,
            "stop": 1136457226
        },
        {
            "start": 1136457229,
            "stop": 1136457248
        },
        {
            "start": 1136457251,
            "stop": 1136457254
        },
        {
            "start": 1136457257,
            "stop": 1136457258
        },
        {
            "start": 1136457261,
            "stop": 1136457263
        },
        {
            "start": 1136457266,
            "stop": 1136457279
        },
        {
            "start": 1136457282,
            "stop": 1136457298
        },
        {
            "start": 1136457301,
            "stop": 1136457312
        },
        {
            "start": 1136457315,
            "stop": 1136457322
        },
        {
            "start": 1136457325,
            "stop": 1136457333
        },
        {
            "start": 1136457336,
            "stop": 1136457342
        },
        {
            "start": 1136457345,
            "stop": 1136457350
        },
        {
            "start": 1136457354,
            "stop": 1136457367
        },
        {
            "start": 1136457371,
            "stop": 1136457397
        },
        {
            "start": 1136457400,
            "stop": 1136457401
        },
        {
            "start": 1136457404,
            "stop": 1136457413
        },
        {
            "start": 1136457416,
            "stop": 1136457442
        }
    ]
}