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=1005
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=1006",
    "previous": "https://gwosc.org/api/v2/runs/O1/timelines/H1_CBC_CAT2/segments?format=api&page=1004",
    "results_count": 23226,
    "results_per_page": 20,
    "num_pages": 1162,
    "page_number": 1005,
    "results": [
        {
            "start": 1135049677,
            "stop": 1135049680
        },
        {
            "start": 1135049683,
            "stop": 1135049684
        },
        {
            "start": 1135049687,
            "stop": 1135049688
        },
        {
            "start": 1135049691,
            "stop": 1135049693
        },
        {
            "start": 1135049696,
            "stop": 1135049702
        },
        {
            "start": 1135049708,
            "stop": 1135049718
        },
        {
            "start": 1135049722,
            "stop": 1135049723
        },
        {
            "start": 1135049726,
            "stop": 1135049728
        },
        {
            "start": 1135049738,
            "stop": 1135049739
        },
        {
            "start": 1135049742,
            "stop": 1135049744
        },
        {
            "start": 1135049747,
            "stop": 1135049749
        },
        {
            "start": 1135049755,
            "stop": 1135049759
        },
        {
            "start": 1135049762,
            "stop": 1135049763
        },
        {
            "start": 1135049766,
            "stop": 1135049773
        },
        {
            "start": 1135049779,
            "stop": 1135049795
        },
        {
            "start": 1135049798,
            "stop": 1135049800
        },
        {
            "start": 1135049803,
            "stop": 1135049806
        },
        {
            "start": 1135049809,
            "stop": 1135049814
        },
        {
            "start": 1135049820,
            "stop": 1135049821
        },
        {
            "start": 1135049824,
            "stop": 1135049830
        }
    ]
}