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=1023
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=1024",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1022",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1023,
    "results": [
        {
            "start": 1135053869,
            "stop": 1135053870
        },
        {
            "start": 1135053876,
            "stop": 1135053877
        },
        {
            "start": 1135053880,
            "stop": 1135053883
        },
        {
            "start": 1135053886,
            "stop": 1135053888
        },
        {
            "start": 1135053900,
            "stop": 1135053901
        },
        {
            "start": 1135053904,
            "stop": 1135053906
        },
        {
            "start": 1135053909,
            "stop": 1135053910
        },
        {
            "start": 1135053916,
            "stop": 1135053917
        },
        {
            "start": 1135053920,
            "stop": 1135053924
        },
        {
            "start": 1135053927,
            "stop": 1135053928
        },
        {
            "start": 1135053946,
            "stop": 1135053947
        },
        {
            "start": 1135053950,
            "stop": 1135053951
        },
        {
            "start": 1135053962,
            "stop": 1135053964
        },
        {
            "start": 1135053970,
            "stop": 1135053971
        },
        {
            "start": 1135053974,
            "stop": 1135053976
        },
        {
            "start": 1135053982,
            "stop": 1135053983
        },
        {
            "start": 1135053986,
            "stop": 1135053989
        },
        {
            "start": 1135053992,
            "stop": 1135053993
        },
        {
            "start": 1135053996,
            "stop": 1135054001
        },
        {
            "start": 1135054004,
            "stop": 1135054008
        }
    ]
}