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/O4a/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/O4a/timelines/H1_NO_CW_HW_INJ/segments?format=api&page=2",
    "previous": null,
    "results_count": 68,
    "results_per_page": 20,
    "num_pages": 4,
    "page_number": 1,
    "results": [
        {
            "start": 1368195220,
            "stop": 1368288302
        },
        {
            "start": 1368288307,
            "stop": 1368295876
        },
        {
            "start": 1368299775,
            "stop": 1368308048
        },
        {
            "start": 1368381376,
            "stop": 1368381506
        },
        {
            "start": 1368382562,
            "stop": 1368382574
        },
        {
            "start": 1368382622,
            "stop": 1368382634
        },
        {
            "start": 1368383184,
            "stop": 1368383305
        },
        {
            "start": 1368827049,
            "stop": 1368827178
        },
        {
            "start": 1368829062,
            "stop": 1368829154
        },
        {
            "start": 1368830764,
            "stop": 1368830890
        },
        {
            "start": 1368845785,
            "stop": 1368845786
        },
        {
            "start": 1368845798,
            "stop": 1368845799
        },
        {
            "start": 1368845828,
            "stop": 1368845829
        },
        {
            "start": 1368845841,
            "stop": 1368845842
        },
        {
            "start": 1368845863,
            "stop": 1368845864
        },
        {
            "start": 1368845888,
            "stop": 1368845889
        },
        {
            "start": 1368845914,
            "stop": 1368845915
        },
        {
            "start": 1368845918,
            "stop": 1368845919
        },
        {
            "start": 1368845931,
            "stop": 1368845932
        },
        {
            "start": 1368846051,
            "stop": 1368846052
        }
    ]
}