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/H1_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/H1_NO_DETCHAR_HW_INJ/segments?format=api&page=2",
    "previous": null,
    "results_count": 38,
    "results_per_page": 20,
    "num_pages": 2,
    "page_number": 1,
    "results": [
        {
            "start": 1126051217,
            "stop": 1129404545
        },
        {
            "start": 1129404546,
            "stop": 1136927267
        },
        {
            "start": 1136927268,
            "stop": 1136927270
        },
        {
            "start": 1136927271,
            "stop": 1136927273
        },
        {
            "start": 1136927274,
            "stop": 1136927276
        },
        {
            "start": 1136927277,
            "stop": 1136927279
        },
        {
            "start": 1136927280,
            "stop": 1136927282
        },
        {
            "start": 1136927283,
            "stop": 1136927285
        },
        {
            "start": 1136927286,
            "stop": 1136927288
        },
        {
            "start": 1136927289,
            "stop": 1136927291
        },
        {
            "start": 1136927292,
            "stop": 1136927294
        },
        {
            "start": 1136927295,
            "stop": 1136927297
        },
        {
            "start": 1136927298,
            "stop": 1136927300
        },
        {
            "start": 1136927301,
            "stop": 1136927303
        },
        {
            "start": 1136927304,
            "stop": 1136927306
        },
        {
            "start": 1136927307,
            "stop": 1136927309
        },
        {
            "start": 1136927310,
            "stop": 1136927312
        },
        {
            "start": 1136927313,
            "stop": 1136927315
        },
        {
            "start": 1136927316,
            "stop": 1136927318
        },
        {
            "start": 1136927319,
            "stop": 1136927321
        }
    ]
}