Return the segments for a given timeline for a run.

Query parameters:

  • start=<int>: Initial GPS time of the desired GPS interval.
  • stop=<int>: Final GPS time of the desired GPS interval.
  • compact: Return a list of segment [start, stop] list.
  • pagesize=<int>: Number of results to return per page.
GET /api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1013
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "next": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1014",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1012",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1013,
    "results": [
        {
            "start": 1135052232,
            "stop": 1135052236
        },
        {
            "start": 1135052239,
            "stop": 1135052269
        },
        {
            "start": 1135052272,
            "stop": 1135052290
        },
        {
            "start": 1135052293,
            "stop": 1135052310
        },
        {
            "start": 1135052313,
            "stop": 1135052334
        },
        {
            "start": 1135052337,
            "stop": 1135052361
        },
        {
            "start": 1135052364,
            "stop": 1135052373
        },
        {
            "start": 1135052376,
            "stop": 1135052384
        },
        {
            "start": 1135052387,
            "stop": 1135052394
        },
        {
            "start": 1135052397,
            "stop": 1135052399
        },
        {
            "start": 1135052402,
            "stop": 1135052409
        },
        {
            "start": 1135052412,
            "stop": 1135052421
        },
        {
            "start": 1135052424,
            "stop": 1135052431
        },
        {
            "start": 1135052434,
            "stop": 1135052440
        },
        {
            "start": 1135052443,
            "stop": 1135052449
        },
        {
            "start": 1135052452,
            "stop": 1135052462
        },
        {
            "start": 1135052465,
            "stop": 1135052471
        },
        {
            "start": 1135052474,
            "stop": 1135052481
        },
        {
            "start": 1135052488,
            "stop": 1135052489
        },
        {
            "start": 1135052495,
            "stop": 1135052499
        }
    ]
}