Uploaded image for project: 'Atlas Module'
  1. Atlas Module
  2. ATLAS-206

Add basic reporting resource to API

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      We want to support basic reports on Atlas data. Our approach will be to expose reporting data through report resources, which can be used by client-side javascript to render pretty reports using tools (e.g., plotly). We'll expose report resources at /api/report/* – e.g., /api/report/foo would return JSON data for the foo report.

      For this ticket, we want to implement an API endpoint to get data for a basic report about data payloads (which, per ATLAS-205, should be exposed directly by the API).

      /api/report/modules
      Return counts of number of sites reporting use of a module.

      [
        {
          "module": "foo",
          "versions": {
            "1.0.0": 7,
            "1.2": 5,
            "2.0": 17
          }
      ]
      

        Attachments

          Activity

            People

            Assignee:
            heliostrike Sai Sandeep Mutyala
            Reporter:
            burke Burke Mamlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: