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

{
    "next": "https://gwosc.org/api/v2/runs/O4b/timelines/H1_STOCH_CAT1/segments?format=api&page=2",
    "previous": null,
    "results_count": 956,
    "results_per_page": 20,
    "num_pages": 48,
    "page_number": 1,
    "results": [
        {
            "start": 1396417050,
            "stop": 1396439847
        },
        {
            "start": 1396445734,
            "stop": 1396450369
        },
        {
            "start": 1396453407,
            "stop": 1396463441
        },
        {
            "start": 1396465334,
            "stop": 1396493238
        },
        {
            "start": 1396497422,
            "stop": 1396520415
        },
        {
            "start": 1396520629,
            "stop": 1396522182
        },
        {
            "start": 1396524953,
            "stop": 1396531261
        },
        {
            "start": 1396533966,
            "stop": 1396547585
        },
        {
            "start": 1396551743,
            "stop": 1396625021
        },
        {
            "start": 1396652802,
            "stop": 1396671774
        },
        {
            "start": 1396672001,
            "stop": 1396685742
        },
        {
            "start": 1396689145,
            "stop": 1396697580
        },
        {
            "start": 1396739308,
            "stop": 1396740528
        },
        {
            "start": 1396740533,
            "stop": 1396744821
        },
        {
            "start": 1396757015,
            "stop": 1396768895
        },
        {
            "start": 1396776470,
            "stop": 1396789887
        },
        {
            "start": 1396797018,
            "stop": 1396813623
        },
        {
            "start": 1396817792,
            "stop": 1396829262
        },
        {
            "start": 1396829359,
            "stop": 1396879468
        },
        {
            "start": 1396892537,
            "stop": 1396928259
        }
    ]
}