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=1978
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=1979",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1977",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1978,
    "results": [
        {
            "start": 1253422892,
            "stop": 1253423539
        },
        {
            "start": 1253423541,
            "stop": 1253423624
        },
        {
            "start": 1253423627,
            "stop": 1253423640
        },
        {
            "start": 1253423643,
            "stop": 1253423649
        },
        {
            "start": 1253423652,
            "stop": 1253423677
        },
        {
            "start": 1253423683,
            "stop": 1253423684
        },
        {
            "start": 1253423687,
            "stop": 1253423695
        },
        {
            "start": 1253423698,
            "stop": 1253423711
        },
        {
            "start": 1253423714,
            "stop": 1253423728
        },
        {
            "start": 1253423731,
            "stop": 1253423736
        },
        {
            "start": 1253423739,
            "stop": 1253423746
        },
        {
            "start": 1253423749,
            "stop": 1253423763
        },
        {
            "start": 1253423766,
            "stop": 1253423780
        },
        {
            "start": 1253423783,
            "stop": 1253423788
        },
        {
            "start": 1253423791,
            "stop": 1253423797
        },
        {
            "start": 1253423800,
            "stop": 1253423813
        },
        {
            "start": 1253423816,
            "stop": 1253423822
        },
        {
            "start": 1253423825,
            "stop": 1253423846
        },
        {
            "start": 1253423849,
            "stop": 1253423863
        },
        {
            "start": 1253423866,
            "stop": 1253423879
        }
    ]
}