Return the segments for a given timeline for a run.

Query parameters:

  • start: Initial GPS time of the desired GPS interval.
  • stop: Final GPS time of the desired GPS interval.
  • compact: Return a list of segment [start, stop] list.
GET /api/v2/runs/O1/timelines/L1_NO_BURST_HW_INJ/segments?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "next": "https://gwosc.org/api/v2/runs/O1/timelines/L1_NO_BURST_HW_INJ/segments?format=api&page=2",
    "previous": null,
    "results_count": 30,
    "results_per_page": 20,
    "num_pages": 2,
    "page_number": 1,
    "results": [
        {
            "start": 1126051217,
            "stop": 1129391753
        },
        {
            "start": 1129391754,
            "stop": 1129394153
        },
        {
            "start": 1129394154,
            "stop": 1129397697
        },
        {
            "start": 1129397698,
            "stop": 1131492488
        },
        {
            "start": 1131492489,
            "stop": 1131495269
        },
        {
            "start": 1131495270,
            "stop": 1134581196
        },
        {
            "start": 1134581198,
            "stop": 1135352097
        },
        {
            "start": 1135352098,
            "stop": 1136794217
        },
        {
            "start": 1136794294,
            "stop": 1136795417
        },
        {
            "start": 1136795494,
            "stop": 1136796617
        },
        {
            "start": 1136796694,
            "stop": 1136797817
        },
        {
            "start": 1136797894,
            "stop": 1136799017
        },
        {
            "start": 1136799094,
            "stop": 1136814617
        },
        {
            "start": 1136814694,
            "stop": 1136880017
        },
        {
            "start": 1136880094,
            "stop": 1136881217
        },
        {
            "start": 1136881294,
            "stop": 1136882417
        },
        {
            "start": 1136882494,
            "stop": 1136898017
        },
        {
            "start": 1136898094,
            "stop": 1136899217
        },
        {
            "start": 1136899294,
            "stop": 1136901617
        },
        {
            "start": 1136901694,
            "stop": 1136902817
        }
    ]
}