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=1987
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=1988",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1986",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1987,
    "results": [
        {
            "start": 1253625388,
            "stop": 1253626092
        },
        {
            "start": 1253626095,
            "stop": 1253626426
        },
        {
            "start": 1253626428,
            "stop": 1253627348
        },
        {
            "start": 1253627351,
            "stop": 1253627800
        },
        {
            "start": 1253627803,
            "stop": 1253628267
        },
        {
            "start": 1253628270,
            "stop": 1253629720
        },
        {
            "start": 1253629723,
            "stop": 1253630015
        },
        {
            "start": 1253630018,
            "stop": 1253631821
        },
        {
            "start": 1253631824,
            "stop": 1253632741
        },
        {
            "start": 1253632743,
            "stop": 1253635705
        },
        {
            "start": 1253635708,
            "stop": 1253637371
        },
        {
            "start": 1253637372,
            "stop": 1253640044
        },
        {
            "start": 1253640052,
            "stop": 1253641056
        },
        {
            "start": 1253641059,
            "stop": 1253641724
        },
        {
            "start": 1253641726,
            "stop": 1253644761
        },
        {
            "start": 1253644764,
            "stop": 1253645936
        },
        {
            "start": 1253651815,
            "stop": 1253653437
        },
        {
            "start": 1253653445,
            "stop": 1253654593
        },
        {
            "start": 1253654594,
            "stop": 1253655326
        },
        {
            "start": 1253655329,
            "stop": 1253655333
        }
    ]
}