Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-9591

Tracker uses different API than other APIs

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.0
    • Fix Version/s: None
    • Component/s: API, Metadata
    • Labels:
      None
    • Rank:
      1|hzzbnj:

      Description

      The Tracker RESTful API uses a different set of parameters to specify time ranges than the other CDAP APIs. It would be better if it was consistent with the metrics API instead of being different.

      Tracker uses:

      [?startTime=<time>][&endTime=<time>][&offset=<offset>][&limit=<limit>]

      whereas metrics (http://docs.cask.co/cdap/3.4.0-SNAPSHOT/en/reference-manual/http-restful-api/metrics.html#http-restful-api-metrics-time-range) uses

      start=<time>&end=<time>

      You could make the case that actually metrics is at odds, as the return values are labeled startTime and endTime, even for metrics.

        Attachments

          Activity

            People

            • Assignee:
              nitin Nitin Motgi
              Reporter:
              John John Jackson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: