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=1995
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=1996",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1994",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1995,
    "results": [
        {
            "start": 1253746088,
            "stop": 1253746371
        },
        {
            "start": 1253746372,
            "stop": 1253746544
        },
        {
            "start": 1253746547,
            "stop": 1253746552
        },
        {
            "start": 1253746555,
            "stop": 1253746612
        },
        {
            "start": 1253746613,
            "stop": 1253746916
        },
        {
            "start": 1253746919,
            "stop": 1253747140
        },
        {
            "start": 1253747141,
            "stop": 1253748598
        },
        {
            "start": 1253748599,
            "stop": 1253748709
        },
        {
            "start": 1253748712,
            "stop": 1253749522
        },
        {
            "start": 1253749523,
            "stop": 1253749524
        },
        {
            "start": 1253749525,
            "stop": 1253749745
        },
        {
            "start": 1253749748,
            "stop": 1253749780
        },
        {
            "start": 1253749781,
            "stop": 1253749783
        },
        {
            "start": 1253749784,
            "stop": 1253750405
        },
        {
            "start": 1253750406,
            "stop": 1253750514
        },
        {
            "start": 1253750517,
            "stop": 1253750597
        },
        {
            "start": 1253750600,
            "stop": 1253751529
        },
        {
            "start": 1253751532,
            "stop": 1253752837
        },
        {
            "start": 1253752841,
            "stop": 1253754219
        },
        {
            "start": 1253754222,
            "stop": 1253754467
        }
    ]
}