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=1990
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=1991",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1989",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1990,
    "results": [
        {
            "start": 1253660233,
            "stop": 1253660436
        },
        {
            "start": 1253660439,
            "stop": 1253660563
        },
        {
            "start": 1253660565,
            "stop": 1253660706
        },
        {
            "start": 1253660709,
            "stop": 1253660773
        },
        {
            "start": 1253660775,
            "stop": 1253660884
        },
        {
            "start": 1253660886,
            "stop": 1253661682
        },
        {
            "start": 1253661685,
            "stop": 1253662037
        },
        {
            "start": 1253662040,
            "stop": 1253664404
        },
        {
            "start": 1253664407,
            "stop": 1253665479
        },
        {
            "start": 1253665481,
            "stop": 1253665490
        },
        {
            "start": 1253665491,
            "stop": 1253665496
        },
        {
            "start": 1253665499,
            "stop": 1253665506
        },
        {
            "start": 1253665509,
            "stop": 1253665514
        },
        {
            "start": 1253665517,
            "stop": 1253665521
        },
        {
            "start": 1253665524,
            "stop": 1253665529
        },
        {
            "start": 1253665532,
            "stop": 1253665535
        },
        {
            "start": 1253665538,
            "stop": 1253665548
        },
        {
            "start": 1253665551,
            "stop": 1253665572
        },
        {
            "start": 1253665576,
            "stop": 1253665645
        },
        {
            "start": 1253665647,
            "stop": 1253665765
        }
    ]
}