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=1122
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=1123",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1121",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1122,
    "results": [
        {
            "start": 1136438234,
            "stop": 1136438249
        },
        {
            "start": 1136438252,
            "stop": 1136438255
        },
        {
            "start": 1136438258,
            "stop": 1136438270
        },
        {
            "start": 1136438273,
            "stop": 1136438280
        },
        {
            "start": 1136438284,
            "stop": 1136438290
        },
        {
            "start": 1136438293,
            "stop": 1136438301
        },
        {
            "start": 1136438304,
            "stop": 1136438323
        },
        {
            "start": 1136438326,
            "stop": 1136438338
        },
        {
            "start": 1136438341,
            "stop": 1136438353
        },
        {
            "start": 1136438362,
            "stop": 1136438368
        },
        {
            "start": 1136438371,
            "stop": 1136438379
        },
        {
            "start": 1136438382,
            "stop": 1136438388
        },
        {
            "start": 1136438391,
            "stop": 1136438397
        },
        {
            "start": 1136438400,
            "stop": 1136438413
        },
        {
            "start": 1136438417,
            "stop": 1136438418
        },
        {
            "start": 1136438422,
            "stop": 1136438432
        },
        {
            "start": 1136438435,
            "stop": 1136438449
        },
        {
            "start": 1136438452,
            "stop": 1136438464
        },
        {
            "start": 1136438467,
            "stop": 1136438498
        },
        {
            "start": 1136438501,
            "stop": 1136438509
        }
    ]
}