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=1029
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=1030",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1028",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1029,
    "results": [
        {
            "start": 1135054796,
            "stop": 1135054799
        },
        {
            "start": 1135054802,
            "stop": 1135054822
        },
        {
            "start": 1135054825,
            "stop": 1135054833
        },
        {
            "start": 1135054836,
            "stop": 1135054839
        },
        {
            "start": 1135054842,
            "stop": 1135054849
        },
        {
            "start": 1135054852,
            "stop": 1135054853
        },
        {
            "start": 1135054856,
            "stop": 1135054858
        },
        {
            "start": 1135054861,
            "stop": 1135054872
        },
        {
            "start": 1135054875,
            "stop": 1135054881
        },
        {
            "start": 1135054884,
            "stop": 1135054889
        },
        {
            "start": 1135054892,
            "stop": 1135054896
        },
        {
            "start": 1135054899,
            "stop": 1135054902
        },
        {
            "start": 1135054905,
            "stop": 1135054907
        },
        {
            "start": 1135054910,
            "stop": 1135054911
        },
        {
            "start": 1135054914,
            "stop": 1135054916
        },
        {
            "start": 1135054919,
            "stop": 1135054920
        },
        {
            "start": 1135054923,
            "stop": 1135054924
        },
        {
            "start": 1135054927,
            "stop": 1135054930
        },
        {
            "start": 1135054933,
            "stop": 1135054937
        },
        {
            "start": 1135054940,
            "stop": 1135054943
        }
    ]
}