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/O3b/timelines/H1_NO_CW_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/O3b/timelines/H1_NO_CW_HW_INJ/segments?format=api&page=2",
    "previous": null,
    "results_count": 31,
    "results_per_page": 20,
    "num_pages": 2,
    "page_number": 1,
    "results": [
        {
            "start": 1257010761,
            "stop": 1257012421
        },
        {
            "start": 1257019665,
            "stop": 1257019703
        },
        {
            "start": 1257618950,
            "stop": 1257619016
        },
        {
            "start": 1258219581,
            "stop": 1258219598
        },
        {
            "start": 1258219604,
            "stop": 1258227471
        },
        {
            "start": 1258835816,
            "stop": 1258835914
        },
        {
            "start": 1258945886,
            "stop": 1258945898
        },
        {
            "start": 1260033434,
            "stop": 1260033435
        },
        {
            "start": 1260132460,
            "stop": 1260132535
        },
        {
            "start": 1260636230,
            "stop": 1260639836
        },
        {
            "start": 1260644679,
            "stop": 1260644751
        },
        {
            "start": 1260645328,
            "stop": 1260645830
        },
        {
            "start": 1260703284,
            "stop": 1260703670
        },
        {
            "start": 1261828650,
            "stop": 1261831721
        },
        {
            "start": 1261831722,
            "stop": 1261831937
        },
        {
            "start": 1263060510,
            "stop": 1263060638
        },
        {
            "start": 1263662273,
            "stop": 1263665573
        },
        {
            "start": 1263669408,
            "stop": 1263669557
        },
        {
            "start": 1264278313,
            "stop": 1264278381
        },
        {
            "start": 1264951104,
            "stop": 1264951491
        }
    ]
}