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=1952
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=1953",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1951",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1952,
    "results": [
        {
            "start": 1252946766,
            "stop": 1252947434
        },
        {
            "start": 1252947437,
            "stop": 1252948804
        },
        {
            "start": 1252948807,
            "stop": 1252949508
        },
        {
            "start": 1252949511,
            "stop": 1252950235
        },
        {
            "start": 1252950236,
            "stop": 1252955562
        },
        {
            "start": 1252955565,
            "stop": 1252955606
        },
        {
            "start": 1252955609,
            "stop": 1252955613
        },
        {
            "start": 1252955616,
            "stop": 1252955621
        },
        {
            "start": 1252955624,
            "stop": 1252961395
        },
        {
            "start": 1252961398,
            "stop": 1252961432
        },
        {
            "start": 1252961434,
            "stop": 1252961614
        },
        {
            "start": 1252961617,
            "stop": 1252961624
        },
        {
            "start": 1252961626,
            "stop": 1252961629
        },
        {
            "start": 1252961632,
            "stop": 1252961638
        },
        {
            "start": 1252961641,
            "stop": 1252962470
        },
        {
            "start": 1252962473,
            "stop": 1252963907
        },
        {
            "start": 1252963910,
            "stop": 1252963962
        },
        {
            "start": 1252963965,
            "stop": 1252967845
        },
        {
            "start": 1252967853,
            "stop": 1252967941
        },
        {
            "start": 1252967944,
            "stop": 1252970115
        }
    ]
}