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/O4b/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/O4b/timelines/H1_NO_CW_HW_INJ/segments?format=api&page=2",
    "previous": null,
    "results_count": 30,
    "results_per_page": 20,
    "num_pages": 2,
    "page_number": 1,
    "results": [
        {
            "start": 1397921462,
            "stop": 1397928232
        },
        {
            "start": 1399130878,
            "stop": 1399132835
        },
        {
            "start": 1400800070,
            "stop": 1400800169
        },
        {
            "start": 1400946236,
            "stop": 1400954467
        },
        {
            "start": 1402172064,
            "stop": 1402172162
        },
        {
            "start": 1402172416,
            "stop": 1402172500
        },
        {
            "start": 1402758754,
            "stop": 1402762711
        },
        {
            "start": 1402764144,
            "stop": 1402764302
        },
        {
            "start": 1403369207,
            "stop": 1403386836
        },
        {
            "start": 1403970417,
            "stop": 1403976104
        },
        {
            "start": 1405367838,
            "stop": 1405374298
        },
        {
            "start": 1405984151,
            "stop": 1406311036
        },
        {
            "start": 1406311191,
            "stop": 1406311318
        },
        {
            "start": 1406393047,
            "stop": 1406398935
        },
        {
            "start": 1406437940,
            "stop": 1406437941
        },
        {
            "start": 1407599392,
            "stop": 1407604353
        },
        {
            "start": 1409420752,
            "stop": 1409420935
        },
        {
            "start": 1410195134,
            "stop": 1410195144
        },
        {
            "start": 1410195145,
            "stop": 1410195287
        },
        {
            "start": 1410198496,
            "stop": 1410198658
        }
    ]
}