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

{
    "next": "https://gwosc.org/api/v2/runs/O2/timelines/H1_CBC_CAT3/segments?format=api&page=146",
    "previous": "https://gwosc.org/api/v2/runs/O2/timelines/H1_CBC_CAT3/segments?format=api&page=144",
    "results_count": 8301,
    "results_per_page": 20,
    "num_pages": 416,
    "page_number": 145,
    "results": [
        {
            "start": 1176726151,
            "stop": 1176726152
        },
        {
            "start": 1176726156,
            "stop": 1176726160
        },
        {
            "start": 1176726163,
            "stop": 1176726169
        },
        {
            "start": 1176726172,
            "stop": 1176726204
        },
        {
            "start": 1176726205,
            "stop": 1176726217
        },
        {
            "start": 1176726218,
            "stop": 1176726245
        },
        {
            "start": 1176726246,
            "stop": 1176726247
        },
        {
            "start": 1176726248,
            "stop": 1176726271
        },
        {
            "start": 1176726272,
            "stop": 1176726275
        },
        {
            "start": 1176726277,
            "stop": 1176726302
        },
        {
            "start": 1176726303,
            "stop": 1176726308
        },
        {
            "start": 1176726309,
            "stop": 1176726311
        },
        {
            "start": 1176726316,
            "stop": 1176726645
        },
        {
            "start": 1176726652,
            "stop": 1176726653
        },
        {
            "start": 1176726654,
            "stop": 1176726666
        },
        {
            "start": 1176726668,
            "stop": 1176726904
        },
        {
            "start": 1176726910,
            "stop": 1176726964
        },
        {
            "start": 1176726970,
            "stop": 1176726975
        },
        {
            "start": 1176726976,
            "stop": 1176726977
        },
        {
            "start": 1176726978,
            "stop": 1176726980
        }
    ]
}