Return the segments for a given timeline for a run.

Query parameters:

  • start=<int>: Initial GPS time of the desired GPS interval.
  • stop=<int>: Final GPS time of the desired GPS interval.
  • compact: Return a list of segment [start, stop] list.
  • pagesize=<int>: Number of results to return per page.
GET /api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1039
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=1040",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1038",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1039,
    "results": [
        {
            "start": 1135057184,
            "stop": 1135057185
        },
        {
            "start": 1135057188,
            "stop": 1135057189
        },
        {
            "start": 1135057198,
            "stop": 1135057199
        },
        {
            "start": 1135057202,
            "stop": 1135057210
        },
        {
            "start": 1135057213,
            "stop": 1135057219
        },
        {
            "start": 1135057226,
            "stop": 1135057232
        },
        {
            "start": 1135057235,
            "stop": 1135057238
        },
        {
            "start": 1135057244,
            "stop": 1135057248
        },
        {
            "start": 1135057251,
            "stop": 1135057253
        },
        {
            "start": 1135057256,
            "stop": 1135057259
        },
        {
            "start": 1135057263,
            "stop": 1135057274
        },
        {
            "start": 1135057277,
            "stop": 1135057279
        },
        {
            "start": 1135057282,
            "stop": 1135057283
        },
        {
            "start": 1135057288,
            "stop": 1135057292
        },
        {
            "start": 1135057295,
            "stop": 1135057296
        },
        {
            "start": 1135057305,
            "stop": 1135057310
        },
        {
            "start": 1135057339,
            "stop": 1135057340
        },
        {
            "start": 1135057380,
            "stop": 1135057381
        },
        {
            "start": 1135057387,
            "stop": 1135057388
        },
        {
            "start": 1135057397,
            "stop": 1135057399
        }
    ]
}