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/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1977
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "next": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1978",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1976",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1977,
    "results": [
        {
            "start": 1253420535,
            "stop": 1253420547
        },
        {
            "start": 1253420550,
            "stop": 1253420569
        },
        {
            "start": 1253420572,
            "stop": 1253420784
        },
        {
            "start": 1253420787,
            "stop": 1253420809
        },
        {
            "start": 1253420812,
            "stop": 1253420900
        },
        {
            "start": 1253420903,
            "stop": 1253420936
        },
        {
            "start": 1253420939,
            "stop": 1253420965
        },
        {
            "start": 1253420968,
            "stop": 1253420977
        },
        {
            "start": 1253420980,
            "stop": 1253420982
        },
        {
            "start": 1253420984,
            "stop": 1253421015
        },
        {
            "start": 1253421018,
            "stop": 1253421021
        },
        {
            "start": 1253421024,
            "stop": 1253421028
        },
        {
            "start": 1253421031,
            "stop": 1253421048
        },
        {
            "start": 1253421051,
            "stop": 1253421056
        },
        {
            "start": 1253421059,
            "stop": 1253421082
        },
        {
            "start": 1253421085,
            "stop": 1253421213
        },
        {
            "start": 1253421216,
            "stop": 1253421276
        },
        {
            "start": 1253421279,
            "stop": 1253421285
        },
        {
            "start": 1253421288,
            "stop": 1253421615
        },
        {
            "start": 1253421618,
            "stop": 1253422889
        }
    ]
}