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

{
    "next": "https://gwosc.org/api/v2/runs/S5/timelines/L1_DATA/segments?format=api&page=260",
    "previous": "https://gwosc.org/api/v2/runs/S5/timelines/L1_DATA/segments?format=api&page=258",
    "results_count": 6293,
    "results_per_page": 20,
    "num_pages": 315,
    "page_number": 259,
    "results": [
        {
            "start": 862931313,
            "stop": 862936030
        },
        {
            "start": 862936216,
            "stop": 862937659
        },
        {
            "start": 862937756,
            "stop": 862940689
        },
        {
            "start": 862942209,
            "stop": 862943128
        },
        {
            "start": 862944384,
            "stop": 862945786
        },
        {
            "start": 862953004,
            "stop": 862958477
        },
        {
            "start": 862958985,
            "stop": 862988128
        },
        {
            "start": 862989292,
            "stop": 862990738
        },
        {
            "start": 862990912,
            "stop": 863012611
        },
        {
            "start": 863013687,
            "stop": 863016371
        },
        {
            "start": 863016455,
            "stop": 863020847
        },
        {
            "start": 863020952,
            "stop": 863031113
        },
        {
            "start": 863033581,
            "stop": 863075918
        },
        {
            "start": 863077464,
            "stop": 863094717
        },
        {
            "start": 863095103,
            "stop": 863096248
        },
        {
            "start": 863097043,
            "stop": 863101766
        },
        {
            "start": 863101929,
            "stop": 863123883
        },
        {
            "start": 863125029,
            "stop": 863126450
        },
        {
            "start": 863126802,
            "stop": 863145454
        },
        {
            "start": 863145520,
            "stop": 863161110
        }
    ]
}