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

{
    "next": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT3/segments?format=api&page=321",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT3/segments?format=api&page=319",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 320,
    "results": [
        {
            "start": 1131368014,
            "stop": 1131368030
        },
        {
            "start": 1131368031,
            "stop": 1131368035
        },
        {
            "start": 1131368036,
            "stop": 1131368167
        },
        {
            "start": 1131368168,
            "stop": 1131368173
        },
        {
            "start": 1131368174,
            "stop": 1131368189
        },
        {
            "start": 1131368190,
            "stop": 1131368264
        },
        {
            "start": 1131368265,
            "stop": 1131368328
        },
        {
            "start": 1131368329,
            "stop": 1131368347
        },
        {
            "start": 1131368348,
            "stop": 1131368352
        },
        {
            "start": 1131368353,
            "stop": 1131368359
        },
        {
            "start": 1131368360,
            "stop": 1131368448
        },
        {
            "start": 1131368449,
            "stop": 1131368459
        },
        {
            "start": 1131368460,
            "stop": 1131368476
        },
        {
            "start": 1131368477,
            "stop": 1131368478
        },
        {
            "start": 1131368479,
            "stop": 1131368562
        },
        {
            "start": 1131368564,
            "stop": 1131368731
        },
        {
            "start": 1131368732,
            "stop": 1131368770
        },
        {
            "start": 1131368771,
            "stop": 1131368857
        },
        {
            "start": 1131368858,
            "stop": 1131368873
        },
        {
            "start": 1131368874,
            "stop": 1131368916
        }
    ]
}