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=1988
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=1989",
    "previous": "https://gwosc.org/api/v2/runs/O3a/timelines/H1_BURST_CAT2/segments?format=api&page=1987",
    "results_count": 40052,
    "results_per_page": 20,
    "num_pages": 2003,
    "page_number": 1988,
    "results": [
        {
            "start": 1253655336,
            "stop": 1253655572
        },
        {
            "start": 1253655574,
            "stop": 1253655826
        },
        {
            "start": 1253655829,
            "stop": 1253655843
        },
        {
            "start": 1253655846,
            "stop": 1253655848
        },
        {
            "start": 1253655851,
            "stop": 1253655865
        },
        {
            "start": 1253655871,
            "stop": 1253656088
        },
        {
            "start": 1253656091,
            "stop": 1253656107
        },
        {
            "start": 1253656110,
            "stop": 1253656167
        },
        {
            "start": 1253656170,
            "stop": 1253656180
        },
        {
            "start": 1253656183,
            "stop": 1253656202
        },
        {
            "start": 1253656204,
            "stop": 1253656219
        },
        {
            "start": 1253656222,
            "stop": 1253656238
        },
        {
            "start": 1253656241,
            "stop": 1253656245
        },
        {
            "start": 1253656248,
            "stop": 1253656249
        },
        {
            "start": 1253656252,
            "stop": 1253656256
        },
        {
            "start": 1253656259,
            "stop": 1253656263
        },
        {
            "start": 1253656265,
            "stop": 1253656376
        },
        {
            "start": 1253656385,
            "stop": 1253656389
        },
        {
            "start": 1253656395,
            "stop": 1253656436
        },
        {
            "start": 1253656437,
            "stop": 1253656521
        }
    ]
}