Return the segments for a given timeline for an event version.

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/event-versions/151012.2-v1/timelines/H1_NO_CBC_HW_INJ/segments?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "next": null,
    "previous": null,
    "results_count": 9,
    "results_per_page": 20,
    "num_pages": 1,
    "page_number": 1,
    "results": [
        {
            "start": 1128664615,
            "stop": 1128666022
        },
        {
            "start": 1128666024,
            "stop": 1128666382
        },
        {
            "start": 1128666384,
            "stop": 1128666742
        },
        {
            "start": 1128666744,
            "stop": 1128667102
        },
        {
            "start": 1128667104,
            "stop": 1128667462
        },
        {
            "start": 1128667464,
            "stop": 1128667822
        },
        {
            "start": 1128667824,
            "stop": 1128668182
        },
        {
            "start": 1128668184,
            "stop": 1128668542
        },
        {
            "start": 1128668544,
            "stop": 1128668711
        }
    ]
}