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=1989
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=1990",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1988",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1989,
    "results": [
        {
            "start": 1253656524,
            "stop": 1253656525
        },
        {
            "start": 1253656528,
            "stop": 1253656789
        },
        {
            "start": 1253656792,
            "stop": 1253656905
        },
        {
            "start": 1253656908,
            "stop": 1253656939
        },
        {
            "start": 1253656942,
            "stop": 1253657119
        },
        {
            "start": 1253657122,
            "stop": 1253657128
        },
        {
            "start": 1253657131,
            "stop": 1253657288
        },
        {
            "start": 1253657291,
            "stop": 1253657307
        },
        {
            "start": 1253657310,
            "stop": 1253657443
        },
        {
            "start": 1253657446,
            "stop": 1253657518
        },
        {
            "start": 1253657521,
            "stop": 1253657752
        },
        {
            "start": 1253657755,
            "stop": 1253657900
        },
        {
            "start": 1253657903,
            "stop": 1253658189
        },
        {
            "start": 1253658191,
            "stop": 1253658206
        },
        {
            "start": 1253658209,
            "stop": 1253658823
        },
        {
            "start": 1253658826,
            "stop": 1253659122
        },
        {
            "start": 1253659125,
            "stop": 1253659129
        },
        {
            "start": 1253659132,
            "stop": 1253659530
        },
        {
            "start": 1253659533,
            "stop": 1253659853
        },
        {
            "start": 1253659855,
            "stop": 1253660231
        }
    ]
}