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_DETCHAR_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_DETCHAR_HW_INJ/segments?format=api&page=2",
    "previous": null,
    "results_count": 43,
    "results_per_page": 20,
    "num_pages": 3,
    "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": 1135352097
        },
        {
            "start": 1135352098,
            "stop": 1136912168
        },
        {
            "start": 1136912169,
            "stop": 1136912171
        },
        {
            "start": 1136912172,
            "stop": 1136912174
        },
        {
            "start": 1136912175,
            "stop": 1136912177
        },
        {
            "start": 1136912178,
            "stop": 1136912180
        },
        {
            "start": 1136912181,
            "stop": 1136912183
        },
        {
            "start": 1136912184,
            "stop": 1136912186
        },
        {
            "start": 1136912187,
            "stop": 1136912189
        },
        {
            "start": 1136912190,
            "stop": 1136912192
        },
        {
            "start": 1136912193,
            "stop": 1136912195
        },
        {
            "start": 1136912196,
            "stop": 1136912198
        },
        {
            "start": 1136912199,
            "stop": 1136912201
        },
        {
            "start": 1136912202,
            "stop": 1136912204
        },
        {
            "start": 1136912205,
            "stop": 1136912207
        }
    ]
}